How to: Import a Virtual Machine or a Template from SCVMM
Virtual machines and templates are the basic building blocks for creating environments in Microsoft Test Manager. However, before you can create an environment in Microsoft Test Manager, you must import the initial virtual machines and templates from the System Center Virtual Machine Manager (SCVMM) library into your team project. For more information about how to create the initial virtual machines and templates in SCVMM, see How to: Create and Store Virtual Machines and Templates Ready for Lab Management.
When you import a virtual machine or a template from SCVMM, Microsoft Test Manager does not create a new copy. Instead, Microsoft Test Manager creates a reference to the original virtual machine or template stored in SCVMM.
Importing a Virtual Machine or Template
The following illustration shows the major steps for importing a virtual machine or a template.
To import a virtual machine or a template into the team project
Open Microsoft Test Manager.
To display the Microsoft Test Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test Manager.
Click Lab Center, click Library, and then click Virtual Machines and Templates.
Click Import.
Follow the steps in the wizard and enter the required information on the Name and machine and Machine properties pages. For more information about individual properties, see How to: Set the Properties of a Virtual Machine or Template
Note
When you import a template from SCVMM, the secured administrator password and product key in the template are removed. You must re-enter this information. If the operating system is Windows 7, Windows Server 2008 and later, or Windows Vista, leave the password field blank. If the operating system is Windows XP or Windows Server 2003, type an asterisk (*) to indicate a blank password.
On the Summary wizard page, review the information. Click Finish to import the virtual machine or the template.
If you make any changes to the original virtual machine or a template in SCVMM after importing it, the changes are not automatically propagated to the imported virtual machine or template. You have to manually open and change the imported virtual machine or the template by using Microsoft Test Manager.
An alternative way to add virtual machines and templates into a team project is by saving the virtual machines within an existing environment. For more information, see How to: Create a Virtual Machine or Template from an Environment.
Deleting a Virtual Machine or Template
If you delete an imported virtual machine or a template in Microsoft Test Manager, the underlying virtual machine or the template is not deleted in SCVMM. If you delete a stored virtual machine or template that was created from a virtual machine in a deployed environment, the stored virtual machine or template is deleted.
To delete a virtual machine or a template in Microsoft Test Manager
Open Lab Center.
Click the Library tab, Virtual Machines and Templates, and then click the virtual machine or the template to be deleted.
Click the X (Delete) button.