--- title: Create a MED-V Workspace Package description: Create a MED-V Workspace Package author: jamiejdt ms.assetid: 3f75fe73-41ac-4389-ae21-5efb2d437f4d ms.pagetype: mdop, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w7 ms.date: 06/16/2016 --- # Create a MED-V Workspace Package A MED-V workspace is the Windows XP desktop environment where end users interact with the virtual machine provided by MED-V. The administrator creates and customizes the MED-V workspace. The workspace consists of an image and the Group Policy that defines the rules and functionality of the MED-V workspace. You can create multiple MED-V workspaces, each customized with its own configuration, settings, and rules. A user, group, or multiple users or groups can be associated with each MED-V workspace. The customization makes that MED-V workspace available only for that user or group. Use the **MED-V Workspace Packager** to create MED-V workspaces. The **MED-V Workspace Packager** is divided into two main sections: - A main panel that includes three buttons that you use to create and manage MED-V workspaces. The **Create a MED-V Workspace Package** button opens the **Create MED-V Workspace Package Wizard** that you use to create your MED-V workspaces. - A **Help Center** on the right-hand side of the window that provides information and guidance to help you create, test, and manage your MED-V workspaces. **Important** Before you can use the **MED-V Workspace Packager**, you must first make sure that the Windows PowerShell execution policy is set to Unrestricted. `Set-ExecutionPolicy Unrestricted` In addition, the SAN policy for the computer on which the **MED-V Workspace Packager** is run must be set to “Online All”. To check the setting of the SAN policy, run the following commands at a command prompt with administrative credentials: `diskpart.exe` `DISKPART> san` `DISKPART> exit` If it is necessary, change the SAN policy to "Online All" by typing the following commands at the command prompt with administrative credentials: `diskpart.exe` `DISKPART> san policy=onlineall` `DISKPART> exit` **Important** If automatic disk encryption software is installed on the computer that you use to mount the virtual hard disk and build the MED-V workspace package, you must disable the software before you start. Otherwise, you cannot use the MED-V workspace on any other computer. The information we provide here can help you create your MED-V workspace deployment package. ## Prerequisites Before you start to build your MED-V workspace deployment package, verify that you have access to the following items: - **A prepared Windows XP image** For more information about how to create a Windows XP image for use with MED-V, see [Prepare a MED-V Image](prepare-a-med-v-image.md). - **A text file or list that contains URL redirection information** Your URL redirection text file or list contains those URLs that you want redirected from the host computer to Internet Explorer in the MED-V workspace. When you are using the packaging wizard to create your MED-V workspace, you import, type, or copy and paste this redirection information as one of the steps in the package creation process. **Note** URL redirection in MED-V only supports the protocols HTTP and HTTPS. MED-V does not provide support for FTP or any other protocols. Enter each web address on a single line, for example: http://www.contoso.com/webapps/webapp1 http://www.contoso.com/webapps/webapp2 http://\*.contoso.com http://www.contoso.com/webapps/\* **Important** If you import a text file that includes a URL that uses special characters (such as ~ ! @ \# and so on), make sure that you specify UTF-8 encoding when you save the text file. Special characters do not import correctly into the MED-V Workspace Packager if the text file was saved using the default ANSI encoding. ## Packaging a MED-V Workspace for a Language Other than the Language of the MED-V Workspace Packager Computer By default, the MED-V workspace supports characters in both the language of the computer and in English. To create a MED-V workspace for a language other than the one installed on the computer, specify **-loc \[locale\]** in the PowerShell script (.ps1) after the MED-V workspace name. To create a MED-V workspace package in a language other than the default language of the MED-V Workspace Packager computer, generate a script in the default language by running the MED-V Workspace Packager and then modifying the output script as required for your locale. The script is located in the MED-V workspace output directory that was specified during packaging. The names of the locale settings are on the .WXL files in the following directory: C:\\Program Files\\Microsoft Enterprise Desktop Virtualization\\WindowsPowerShell\\Modules\\Microsoft.Medv.Administration.Commands.WorkspacePackager\\locale ## Creating a MED-V Workspace Package To create a MED-V workspace package, follow these steps: **** 1. To open the **MED-V Workspace Packager**, click **Start**, click **All Programs**, click **Microsoft Enterprise Desktop Virtualization**, and then click **MED-V Workspace Packager**. 2. On the **MED-V Workspace Packager** main panel, click **Create a MED-V Workspace Package**. The MED-V **Create MED-V Workspace Package Wizard** appears. The wizard consists of the following pages:
Package Information |
Specify a name for the MED-V workspace and select a folder where the MED-V workspace package files are saved. |
Select Windows XP Image |
Specify your prepared Windows XP Virtual PC image. |
First Time Setup |
Specify the setup process that MED-V follows during first time setup. |
MED-V Messages |
Specify the messages and optional URL for Help information that the end user sees during first time setup. |
Naming Computers |
Specify how the MED-V virtual machine is named. |
Copy Settings from Host |
Specify how the settings for the MED-V workspace are defined. |
Startup and Networking |
Specify the settings for starting the MED-V workspace, networking, and user credentials. |
Web Redirection |
Specify a text file or a list of the URLs you want redirected to Internet Explorer in the MED-V workspace. |
Summary |
Verify your MED-V workspace settings and start to build your MED-V workspace deployment package. |
Copy regional settings |
Select this check box to copy the regional settings from the host computer to the MED-V workspace. |
If you select this check box, the following settings are set in the Sysprep.inf file:
|
|
Copy user settings |
Select this check box to copy certain user settings, such as user name and company name, from the host to the MED-V workspace. |
If you select this check box, the following settings are set in the Sysprep.inf file:
Note
Personal settings, such as Internet browsing history, are not copied over to the MED-V workspace. |
|
Copy domain name |
Select this check box to let the guest join the same domain as the host. |
Important
The MED-V guest must be configured to join a domain that lets users log on by using the credentials that they use to log on to the MED-V host. |
|
Copy domain organizational unit |
Select this check box to copy the domain organizational unit from the host computer to the MED-V workspace. This check box is only enabled if you select to copy the domain name from the host computer. |
Start MED-V workspace |
Choose whether to start the MED-V workspace at user logon, at first use, or to let the end user decide when the MED-V workspace starts. |
The MED-V workspace starts in one of two ways: either when the end user logs on or when they first start an action that requires MED-V, such as opening a published application or entering a URL that requires redirection. You can either define this setting for the end user or let the end user control how MED-V starts.
Note
If you specify that the end user decides, the default behavior they experience is that the MED-V workspace starts when they log on. They can change the default by right-clicking the MED-V icon in the notification area and selecting MED-V User Settings. If you define this setting for the end user, they cannot change how MED-V starts. |
|
Networking |
Select Shared or Bridged for your networking setting. The default is Shared. |
Shared - The MED-V workspace uses Network Address Translation (NAT) to share the host's IP for outgoing traffic. Bridged - The MED-V workspace has its own network address, typically obtained through DHCP. |
|
Store credentials |
Choose whether you want to store the end user credentials. |
The default behavior is that credential storing is disabled so that the end user must be authenticated every time that they log on.
Important
Even though caching the end user’s credentials provides the best user experience, you should be aware of the risks involved. The end user’s domain credential is stored in a reversible format in the Windows Credential Manager. As a result, an attacker could write a program that retrieves the password and could gain access to the user’s credentials. You can only lessen this risk by disabling the storing of end-user credentials. |