The MED-V Blog

The Microsoft Enterprise Desktop Virtualization blog.

Information on the message: “The MED-V workspace must be closed before Windows can be shutdown. Click Cancel and close the MED-V Workspace.”

Information on the message: “The MED-V workspace must be closed before Windows can be shutdown. Click Cancel and close the MED-V Workspace.”

  • Comments 4
  • Likes

InfoButton When you run the MED-V Client on the Windows Vista or Windows 7 operating system, you may get a warning message when you attempt to log out of Windows while a MED-V workspace is still running:

(Waiting for) MED-V

The MED-V workspace must be closed before Windows can be shutdown. Click Cancel and close the MED-V Workspace.”

image

In MED-V version 1, there is no way to bypass this screen if the workspace is still running when a user attempts to logoff. The reason behind this design was to ensure that the workspace would be properly stopped to prevent corruption of the underlying virtual machine. Depending on how the workspace policy is configured a workspace will either save the state of a virtual machine (default) or shut down the virtual machine (needed in multi-user scenarios.)

If an administrator wants a more automated way to stop the workspace (other than right-clicking the MED-V system tray icon and selecting “Stop Workspace”) you can leverage the command line equivalent of stopping a MED-V workspace inside a batch file or script:

C:\Program Files\Microsoft Enterprise Desktop Virtualization\Manager\kidaroCommands.exe /stop

This command does not require elevation to run.

Steve Thomas | Senior Support Escalation Engineer

clip_image001 clip_image002

Bookmark and Share
Comments
  • Thanks for the post - I don't suppose there's any other way to launch this except from a shortcut, say, on a user's Desktop? You mentioned, or suggested, that maybe this issue might be addressed in the next version of MED-V?

  • But even with the command line running from a BAT/CMD or VBscript using /stop, it still displays a prompt to confirm the shutdown.  Is there any way to bypass that and just force the shutdown silently?

  • I use this command to give a clean one click reboot with no interaction.  Change the shutdown switch if you want it to completely shutdown.

    "C:\Program Files\Microsoft Enterprise Desktop Virtualization\Manager\kidaroCommands.exe" /exit

    shutdown /r

  • Seems one could also adjust this reg key on the host: technet.microsoft.com/.../cc784400(WS.10).aspx

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment