How to Configure VM Computer Name Pattern Properties
Updated: April 1, 2010
Applies To: 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
-
Click the revertible MED-V workspace to configure.
-
In the Revertible VM Setup section, select the Rename the VM based on the computer name pattern check box.
-
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
- User 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.
Note The computer name has a limit of 15 characters. If the pattern exceeds the limit, it will be truncated. -
Constant—Enter free text that will be constant on all computers using the MED-V workspace.
-
On the Policy menu, select Commit.
Note 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.
Note 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
-
Click the persistent MED-V workspace to configure.
-
In the Persistent VM Setup section, click Script Editor.
-
In the Script Actions dialog box, click Add, and on the submenu, click Rename Computer.
-
Click OK to close the Script Actions dialog box.
-
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
- User 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.
Note The computer name has a limit of 15 characters. If the pattern exceeds the limit, it will be truncated. -
Constant— Enter free text that will be included in the computer name.
-
On the Policy menu, select Commit.
Note 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.
See Also
-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----
