Set up VMware to automatically boot and boot the virtual machine operating system with system boot

Source: Internet
Author: User

Set up VMware to automatically boot and boot the virtual machine operating system with system bootreprinted March 15, 2012 19:50:53
    • Label:
    • VMware/
    • Virtual Machine/
    • Windows/
    • Parameters/
    • Tools/
    • Server
    • 21370

As a network manager, VMware is a must, but in practice, we may install VMware on the server, enable multiple systems, but when the server restarts or other non-human, when the network administrator is not in the case, VMware is not with the system to boot, This is very cumbersome, how to get VMware to boot and boot the virtual machine OS with the system! Inevitably, business servers don't run uninterrupted for 365 days a year as we expect. The possibility of a sudden power outage in the company, or a sudden restart of the server, will cause the virtual machine in the computer to boot and no longer run. And if the system administrator just left, then the consequences will be self-evident.

Therefore, the implementation of virtual machine boot automatically, can be said to achieve the normal operation of the company's server is an indispensable link.

It is very simple to implement the auto-start step for booting. Here are two gadgets for Microsoft. Instsrv.exe and Srvany.exe

Microsoft's official description of Instsrv.exe is as follows:

Installsand Uninstalls executable services and assigns names to them. It's a little stuff that loads services.

It is used as follows: Instsrv <service name> <srvany path> (where Srvany path is the tool Srvany.exe)

Explanation, Srvany.exe is a small program that Microsoft has used to register a program as a service. It can be implemented to speak any program set up as a service startup. : http://www.bibidu.com/fileview-598118.html

1, it is worth noting that after downloading these two files, the two files will be placed on the D disk or elsewhere such as D:\tools.

2, understand the installation path of Vmware.exe, take this machine as an example: E:\VMwareWorkstation\vmware.exe. To start the virtual machine profile path, the path to the configuration file for my 2003 virtual machine WINDOWS2003.VMX is D:\vmare\windows2003\windows server 2003.vmx

3, the new service, assuming the service named Vmautostart, open Run, enter the CMD character, CD into the two folders we just put D:\tools, type the command line is: Instsrv Vm_autostart D:\tools\srvany.exe,

4, registration service, run->regedit in the registry, navigate to Hkey_local_machine\system\currentcontrolset\services\vm_autostart New item: "Parameters "In the" Parameters "entry, create a new string" Application ", the value of the string:" E:\VMwareWorkstation\vmware.exe "-X" D:\vmare\windows2003\windows SERVER2003.VMX "

(If you want to load two virtual machine systems on the boot, just add a virtual machine profile path later)

5. Set the virtual machine boot state

Management Tools-Services, select the properties of the Vm_autostart-log in, select "Local System Account" and tick "allow service to interact with desktop", so that the VMware boot screen will appear when your computer is powered on.

6, restart the computer to try!

Note: When you restart your computer, VMware will run automatically, but for the first time you will be prompted to remove the front marquee hooks such as "tips" each time you remove them, then press the Power off button to restart your computer, and VMware saves your settings. This will prevent VMware from popping up these dialogs every time. Restart your computer without pressing the Poweroff button VMware will not save your settings!

7. Delete Service

Enter Msdos mode

Stop the Vwware service

net stop Vmwareautorun

Delete Service

D:\tools\instsrv.exe Vmwareautorun Remove

Original: http://blog.csdn.net/lanxe/article/details/7358367

Set up VMware to automatically boot and boot the virtual machine operating system with system boot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.