When to Use SYSPREP and when to use the VM Preparation Tool for Configuring Auto Logon for MED-V Workspaces

When to Use SYSPREP and when to use the VM Preparation Tool for Configuring Auto Logon for MED-V Workspaces

This article is meant to clarify when to use the VM Preparation Tool and when to use Sysprep when configuring auto-logon for MED-V workspaces.  These two options are not designed to work in conjunction with one another and you should only use one or the other depending on the type of workspace you will be deploying with the image.

The VM Preparation Tool should only be used to configure Auto logon for revertible workspaces.


This is the last option to configure during the MED-V VM prerequisite wizard. The reason it is here as an option is because revertible MED-V Workspaces must be configured for auto logon or else they will fail to start.


Use SYSPREP for Persistent Workspaces

For persistent workspaces you will want to use SYSPREP to configure auto logon. This is because of the mini-setup process that will run as a result of SYSPREP-ing the image will need to run unattended and fully automated. Given that the mini-setup will spawn workspace reboots initially and the likelihood of the use of first-time setup (FTS) scripts being used to join the workspace to the domain, rename computers, and other items customizing the workspace, you will want to ensure that the AutoLogonCount configured in the SYSPREP.INF file is set to a high enough number. The default is 3 and that is not enough for workspaces going through SYSPREP mini-setup and first-time setup of Workspace VMs. I usually set mine to 9 as that will grant the workspace enough of a window for necessary reboots. The AutoLogonCount option is located in the [GuiUnattended] section of SYSPREP as shown in the example below:


Note: Remember to add the “Disable Autologin” Script Action when configuring a workspace that will leverage MED-V SSO (Single Sign-on) into the workspace once deployed.


The “Disable Auto-Logon” script action should be the last action.

Leave a Comment
  • Please add 1 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
  • Maheshkumar S Tiwari edited Original. Comment: Added Tag and minor edit

Page 1 of 1 (1 items)