Virtual Machine Servicing Tool Help  

Configuring the Virtual Machine Servicing Tool

The first time you start the Virtual Machine Servicing Tool, you must complete the Configuration Wizard. This wizard establishes the connections between the tool and the other applications and services with which the tool works.

Note   The Virtual Machine Servicing Tool must be installed on the same server as the VMM Administrator Console.

If you need to change the configuration at a later time, you can run the Configuration Wizard again.

Important   To configure the tool, use an account that has administrative permissions on the Configuration Manager server, the VMM server, the virtual machines, and the maintenance hosts. In addition, this account must be a member of the Delegated Administrator user role in VMM. This role must also have access to the hyper-V hosts and the library servers intended to be used with this tool.

To configure the Virtual Machine Servicing Tool

  1. In the Actions pane, click Configure Tool.
  2. On the Configure Servers page of the wizard, type the name of the VMM server (always required), and then the name of either the Configuration Manager server, or the WSUS server as follows, and then click Next:
    1. If you are using a WSUS server that is running on the default port, define the WSUS server as <Server Name>.
    2. If you are using a WSUS server that is running on a non-default port, define the WSUS server as <Server Name>:<Port>.
    Important   If you are using System Center Configuration Manager to manage updates and your infrastructure includes multiple Configuration Manager servers, provide the name of the primary site server.
  3. On the Configure Maintenance Hosts page of the wizard:
    1. Expand the Maintenance Host Group drop-down list to specify the maintenance host group with which the tool will work.
    2. In the Available hosts area of the page, select one or more hosts from the group that you specified, click the arrow button to move them into the Selected maintenance hosts area, and then click Next. (These are the maintenance hosts that will be available for servicing jobs.)
    Important   The tool can only work with hosts from a single maintenance host group. To see all of the available maintenance hosts, click All Hosts. The All Hosts group automatically includes all of the maintenance hosts regardless of other group memberships.
  4. The Configure Maintenance Hosts for Servicing Offline VHDs page in the wizard is optional. You only need to provide information to complete this page of the wizard if you want to service offline VHDs. To complete this page:
    1. Under Configure Account Information, type information to define the Domain, User Name, and Password fields.
    Note   These credentials are only used to validate the computer name and the folder name. These credentials are not stored.
    1. In the Host name field, type the name of the Windows 7 or Windows Server 2008 R2 host that you want to use to service VHDs.
    2. In the Path field, type a path to a location where you want to copy and update VHDs while the servicing job runs, and then click Add.
    3. Verify this information displays under Host Name and Path, and then click Next.
    Note   If you want to remove this configuration information from the tool, click Delete.
  5. On the Configure Global Setting page of the wizard, specify the time-out limits for the servicing tasks.
    Note   The capacity of the maintenance hosts you use determines how many virtual machines, virtual machine templates, or virtual hard disks the servicing job can process at once. The servicing job creates "batches" to process a large number of these simultaneously. Time-outs apply to each batch, rather than the entire job. If some of the virtual machines, virtual machine templates, or virtual hard disks in a batch finish the operation before the time-out passes, they are moved out of the batch and new ones are added to the batch.
  6. To complete the wizard, click Finish.

To use PSExec utilities with the VMM console

If you want to use a computer running either Windows 7 or Windows Server 2008 R2 as a Maintenance Host for servicing offline VHDs using Deployment Image Servicing and Management (DISM) and DiskPart, the Windows PowerShell execution policy must be set to remotesigned.

Use either of the following steps to configure the Windows PowerShell execution policy

See Also

Maintenance Hosts

Modifying Servicing Job Time-out Values

Configuration Files for the Virtual Machine Servicing Tool

Preparing to Use the Virtual Machine Servicing Tool