Virtual Server Auto-Launch on Service Start

Issue:

When a Virtual Server Host OS restarts, the guest hosts do not automatically start. This is because they have not been configured to start with specified credentials that have access to the .vmc and .vhd files on the Virtual Server. Here’s how to script it: http://blogs.msdn.com/virtual_pc_guy/archive/2006/03/16/550717.aspx

You can set the options in the Virtual Server Administration Website also. Enter the configuration editor, and select General Properties. The Virtual Machine (Guest) must be powered off to get access to the controls for startup. Check “Run Virtual Machine under the following user account” and fill in the user name and password. Choose an action for startup and a delay for when the machine should start.

I’ll be testing this and post any caveats or issues that come up.

About joelgibby
Twitter It sometimes makes me laugh Or cry Splash

Comments

3 Responses to “Virtual Server Auto-Launch on Service Start”
  1. Ryan says:

    Hi Joel,
    As in the post by MadMax on Virtual Guy’s site, how does one implement the script?

    Thanks
    Ryan.

  2. joel says:

    Just copy the text and paste into notepad. Save as a .vbs file and double click to execute. It is a one-off script so it doesn’t need to be added to the scheduler. You could also get a bit more creative and loop it with all your VM names on the machine for multiple guests. Just remember to be mindful that the account you use is now tied to these machines. If you change the password at some point but don’t change it here as well, you’ll get locked out real quick. Leave another comment if you have more questions!

  3. Hamy says:

    Hi
    I’m just new in scripting. But I want to know what exactly will happen after running this script? Where this script will save? How can I remove it in future? How it start with booting? Is there anywhere to manage this kind of scripts?
    You know, that’s very important. To know exactly what will happen because you type your password in plain-text. and that’s a security hole.
    Thank you for your patient ;-)

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!