How to Configure Microsoft Virtual Server 2005 to Shut Down Any Guest OS Cleanly

Posted August 2, 2006 by Rob Rogers in Windows

Each guest OS environment runs under the Virtual Server service (vssrvc.exe), which stops when the host OS shuts down. You can configure each guest OS with a default action in the event that the Virtual Server service is closed. The following tutorial explains how this is done.


Edit the configuration of the Virtual Server to shut down a guest OS
1. Connect to the Virtual Server Web interface.
2. Select the Virtual Server name you want to configure, and select Edit Configuration.
3. Under Guest OS configuration, click General properties.
4. You can now modify the Action when Virtual Server stops drop-down list by selecting from the list of options (e.g., To shut down the OS, select the Shut down guest OS option). Click OK.

Now when the host server shuts down, the guest OS will be cleanly closed first. If, however, the host OS simply crashes or is powered off, the guest OS cannot close cleanly. Event ID 1074 will be written in the guest OS System log, notifying the user that the system was powered off by the vmsrvc.exe service.

If you require more control over this functionality, you can shut down the guest OS via the shutdown.exe command-line tool before performing a shutdown of the active host OS, typically as part of a script.

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.