<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Virtual Machine Management</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/m2/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/m2/feed.xml</link>
    <description>Managing Virtual &amp;amp; Physical Computers in the Datacenter and in the Cloud</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:45:57 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Fixing switch port leaks in VMM</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/fixing-switch-port-leaks-in-vmm</link>
      <pubDate>Mon, 16 May 2011 15:38:00 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/05/16/fixing-switch-port-leaks-in-vmm/</guid>
      <description><![CDATA[hi everyone, it has become apparent that VMM 2008 R2 has switch port leaks when performing...]]></description>
      <content:encoded><![CDATA[<p>hi everyone, it has become apparent that VMM 2008 R2 has switch port leaks when performing checkpointing operations through VMM (either through the PowerShell interface, through Visual Studio Lab Manager, through the self-service portal, or through the VMM Administrator Console)</p>
<p>This is a known issue that we will potentially address in an upcoming QFE. For now, there is a workaround that is detailed in this blog post. Alex from our team wrote the PowerShell script that resolves this issue.</p>
<p><span style="text-decoration: underline;"><strong>How to tell if you have switch port leaks:</strong></span></p>
<ol>
<li>You are managing Hyper-V using VMM</li>
<li>Calling the following cmdlet from PowerShell take more than 3 minutes to return: <span style="font-size: medium;"><strong>get-vmhost "&lt;host computer name FQDN&gt;" | refresh-vmhost???</strong></span></li>
<li>executing the following queries locally on the Hyper-V host from an elevated command prompt return more than a couple of hundred different&nbsp;objects. Running the same query command from <strong>wbemtest.exe </strong>connecting to <strong>root\virtualization</strong>&nbsp;as "<strong>select * from Msvm_hostedaccesspoint</strong>" for example will give you an instant count.<ol>
<li>??winrm enum wmi/root/virtualization/Msvm_hostedaccesspoint </li>
<li>??winrm enum wmi/root/virtualization/Msvm_resourceallocationsettingdata</li>
<li>??winrm enum wmi/root/virtualization/Msvm_networkelementsettingdata</li>
<li>winrm enum wmi/root/virtualization/Msvm_bindsto</li>
<span style="text-decoration: underline;">?</span></ol></li>
</ol>
<p><span style="text-decoration: underline;"><strong>How to fix the switch port leaks:</strong></span></p>
<ol>
<li>Run the attached powershell script locally on the Hyper-V host from an elevated powershell window. This command will return back data on the unused networking elements in Hyper-V that were potentially leaked by VMM<ol>
<li>DeleteUnusedHyper-VNetworkingComponents.ps1 &lt;hostname FQDN&gt; no</li>
</ol></li>
<li>If you are satisfied with the objects that will potentially be deleted, run the same cmdlet with the "yes" switch.<ol>
<li>DeleteUnusedHyper-VNetworkingComponents.ps1 &lt;hostname FQDN&gt; yes</li>
</ol></li>
<li>Run refresh-vmhost again in VMM a couple of times to observe the increase in speed</li>
<li>Create a scheduled task to execute this script against your Hyper-V hosts every couple of weeks.</li>
</ol>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/6396/00/00/03/42/95/94/DeleteUnusedHyper-VNetworkingComponents.ps1" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-6396-00-00-03-42-95-94/DeleteUnusedHyper_2D00_VNetworkingComponents.ps1">DeleteUnusedHyper-VNetworkingComponents.ps1</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Supporting SUSE 11 in VMM 2008 R2 (or SP1)</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/supporting-suse-11-in-vmm-2008-r2-or-sp1</link>
      <pubDate>Fri, 29 Apr 2011 14:38:00 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/04/29/supporting-suse-11-in-vmm-2008-r2-or-sp1/</guid>
      <description><![CDATA[if you are following Hyper-V, you know that they added support fo?r ?SUSE Linux Enterprise Server 11...]]></description>
      <content:encoded><![CDATA[<p>if you are following Hyper-V, you know that they added support fo?r ?SUSE Linux Enterprise Server 11 (32bit and 64bit). This is the webpage outlining this support: <a href="https://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx">https://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx</a></p>
<p>In order for VMM to take advantage of this new OS support in Hyper-V (and as long as you are using the supported version of Hyper-V for SUSE 11), you need to execute a Database script to update VMM.</p>
<p>&nbsp;</p>
<p>To make the process simple, follow the exact same steps as this blog post from me. <a href="https://blogs.technet.com/b/m2/archive/2010/04/16/getting-the-os-name-for-windows-2000-to-show-up-properly-in-the-vmm-administrator-console.aspx">https://blogs.technet.com/b/m2/archive/2010/04/16/getting-the-os-name-for-windows-2000-to-show-up-properly-in-the-vmm-administrator-console.aspx</a>&nbsp;However, instead of the DB scripts outlined in this blog post, run the two ones i mention below</p>
<p>&lt;&lt;&nbsp;</p>
<p>INSERT INTO tbl_IL_OS</p>
<p>(OSId, Name, Description, Edition, ProductType, Version, Architecture, OSFlags, VMWareGuestId) VALUES ('dd8570f2-00db-449f-aa97-9c189279eeb3', 'Suse Linux Enterprise Server 11 (64 bit)', 'Suse Linux Enterprise Server (64 bit)', NULL, NULL, NULL, 'amd64', 0x14, 'suse64Guest')</p>
<p>INSERT INTO tbl_IL_OS</p>
<p>(OSId, Name, Description, Edition, ProductType, Version, Architecture, OSFlags, VMWareGuestId) VALUES ('7a6b5e40-c2ae-4709-b789-1ed711817094', 'Suse Linux Enterprise Server 11 (32 bit)', 'Suse Linux Enterprise Server (32 bit)', NULL, NULL, NULL, 'x86' , 0x15, 'suseGuest')</p>
<p>&gt;&gt;&nbsp;</p>
<p>&nbsp;</p>
<p>???</p>]]></content:encoded>
    </item>
    <item>
      <title>The Experts Conference</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/the-experts-conference</link>
      <pubDate>Fri, 01 Apr 2011 10:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/04/01/the-experts-conference/</guid>
      <description><![CDATA[&nbsp;
&nbsp;
hi 
everyone, the experts conference (TEC) kicks off in 3 weeks in vegas....]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><span style="font-size: small;"><strong><span style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"></span></strong><span style="COLOR: black"><!--?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /--><o:p></o:p></span></span>&nbsp;</p>
<p style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><span style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"><span style="font-size: small;">hi 
everyone, the experts conference (TEC) kicks off in 3 weeks in vegas. 
</span></span></p>
<p style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><span style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"><span style="font-size: small;"></span></span>&nbsp;</p>
<p style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class="MsoNormal"><span style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"><span style="font-size: small;">I will 
be speaking there on VMM and MS virtualization technologies. The first ever TEC 
for Virtualization &amp; Cloud will be keynoted by Edwin Yuen, Director for 
Virtualization Strategy in the Server and Cloud Platform team at Microsoft. Join 
Edwin and other coworkers from the Microsoft technology leadership teams 
representing Active Directory, FIM, Exchange, SharePoint, PowerShell, and 
Virtualization &amp; Cloud at the Red Rock Resort in Las Vegas, April 17-20, 
2011!&nbsp; For more information, please visit: </span><a href="https://www.theexpertsconference.com/" target="_blank"><span style="color: #0000ff; font-size: small;">www.theexpertsconference.com</span></a><span style="font-size: small;">&nbsp;</span></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How to deploy the Pet Shop Application as a Service in VMM</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/how-to-deploy-the-pet-shop-application-as-a-service-in-vmm</link>
      <pubDate>Tue, 29 Mar 2011 08:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/03/29/how-to-deploy-the-pet-shop-application-as-a-service-in-vmm/</guid>
      <description><![CDATA[hi everyone, Maha Ibrahim from the VMM team prepared this great blog entry for how to deploy the Pet...]]></description>
      <content:encoded><![CDATA[<p>hi everyone, Maha Ibrahim from the VMM team prepared this great blog entry for how to deploy the Pet Shop 3-tier Application as a Service using VMM 2012 beta. I have attached this as a word document at the bottom of this post as well.</p>
<p>Please follow all the steps in this guide to successfully deploy Pet Shop. If you encounter any issues, post to the&nbsp;VMM forums and our team will help you fix them.&nbsp;</p>
<p><b>Setting Up the Fabric</b></p>
<h1>Hosts</h1>
<p>Add Hosts/Clusters, create the necessary host groups that will provide the compute resources for the Pet Shop Application.</p>
<h2>Networking</h2>
<ul>
<li>Create Logical Network 
<ul>
<li>Create Logical Network Definition 
<ul>
<li>Attach it to a host group</li>
</ul>
</li>
</ul>
</li>
<li>Associate Host Network Adapters with Logical Networks 
<ul>
<li>In the host properties, go to networking tab and find the Network Adapter for which the Virtual Network is created. </li>
<li>Then in Hardware tab for host properties, go to the Network Adapter and mark the checkbox to set the logical network connectivity. </li>
</ul>
</li>
</ul>
<h2>Library resources</h2>
<p>To create the Pet Shop Application in VMM, you need to first download the library building blocks for Pet Shop.</p>
<ul>
<li>Go to https://Connect.Microsoft.Com </li>
<li>Sign In using your Live ID</li>
<li>Click on 'Browse the full Product Directory'</li>
<li>Choose to Join the VMM 2012 Beta 
<ul>
<li>Product: System Center in the Datacenter and Cloud</li>
<li>Program: SCVMM 2012 Public Beta</li>
</ul>
</li>
<li>Once you visit the SC VMM 2012 Beta page, click on Downloads</li>
<li>Download the "PetShop Sample Resources" 
<ul>
<li>This resource package contains the VHDs, Scripts and Applications necessary to create the Pet Shop application as a Service in VMM</li>
</ul>
</li>
<li>Once you extract the contents of the self-extractor, copy all the contents of the top level PetShop folder to the library share you want to use</li>
<li>Refresh the library share that contains the Pet Shop resources you just copied</li>
</ul>
<p>In case of Highly Available VMM setup, the application frameworks for installing Server App-V and Web Deploy clients are not added to the library and will need to be copied manually from VMM 2012 installation directory to the library share, for instructions on how to configure the library resources for Highly Available VMM setup, please refer to <a href="https://go.microsoft.com/fwlink/?LinkId=213988">https://go.microsoft.com/fwlink/?LinkId=213988</a></p>
<h3>Set Web Application Package Encryption Password</h3>
<ul>
<li>Set the encryption password for the web app package <b>petshop-ws08-v1.zip</b> 
<ul>
<li>Password: <b>123</b></li>
</ul>
</li>
</ul>
<h1>Credential Management</h1>
<p>In Pet Shop Service template, Run As Profiles are needed for </p>
<ul>
<li>SQL Server service accounts needed in configuring SQL Instance install in the SQL profile</li>
<li>DAC instance installation in the Application Profile for the SQL tier 
<ul>
<li>1. Create a run as account for SQL Server Administrator: <b>SQLAdminRAA</b></li>
</ul>
</li>
</ul>
<p style="padding-left: 90px;">User: <b>sa</b></p>
<p style="padding-left: 90px;">Password: <b>Passw0rd</b></p>
<p style="padding-left: 90px;">Category: <b>Profile Account</b></p>
<ul>
<li>2. Create a run as profile <b>SQLAdminRAP</b> for the SQLAdminRAA 
<ul>
<li>o Add SQLAdminRAA for the host group scope</li>
<li>o For deploying to cloud, add the RAA for the cloud scope as well</li>
</ul>
</li>
<li>3. Create run as profile <b>NTSystemRAP</b><i></i> 
<ul>
<li>o Add the built in "<b>NT Authority\System</b>" RAA for the host group scope</li>
<li>o For deploying to cloud, add the RAA for the cloud scope as well</li>
</ul>
</li>
</ul>
<h1>Setting up the Cloud</h1>
<ul>
<li>This section is needed only if you want to deploy the service to cloud, skip if your deployment is targeted to host groups.</li>
<li>Create Cloud 
<ul>
<li>o Set the cloud name and host group</li>
<li>o Set a Read Only library path to the share where the Pet shop resources (VHDs/Application Packages/Scripts) are located</li>
<li>o Add the Hyper-V capability profile</li>
<li>o If the run as profiles were scoped to a particular host group when created, then set the RAA/RAP association for RAA/RAP from the cloud properties.</li>
</ul>
</li>
</ul>
<h1>Setting up the Self Service User Role</h1>
<ul>
<li>This section is needed only if you want to deploy to cloud as Self Service User, skip if you want to deploy as a Full Admin. </li>
<li>Create a Self Service user role 
<ul>
<li>o Profile: Self Service User</li>
<li>o Members: &lt;domain accounts designated for the role, i.e. Contoso\ServiceUser , etc.)</li>
<li>o Scope: select the cloud</li>
<li>o RunAsProfiles: add <b>SQLAdminRAP &amp; NTSystemRAP</b></li>
<li>o Actions: select all</li>
</ul>
</li>
</ul>
<p>After creating the user role, connect the Admin console using the desired user role.</p>
<h1>Service Creation and Deployment</h1>
<p>Pet shop service will be deployed from a service template that defines the&nbsp;profiles for hardware, guest OS, applications, and SQL.</p>
<h2>Step 1. Create a New Service Template</h2>
<ul>
<li>1. Library workspace -&gt; Home tab, click Create Service Template ribbon action.</li>
</ul>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/63/96/2337.vmmribbon.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-63-96/2337.vmmribbon.png" border="0" /></p>
<ul>
<li>2. Enter a name for the new Service Template, click OK.</li>
<li>3. The Virtual Machine Manager 2012 Service Template Designer opens.</li>
</ul>
<h2>Step 2. Create Virtual Machine Templates For the 3 Tiers of Pet Shop</h2>
<p>The Virtual Machine template will contain information about the VHD used for this tier, along with hardware, operating system and application configuration. </p>
<p><b>Hardware Configuration</b> identifies settings as memory, CPU, network adapter configuration, and cloud capability profiles in case deployments are made to the cloud.</p>
<p><b>Operating System Configuration</b> identifies Operating system type, Computer Name, product key,&nbsp; domain join info, operating system roles and features.</p>
<p><b>Application Configurations</b> will contain the application packages, along with configuration scripts for each tier.</p>
<p>Scripts will be used to install application clients as Server App-V agent and Web Deploy agent, these scripts will be configured as <b>Pre-Install</b> scripts on the <b>Application Profile</b> level so that they execute before deploying any application in the application profile.</p>
<p>Scripts used to configure specific applications, should be configured as <b>Pre-Install</b> or <b>Post-Install</b> on the <b>Application Deployment</b> level.</p>
<p>For Pet Shop <b>service template</b>, we will create 3 Virtual Machine templates, one for each tier.</p>
<p>To create a <b>VM template,</b> click Create VM template button from the service template designer.</p>
<p>&nbsp;</p>
<p><b>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/63/96/5751.designerribbon.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-63-96/5751.designerribbon.png" border="0" /></b></p>
<h3>Create a Virtual Machine Template for the Web Tier</h3>
<ul>
<li>1. Click <b>Create VM Template </b>on the Service Template Designer.</li>
<li>2. In the select source page, use Existing VHD: <b>Windows Server 2008 R2 Enterprise Evaluation.VHD</b></li>
<li>3. VM Template Identity: Enter the VM template name: ex. <b>Web Tier VM Template</b></li>
<li>4. Configure Hardware as follows: 
<ul>
<li>a. Select the disk, verify the check box for "Contains the operating system for the virtual machine" is marked.</li>
<li>b. Connect the <b>Network Adapter</b> of the hardware profile to the logical network created during fabric setup</li>
<li>c. For deploying to cloud, set the <b>Capability Profile</b> to Hyper V in the Compatibility of the hardware properties.</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>5. Configure the Operating System as follows: 
<ul>
<li>a. Computer Name: <b>MyWebVM##</b> 
<ul>
<li>i. Computer name should be short and unique to avoid conflicts in DNS.</li>
<li>ii. Patterns as ## will be automatically replaced by 01, 02, ...etc before deployment.</li>
</ul>
</li>
<li>b. Admin Password: <b>Passw0rd</b></li>
<li>c. Product key: <b>489J6-VHDMP-X63PK-3K798-CPX3Y</b></li>
<li>d. Operating System: <b>64-bit edition of windows server 2008 R2 Enterprise</b></li>
<li>e. <b>Roles</b>: 
<ul>
<li>i. Application Development </li>
<li>ii. Basic Authentication</li>
<li>iii. Management Tools </li>
<li>iv. Web Server (IIS)</li>
</ul>
</li>
<li>f. <b>Features</b>: 
<ul>
<li>i. .NET Framework</li>
<li>ii. Background Intelligent Transfer Service (BITS)</li>
<li>iii. Message Queuing</li>
</ul>
</li>
<li>g. <b>Domain join: </b>
<ul>
<li>i. Domain Name: provide the FQDN (ex. Contoso.com)</li>
<li>ii. Domain User: should be in (domain\user) format (ex. Contoso\User1)</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>6. Configure Applications: The application profile for the web tier will contain: 
<ul>
<li>1. Pre-install application profile script to install the Web Deploy client</li>
<li>2. The web deploy application package</li>
<li>3. Post-install application deployment script to configure the web deploy application</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>&nbsp; 
<ul>
<li>Operating System: <b>64-bit edition of windows server 2008 R2</b></li>
<li><b>Add a Pre-Install Application Profile Script:</b></li>
</ul>
</li>
</ul>
<p style="PADDING-LEFT: 90px">Click on Scripts option group, then from the toolbar, click Add -&gt;Script.</p>
<ul>
<li>&nbsp; 
<ul>
<li>&nbsp; 
<ul>
<li>o Script command type: <b>Pre-Install</b></li>
<li>o Executable: <b>cmd.exe</b></li>
<li>o Parameters: <b>/q /c InstallWebDeploy.cmd</b></li>
<li>o Script Package: <b>WebDeploy_x64_en-US_1.1.0600.cr (1.1.0600)</b></li>
<li>o Timeout:<b> 300</b></li>
<li>o Advanced options: </li>
<li>&sect; Provide a standard output/error file paths for logging purposes</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><b></b>&nbsp;</p>
<ul>
<li>&nbsp; 
<ul>
<li><b>Add Web Deploy Application: </b>
<ul>
<li>o Application Package: <b>petshop-ws08-v1.zip</b></li>
<li>o Provide values for application settings as follows:</li>
</ul>
</li>
</ul>
</li>
</ul>
<table cellpadding="0" cellspacing="0" border="1">
<tbody>
<tr>
<td width="113" valign="top">
<p>CS_SERVICES_DB</p>
</td>
<td width="495" valign="top">
<p>server=@sqlComputerName@;database=MSPetShop4Services;user id=@petshopUser@;password=@petshopPassword@;connect timeout=200;min pool size=4;max pool size=4; </p>
</td>
</tr>
<tr>
<td width="113" valign="top">
<p>CS_CORE_DB</p>
<p>&nbsp;</p>
</td>
<td width="495" valign="top">
<p>server=@sqlComputerName@;database=MSPetShop4;user id=@petshopUser@;password=@petshopPassword@; connect timeout=200;min pool size=4;max pool size=4; </p>
</td>
</tr>
<tr>
<td width="113" valign="top">
<p>CS_ORDERS_DB</p>
<p>&nbsp;</p>
</td>
<td width="495" valign="top">
<p>server=@sqlComputerName@;database=MSPetShop4Orders;user id=@petshopUser@;password=@petshopPassword@; connect timeout=200;min pool size=4;max pool size=4; </p>
</td>
</tr>
<tr>
<td width="113" valign="top">
<p>CS_PROFILE_DB</p>
<p>&nbsp;</p>
</td>
<td width="495" valign="top">
<p>server=@sqlComputerName@;database=MSPetShop4Profile;user id=@petshopUser@;password=@petshopPassword@; connect timeout=200;min pool size=4;max pool size=4; </p>
</td>
</tr>
<tr>
<td width="113" valign="top">
<p>QUEUE_PATH</p>
<p>&nbsp;</p>
</td>
<td width="495" valign="top">
<p>FormatName:DIRECT=OS:@lobComputerName@\Private$\PSOrders </p>
</td>
</tr>
</tbody>
</table>
<p><b>&nbsp;</b></p>
<ul>
<li><b>Add a Post-Install Application Deployment Script</b></li>
</ul>
<blockquote>
<p style="PADDING-LEFT: 30px">Click on the Web Application, then from the toolbar click Add -&gt; Application Script</p>
<ul>
<li>o Script Command type:<b> Post-Install</b></li>
<li>o Executable: <b>cmd.exe</b></li>
<li>o Parameters: <b>/q /c configure-webtier.cmd</b></li>
<li>o Script package: <b>petshop.wt.cr</b></li>
<li>o Timeout: <b>300</b></li>
<li>o Advanced options: 
<ul>
<li>&sect; Provide a standard output/error file paths for logging purposes</li>
</ul>
</li>
</ul>
<p>7. Click Next in the Configure Applications page to commit the changes made in the previous step.</p>
</blockquote>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8. Go to the Summary page, and click <b>Create</b>.</p>
<p>&nbsp;</p>
<h3>Create a Virtual Machine Template for the Middle Tier</h3>
<ul>
<li>1. Click <b>Create VM Template</b> on the Service Template Designer.</li>
<li>2. In the select source page, use Existing VHD: <b>Windows Server 2008 R2 Enterprise Evaluation.VHD</b></li>
<li>3. VM Template Identity: Enter the VM template name: ex. <b>Middle Tier VM Template</b></li>
<li>4. Configure Hardware as follows: 
<ul>
<li>a. Select the disk, verify the check box for "Contains the operating system for the virtual machine" is marked.</li>
<li>b. Connect the <b>Network Adapter</b> of the hardware profile to the logical network created during fabric setup</li>
<li>c. For deploying to cloud, set the <b>Capability Profile</b> in the Compatibility of the hardware properties.</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>5. Configure the Operating System as follows: 
<ul>
<li>a. Computer Name: <b>MyMidVM##</b></li>
<li>b. Admin Password: <b>Passw0rd</b></li>
<li>c. Product key: <b>489J6-VHDMP-X63PK-3K798-CPX3Y</b></li>
<li>d. Operating System: <b>64-bit edition of windows server 2008 R2 Enterprise</b></li>
<li>e. <b>Roles:</b> 
<ul>
<li>i. Application Development </li>
<li>ii. Basic Authentication</li>
<li>iii. Management Tools </li>
<li>iv. Web Server (IIS)</li>
</ul>
</li>
<li>f. <b>Features:</b> 
<ul>
<li>i. .NET Framework</li>
<li>ii. Background Intelligent Transfer Service (BITS)</li>
<li>iii. Message Queuing</li>
</ul>
</li>
<li>g. <b>Domain join</b>: 
<ul>
<li>i. Domain Name: provide the FQDN (ex. Contoso.com)</li>
<li>ii. Domain User: should be in (domain\user) format (ex. Contoso\User1)</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>6. Configure Applications: The application profile for the middle tier will contain 
<ul>
<li>1. Pre-install application profile script to install Server App-V client</li>
<li>2. The Server App-V application package for the middle tier</li>
<li>3. Pre-install application deployment script to configure the Server App-V application</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>Operating System: <b>64-bit edition of windows server 2008 R2</b></li>
<li><b>Add a Pre-Install Application Profile Script: </b></li>
</ul>
<p style="PADDING-LEFT: 60px">Click on Scripts option group, then from the toolbar, click Add -&gt; Script.</p>
<ul>
<li>&nbsp; 
<ul>
<li>o Script command type: <b>Pre-Install</b></li>
<li>o Executable: <b>cmd.exe</b></li>
<li>o Parameters: <b>/q /c InstallSAV.cmd</b></li>
<li>o Script Package: <b>SAV_x64_en-US_4.7.11.1127.cr (4.7.11.1127)</b></li>
<li>o Timeout:<b> 300</b></li>
<li>o Advanced options: 
<ul>
<li>&sect; Provide a standard output/error file paths for logging purposes</li>
</ul>
</li>
</ul>
</li>
<li><b>Add Virtual Application:</b> 
<ul>
<li>o Application Package: <b>Petshop-Midtier64</b></li>
<li>o Provide values for application settings as follows:</li>
</ul>
</li>
</ul>
<table cellpadding="0" cellspacing="0" border="1">
<tbody>
<tr>
<td width="108" valign="top">
<p>SQLConn1</p>
<p>&nbsp;</p>
</td>
<td width="501" valign="top">
<p>server=@sqlComputerName@;user id=@petshopUser@;password=@petshopPassword@;database=MSPetShop4;min pool size=4;max pool size=4;packet size=3072</p>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="108" valign="top">
<p>SQLConn2</p>
<p>&nbsp;</p>
</td>
<td width="501" valign="top">
<p>server=@sqlComputerName@;user id=@petshopUser@;password=@petshopPassword@;database=MSPetShop4Profile;min pool size=4;max pool size=4;packet size=1024</p>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="108" valign="top">
<p>SQLConn3</p>
<p>&nbsp;</p>
</td>
<td width="501" valign="top">
<p>server=@sqlComputerName@;user id=@petshopUser@;password=@petshopPassword@;database=MSPetShop4Orders;min pool size=4;max pool size=4;packet size=1024</p>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td width="108" valign="top">
<p>OrderQueuePath</p>
</td>
<td width="501" valign="top">
<p>server=@sqlComputerName@;database=MSPetShop4Profile;user id=@petshopUser@;password=@petshopPassword@;min pool size=4;max pool size=4;</p>
</td>
</tr>
</tbody>
</table>
<p><b>&nbsp;</b></p>
<ul>
<li><b>Pre-Install Application Deployment Script</b></li>
</ul>
<p style="PADDING-LEFT: 60px">Click on the Virtual Application then from the toolbar click Add -&gt; Application Script</p>
<ul style="PADDING-LEFT: 30px">
<li>o Script command type: <b>Pre-Install</b></li>
<li>o Executable: <b>cmd.exe</b></li>
<li>o Parameters: <b>/q /c configure-midtier.cmd</b></li>
<li>o Script package: <b>petshop.mt.cr</b></li>
<li>o Timeout:<b> 300</b></li>
<li>o Advanced options: 
<ul>
<li>&sect; Provide a standard output/error file paths for logging purposes</li>
</ul>
</li>
</ul>
<p style="PADDING-LEFT: 30px">&nbsp;</p>
<ul>
<li>7. Click Next in the Configure Applications page to commit the changes made in the previous steps.</li>
<li>8. Go to the Summary page, and click <b>Create</b>.</li>
</ul>
<h3>Create a Virtual Machine Template for the SQL Tier</h3>
<ul>
<li>1. Click <b>Create VM Template</b> on the Service Template Designer.</li>
<li>2. In the select source page, use Existing VHD: <b>SQL Server 2008 R2 Evaluation (SQLPROFILE) on Windows Server 2008 R2.VHD</b></li>
<li>3. VM Template Identity: Enter the VM template name: ex. <b>SQL Tier VM Template</b></li>
<li>4. Configure Hardware as follows: 
<ul>
<li>a. Select the disk, verify the check box for "Contains the operating system for the virtual machine" is marked.</li>
<li>b. Connect the <b>Network Adapter</b> of the hardware profile to the logical network created during fabric setup</li>
<li>c. For deploying to cloud, set the <b>Capability Profile</b> in the Compatibility of the hardware properties.</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>5. Configure the Operating System as follows: 
<ul>
<li>a. Computer Name: <b>MySQLVM##</b></li>
<li>b. Admin Password: <b>Passw0rd</b></li>
<li>c. Product key: <b>489J6-VHDMP-X63PK-3K798-CPX3Y</b></li>
<li>d. Operating System: <b>64-bit edition of windows server 2008 R2 Enterprise</b></li>
<li>e. <b>Domain join</b>: 
<ul>
<li>i. Domain Name: provide the FQDN (ex. Contoso.com)</li>
<li>ii. Domain User: should be in (domain\user) format (ex. Contoso\User1)</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>6. Configure Applications: The application profile for the SQL Tier will contain: 
<ul>
<li>1. Four DACPAC application packages for the database definitions</li>
<li>2. Post-install application profile script to configure the data tier by creating the sql login for the databases and populating the data in the SQL tables.</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li style="PADDING-LEFT: 30px">Operating System: <b>64-bit edition of windows server 2008 R2</b></li>
<li style="PADDING-LEFT: 30px"><b>DAC Application Deployment for Pet shop Database:</b> 
<ul>
<li style="PADDING-LEFT: 30px">o Application package: <b>mspetshop4.dacpac</b></li>
<li style="PADDING-LEFT: 30px">o Authentication: <b>SQL Server Authentication</b></li>
<li style="PADDING-LEFT: 30px">o Deployment Run As Profile: <b>SQLAdminRAP</b></li>
</ul>
</li>
</ul>
<p style="PADDING-LEFT: 30px">&nbsp;</p>
<ul>
<li>&nbsp; 
<ul>
<li><b>DAC Application Deployment for Pet shop Orders Database:</b> 
<ul>
<li>o Application package: <b>mspetshop4orders.dacpac</b></li>
<li>o Authentication: <b>SQL Server Authentication</b></li>
<li>o Deployment Run As Profile: <b>SQLAdminRAP</b></li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<blockquote>
<ul>
<li><b>DAC Application Deployment for Pet shop Profile Database:</b> 
<ul>
<li>o Application package: <b>mspetshop4profile.dacpac</b></li>
<li>o Authentication: <b>SQL Server Authentication</b></li>
<li>o Deployment Run As Profile: <b>SQLAdminRAP</b></li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li><b>DAC Application Deployment for Pet shop Services Database:</b> 
<ul>
<li>o Application package: <b>mspetshop4services.dacpac</b></li>
<li>o Authentication: <b>SQL Server Authentication</b></li>
<li>o Deployment Run As Profile: <b>SQLAdminRAP</b></li>
</ul>
</li>
</ul>
</blockquote>
<p><b>&nbsp;</b></p>
<ul>
<li><b>Post-Install Application Profile Script</b></li>
<li>Click on Scripts option group, then from the toolbar, click Add -&gt;Script. 
<ul>
<li>o Script command type: <b>Post-Install</b></li>
<li>o Executable: <b>cmd.exe</b></li>
<li>o Parameters: <b>/q /c configure-datatier.cmd @sqlAdmin@ @sqlAdminPassword@</b></li>
<li>o Script package: <b>petshop.sql.cr</b></li>
<li>o Timeout:<b> 300</b></li>
<li>o Advanced options: 
<ul>
<li>&sect; Provide a standard output/error file paths for logging purposes</li>
</ul>
</li>
</ul>
</li>
<li>7. SQL Server Configuration</li>
</ul>
<p>The SQL Profile will specialize the sysprep SQL Server Image. The sysprep SQL image is included in the SQL Profile VHD: SQL Server 2008 R2 Evaluation (SQLPROFILE) on Windows Server 2008 R2.VHD</p>
<ul>
<li><b>Create new SQL Server Deployment</b></li>
<li>SQL Server Deployment: 
<ul>
<li>o Instance name: <b>MSSQLSERVER</b></li>
<li>o Instance id: <b>SYSPREPSQL</b></li>
</ul>
</li>
<li>Configuration: 
<ul>
<li>o Media source: <b>C:\SQLEVAL</b> </li>
<li>o SQL Admins: add a valid domain account</li>
<li>o Security Mode: <b>SQLServerAuthentication</b></li>
<li>o SA Password RAP: <b>SQLAdminRAP</b></li>
<li>o Enable named pipes: <b>true</b></li>
<li>o Enable TCP: <b>true</b></li>
</ul>
</li>
<li>Service accounts 
<ul>
<li>o SQL server service: <b>NTSystemRAP</b></li>
<li>o SQL server agent: <b>NTSystemRAP</b></li>
<li>o Reporting services: <b>NTSystemRAP</b></li>
</ul>
</li>
<li>8. Go to the Summary page, and click <b>Create</b>.</li>
</ul>
<h2>Step 3: Add the Machine Tier Templates to the Service Template</h2>
<ul>
<li>1. Open the Service Template Designer if it's not already opened.</li>
<li>2. On the VM Templates tab, select the VM template for the Web Tier, Drag and drop it onto the service template designer canvas.</li>
<li>3. Repeat step 2 for the Middle and SQL Tier VM templates.</li>
<li>4. For customizing tier properties as deployment option, instance counts, ...etc. select a machine tier template in the canvas and view/change properties from the details pane. </li>
<li>5. In the Service Template Designer, click <b>Save</b>.</li>
</ul>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/63/96/3362.designercanvas.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-63-96/3362.designercanvas.png" border="0" /></p>
<h2>Step 4: Configure and Specialize the Service Instance</h2>
<ul>
<li>From the service template designer, click on <b>Configure Deployment</b>. 
<ul>
<li>o Set the name and destination for the new service instance. </li>
</ul>
</li>
</ul>
<p align="center"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/63/96/2570.newserviceinstance.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-63-96/2570.newserviceinstance.png" border="0" />&nbsp;</p>
<p align="center">&nbsp;</p>
<ul>
<li>The Specialization UI will open. 
<ul>
<li>o Check the generated VM/Computer names, and change them if needed 
<ul>
<li>&sect; It's a good practice to ping the VM computer name from the VMM server to make sure that the name you chose is not currently being used by another machine in the domain</li>
</ul>
</li>
<li>o Provide Values for the service global settings as follows: 
<ul>
<li>&sect; petshopUser=<b>mspetshop</b></li>
<li>&sect; petshopPassword=<b>pass@word1</b></li>
<li>&sect; sqlAdmin=<b>sa</b></li>
<li>&sect; sqlAdminPassword=<b>Passw0rd</b></li>
<li>&sect; sqlComputerName=&lt;your sql-tier computer name&gt;</li>
<li>&sect; lobComputerName = &lt;your mid-tier computer name&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<h2>Step 5: Deploy the Service and Verify</h2>
<ul>
<li>From the Specialization UI, Click on Deploy</li>
<li>Verification 
<ul>
<li>o After the deployment completes, open IE and connect to Pet Shop application.</li>
<li>o URL: <b>Error! Hyperlink reference not valid.</b> </li>
<li>o The website should open</li>
</ul>
</li>
</ul>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/63/96/5657.petshopui.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-63-96/5657.petshopui.png" border="0" /></p>
<p align="center">&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/6396/00/00/03/41/68/40/Deploying-Pet-Shop-Service-in-VMM_2.docx" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-6396-00-00-03-41-68-40/Deploying_2D00_Pet_2D00_Shop_2D00_Service_2D00_in_2D00_VMM_5F00_2.docx">Deploying-Pet-Shop-Service-in-VMM_2.docx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>VMM service crashes with System.Runtime.InteropServices.COMException (0x8007200A)</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/vmm-service-crashes-with-system-runtime-interopservices-comexception-0x8007200a</link>
      <pubDate>Thu, 24 Mar 2011 18:40:00 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/03/24/vmm-service-crashes-with-system-runtime-interopservices-comexception-0x8007200a/</guid>
      <description><![CDATA[hi everyone, this is a troubleshooting blog post on how to fix and issue with 
VMM 2012 where the...]]></description>
      <content:encoded><![CDATA[<p>
<p>hi everyone, this is a troubleshooting blog post on how to fix and issue with 
VMM 2012 where the VMM service crashes with 
System.Runtime.InteropServices.COMException (0x8007200A): The specified 
directory service attribute or value does not exist.</p>
<p>Big thanks to Radhika from the VMM team for compiling this troubleshooting 
item.</p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><b>Scenarios:</b> 
This error could happen while adding a Host/Cluster or creating a new Virtual 
Machine.<o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal">&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">
</span></span></p>
<p class="MsoNormal"><span><strong>Possible cause 1:</strong> This could happen if 
the VMM service account is running as a Local System account. Some AD 
configurations might not allow using Local System to read the AD tree. For 
example, if the Authenticated User Permissions are removed from the default 
Active Directory containers, including the Users, Configuration or System, and 
organizational units (OUs) where User and Computer objects are stored, we might 
not be able to query AD.</span><span lang="EN"><!--?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /--><o:p></o:p></span></p>
<p class="MsoNormal"><span><strong>Workaround solution 1:</strong> Try changing the 
VMM service to run as a domain service account (not necessary domain admin, but 
any account with read rights to Active Directory).</span><span lang="EN"><o:p></o:p></span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><strong>Possible cause 2:</strong> This could also happen if VMM service account 
is running as regular domain account but that domain account does not have 
appropriate permissions to read the AD tree.</p>
<p class="MsoNormal"><span lang="EN"><strong>Solution 2:</strong> Try adding the&nbsp;read permission to the domain 
account used as the VMM service account for the whole AD hierarchy or change VMM 
service to run as a domain account with read permissions to AD 
tree.<o:p></o:p></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal">&nbsp;</p>
&lt;:o:p&gt;<span style="font-family: Calibri; font-size: small;">&nbsp;</span><!--:o:p-->
<p>&nbsp;</p>
<p>&nbsp;</p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><b><span style="font-size: small;"><span style="font-family: Calibri;">Stack trace 
snippet from logs:<o:p></o:p></span></span></b></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000516&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.95616913&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [4264] 
10A8.0B40::03/15-19:28:42.150#04:WatsonExceptionReport.cs(756): Unhandled 
exception caught.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000517&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.95740128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [4264] 
10A8.0B40::03/15-19:28:42.151#04:WatsonExceptionReport.cs(757): Unhandled 
exception.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000518&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [4264] 
10A8.0B40::03/15-19:28:42.158#04:WatsonExceptionReport.cs(757): <span style="background: yellow; mso-highlight: yellow;">System.Runtime.InteropServices.COMException 
(0x8007200A): The specified directory service attribute or value does not 
exist.</span> &nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000519&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [4264]&nbsp; 
<o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) &nbsp; 
<o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000521&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at System.DirectoryServices.DirectoryEntry.Bind() &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000522&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at System.DirectoryServices.DirectoryEntry.get_SchemaEntry() 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000523&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.ADStoreCtx.IsContainer(DirectoryEntry 
de) &nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000524&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.ADStoreCtx..ctor(DirectoryEntry 
ctxBase, Boolean ownCtxBase, String username, String password, ContextOptions 
options) &nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000525&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.PrincipalContext.CreateContextFromDirectoryEntry(DirectoryEntry 
entry) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000526&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer() 
&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000527&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit() 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000528&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.PrincipalContext.Initialize() 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000529&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx() 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000530&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext 
context, Type principalType, Nullable`1 identityType, String identityValue, 
DateTime refDate) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000531&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContext 
context, Type principalType, IdentityType identityType, String identityValue) 
<o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000532&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at <span style="background: yellow; mso-highlight: yellow;">AccountHelper.ResolvePrincipal</span>(String 
principalName, String&amp; domain) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000533&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at AccountHelper.IsADGroup(String user) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<o:p></o:p></span></span></p>
<p style="margin: 0in 0in 0pt;" class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">00000534&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 44.96680450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[4264]&nbsp;&nbsp;&nbsp; at 
Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.UpdateOwnerOfSharedObject(SqlContext 
ctx, Guid objectId, CarmineObjectType objectType, Guid roleId, UserOrGroup 
userOrGroup) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Announcing VMM 2008 R2 SP1 and VMM 2012 Beta</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/announcing-vmm-2008-r2-sp1-and-vmm-2012-beta</link>
      <pubDate>Thu, 24 Mar 2011 18:23:04 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/03/24/announcing-vmm-2008-r2-sp1-and-vmm-2012-beta/</guid>
      <description><![CDATA[hi everyone, i was in Las Vegas this week at the Microsoft Management Summit 2011, where we...]]></description>
      <content:encoded><![CDATA[<p>hi everyone, i was in Las Vegas this week at the Microsoft Management Summit 2011, where we announced both the availability of VMM 2008 R2 SP1 RTM as well as the beta of VMM 2012. This was a great week showcasing the hard work of the VMM team. I encourage you to download both releases and learn more about them. I think you will like what you will see.</p>
<p><a href="https://blogs.technet.com/b/scvmm/archive/2011/03/24/system-center-virtual-machine-manager-2008-r2-sp1-available-now.aspx">https://blogs.technet.com/b/scvmm/archive/2011/03/24/system-center-virtual-machine-manager-2008-r2-sp1-available-now.aspx</a></p>
<p><a href="https://blogs.technet.com/b/scvmm/archive/2011/03/22/system-center-virtual-machine-2012-beta-available-now.aspx">https://blogs.technet.com/b/scvmm/archive/2011/03/22/system-center-virtual-machine-2012-beta-available-now.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Tuning VMM for Virtual Desktop Infrastructure (VDI) scenarios</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/tuning-vmm-for-virtual-desktop-infrastructure-vdi-scenarios</link>
      <pubDate>Wed, 02 Feb 2011 09:49:05 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/02/02/tuning-vmm-for-virtual-desktop-infrastructure-vdi-scenarios/</guid>
      <description><![CDATA[hi everyone,
my co-worker Vishwa just posted a great article that includes tips on how to tune...]]></description>
      <content:encoded><![CDATA[<p>hi everyone,</p>
<p>my co-worker Vishwa just posted a great article that includes tips on how to tune Virtual Machine Manager for VDI scenarios.</p>
<p><a href="https://blogs.technet.com/b/vishwa/archive/2011/02/01/tuning-scvmm-for-vdi-deployments.aspx">https://blogs.technet.com/b/vishwa/archive/2011/02/01/tuning-scvmm-for-vdi-deployments.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Virtual Machine Manager Connector for Remote Desktop Services VDI solution released</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/virtual-machine-manager-connector-for-remote-desktop-services-vdi-solution-released</link>
      <pubDate>Wed, 19 Jan 2011 13:56:48 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2011/01/19/virtual-machine-manager-connector-for-remote-desktop-services-vdi-solution-released/</guid>
      <description><![CDATA[Michael just posted a blog on the VMM Connector for RDS that was just released...]]></description>
      <content:encoded><![CDATA[<p>Michael just posted a blog on the VMM Connector for RDS that was just released today.</p>
<p><a href="https://blogs.technet.com/b/mkleef/archive/2011/01/19/scvmm-rds-connection-broker-plugin-released.aspx">https://blogs.technet.com/b/mkleef/archive/2011/01/19/scvmm-rds-connection-broker-plugin-released.aspx</a></p>
<p>You can find the connector MSI package and the related documentation here. <a href="https://go.microsoft.com/fwlink/?LinkID=195952">https://go.microsoft.com/fwlink/?LinkID=195952</a></p>
<p>Just install on top of VMM 2008 R2 Administrator Console and you can take advantage of dynamic placement VDI scenarios through VMM.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Tech·Ed Europe</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/teched-europe</link>
      <pubDate>Mon, 01 Nov 2010 15:44:31 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2010/11/01/teched-europe/</guid>
      <description><![CDATA[hi everyone,
i wanted to let you know&nbsp;I will be attending Tech-Ed Europe in Berlin from&nbsp;8...]]></description>
      <content:encoded><![CDATA[<p>hi everyone,</p>
<p>i wanted to let you know&nbsp;I will be attending Tech-Ed Europe in Berlin from&nbsp;8 - 12 of November. If any of you plan to attend, stop by the Virtual Machine Manager booth to chat.</p>
<p>cheers.</p>]]></content:encoded>
    </item>
    <item>
      <title>Resolving certificate name mismatches when managing a Hyper-V host in VMM</title>
      <link>https://docs.microsoft.com/archive/blogs/m2/resolving-certificate-name-mismatches-when-managing-a-hyper-v-host-in-vmm</link>
      <pubDate>Wed, 01 Sep 2010 12:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Michael Michael [Apprenda]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/m2/2010/09/01/resolving-certificate-name-mismatches-when-managing-a-hyper-v-host-in-vmm/</guid>
      <description><![CDATA[This blog post comes courtesy of Todd Logan, a colleague at Microsoft.
Use the following steps to...]]></description>
      <content:encoded><![CDATA[<p>This blog post comes courtesy of Todd Logan, a colleague at Microsoft.</p>
<p>Use the following steps to resolve a name mismatch error when viewing the remote desktop connection of a VM on a Hyper-V host through VMM (using the Virtual Machine Viewer application). The VMM server in this case is running as a virtual machine. </p>
<p>When you execute the "Connect to virtual machine" action from the VMM Administrator Console, you will get the following error: "The remote computer could not be authenticated due to problems with its security certificate. It mabe be unsafe to proceed". In this case, the popup with the error will give you the Name mismatch parameters. For example:</p>
<p>Requested remote computer: 192.168.1.250</p>
<p>Name in the certificate from the remote computer: democomputer.redmond.contoso.corp.com</p>
<p><strong><span style="text-decoration: underline;">How to troubleshoot and fix this issue:</span></strong>&nbsp;</p>
<ul>
<li>Use the Internal nic for all virtual machines including the Virtual Machine Management server</li>
<li>Add the FQDN of the Hyper-V server to local hosts file on the VMM server (which is located in C:\Windows\System32\Drivers\etc\host. You'll need to change the folder options to view the extensions for known file types. An example&nbsp;entry looks like this. 192.168.1.250 democomputer.redmond.contoso.corp.com.</li>
<li>When adding the host into Virtual Machine Manager, make sure you use the FQDN (democomputer.redmond.contoso.corp.com) and clear the option for host to be in a trusted domain (use the non-trusted domain authentication)</li>
<li>Finish the rest of the steps to add the host.</li>
<li>It will take a few minutes to populate all the virtual machines that are running on the Hyper-V host. Once populated, select a VM and connect to it. You'll get prompted with an error warning. Click on the View certificate button and install the certificate by choosing to manually decide where to place the certificate and click the browse button to install it to the trusted root certification authority. Close the dialog box.</li>
<li>From your VMM server click start, run, and type MMC. From the menu bar select File, then select Add\Remove Snap-in. Select Certificates and then select Add for User. Repeat this process and Add Certificates for local computer.</li>
<li>Next copy your democomputer.redmond.contoso.corp.com certificate from the user trusted root to the following three places. Right-click the certificate and select copy and then paste into:</li>
</ul>
<p>&nbsp; a. Certificates - Current User -&gt; Personal -&gt; Certificates</p>
<p>&nbsp; b. Computer (Local Computer) -&gt; Personal -&gt; Certificates</p>
<p>&nbsp; c. Computer (Local Computer) -&gt; Trusted Root Certification Authorities</p>
<ul>
<li>Go back to VMM console and attempt to connect to&nbsp;the VM. You'll probably be prompted for your credentials. Enter your valid domain credentials, i.e. contoso\anotheradmin and select the option to remember my credentials. </li>
<li>At this point you should now be able to connect to a virtual machine without any errors.&nbsp;&nbsp;</li>
</ul>]]></content:encoded>
    </item>
  </channel>
</rss>