How to Configure VM Computer Name Pattern Properties

Letzte Aktualisierung: April 2010

Betrifft: Microsoft Enterprise Desktop Virtualization 1.0, Microsoft Enterprise Desktop Virtualization 1.0 SP1

A virtual machine computer name pattern can be assigned both for revertible and for persistent MED-V Workspaces.

  • Revertible—Administrators can assign a unique name to each revertible MED-V Workspace instance to differentiate between multiple computers using the same MED-V Workspace.

  • Persistent—In a persistent MED-V Workspace, administrators can set a computer to be renamed during a setup script.

How to Assign a Virtual Machine Computer Name Pattern to a Revertible MED-V Workspace

To assign a virtual machine computer name pattern to a revertible MED-V workspace

  1. Click the revertible MED-V Workspace to configure.

  2. In the Revertible VM Setup section, select the Rename the VM based on the computer name pattern check box.

  3. In the VM Computer Name Pattern section, enter the pattern to use for naming virtual machine images, using the following options:

    • Constant—Enter free text that will be constant on all computers using the MED-V Workspace.

    • Variable—Enter a variable, by clicking Insert Variable, and select from one of the following:

      • User name

      • Domain name

      • Host name

      • Workspace name

      • Virtual machine name

      The variable selected will be specific to the computer using the MED-V Workspace. For example, if Domain name is selected, the unique name for each computer will include the computer's domain name.

    • Random characters—Enter “#” for each random character to include in the pattern. Each computer using the MED-V Workspace will have a suffix of the length specified, which is generated randomly.

    Hinweis

    The computer name has a limit of 15 characters. If the pattern exceeds the limit, it will be truncated.

  4. On the Policy menu, select Commit.

    Hinweis

    A revertible VM computer name pattern can be assigned only when Rename the VM based on the computer name patterns (in the Revertible VM Setup section) is checked.

    Hinweis

    A unique computer name can be assigned only if it is configured prior to MED-V Workspace setup. Changing the name will not affect MED-V Workspaces that were already set up.

How to Assign a Virtual Machine Computer Name Pattern to a Persistent MED-V Workspace

To assign a virtual machine computer name pattern to a persistent MED-V workspace

  1. Click the persistent MED-V Workspace to configure.

  2. In the Persistent VM Setup section, click Script Editor.

  3. In the Script Actions dialog box, click Add, and on the submenu, click Rename Computer.

  4. Click OK to close the Script Actions dialog box.

  5. On the VM Setup tab, in the VM Computer Name Pattern section, enter the pattern to use for renaming the computer, using the following:

    • Constant— Enter free text that will be included in the computer name.

    • Variable—Enter a variable, by clicking Insert Variable, and select from one of the following:

      • User name

      • Domain name

      • Host name

      • Workspace name

      • Virtual machine name

      The variable selected will be specific to the computer that is being renamed. For example, if Domain name is selected, the computer name will include the computer's domain name.

    • Random characters— Enter “#” for each random character to include in the pattern. The computer will have a suffix of the length specified, which is generated randomly.

    Hinweis

    The computer name has a limit of 15 characters. If the pattern exceeds the limit, it will be truncated.

  6. On the Policy menu, select Commit.

    Hinweis

    The computer will be renamed only if it is set as an action in the Script Actions dialog box. For detailed information, see How to Set Up Script Actions.

Siehe auch

Aufgaben

Creating a MED-V Workspace
How to Set Up Script Actions
Examples of Virtual Machine Configurations

Konzepte

Using the MED-V Management Console User Interface

-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----