The MED-V Host Agent uses the following command line options:
This closes the workspace using its configured close action. The default close action is to hibernate.
This option provides access to the full Windows XP operating system for troubleshooting application errors, application configuration and troubleshooting Windows XP operating system issues. This option is only available
when MED-V is in a running state. If MED-V is in an initializing or closing state full screen access must be initiated using Windows Virtual PC.
This option triggers the workspace to wake from its default hibernation mode. This command is useful when using customized schedule tasks.
In default configurations the MED-V guest is configured to hibernate when MED-V is stopped. There are times when the Windows XP operating system needs to be rebooted during troubleshooting or application usage. This option
will shut down and restart the Windows XP Virtual Machine. This option is equal to a power on then power off for the Windows XP operating system. This option is only available when MED-V is in a running state. If MED-V is in an initializing or closing state
full screen access must be initiated using Windows Virtual PC.
This option will reset the MED-V workspace to the freshly installed state by running the initial setup again. This will reset all configurations and usage of MED-V including any installed software updates, change to configuration
of the Windows XP operating system, added applications will need to be reapplied. This basically takes you back to the base image.
A MED-V event is written to the MED-V event log when a reset of the workspace occurs. This event includes the username of the logged in user when the reset event takes place.
This option starts the MED-V Toolkit used for MED-V basic troubleshooting.
This option allows you to launch a MED-V v2 published application from the command line. Use the following syntax:
"C:\Program Files\Microsoft Enterprise Desktop Virtualization\MedvHost.exe" /LaunchApp %SystemRoot%\system32\vmsal.exe "WorkspaceName" "||AppID" "AppName"
For example, the following command line launches a pre-published application called " "Pre-Auto Published Command Line" from the workspace called "Windows XP Compatibility (Shared):"
"C:\Program Files\Microsoft Enterprise Desktop Virtualization\MedvHost.exe" /LaunchApp %SystemRoot%\system32\vmsal.exe "Windows XP Compatibility (Shared)" "||a93686d" "Pre-Auto Published Command Line"
This option opens the user settings properties page
This option is the same as exit except it does not close the VM. It leaves the VM still running.
One Special note: These commands have to be run in the same user context as the user currently running the MED-V workspace. This is very important to consider when running non-Microsoft ESD software.
Added a note from the field.