Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The host system where the VMware is located automatically starts up and boots the virtual machine operating system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Two Microsoft gadgets, instsrv.exe and srvany.exe, are used (download address https://link-pan.sankuai.com/link/ZDc)

1. Download these two files and put them on D disk or somewhere else, such as D:\ tools.

2. Find the installation path of vmware.exe. Take the local machine as an example: e:\ VMware Workstation\ vmware.exe. The path to the virtual machine profile to start is D:\ vmare\ windows2003\ windows server 2003.vmx for the configuration file windows2003.vmx of my 2003 virtual machine

3. Create a new service vmautostart, start-run, enter cmd,cd D:\ tools, and enter instsrv VM_AutoStart D:\ tools\ srvany.exe

4. Register the service, start-run type regedit to open the registry, navigate to HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ vm_autostart New key: "Parameters" in the "Parameters" key, create a new string "Application", the value of the string: "e:\ VMware Workstation\ vmware.exe"-x "D:\ vmare\ windows2003\ windows server 2003.vmx" (if you want to boot and load two virtual machines Only need to add a virtual machine profile path after that)

5. Set the startup status of the virtual machine-run enter services.msc to open the "service", select the properties of vm_autostart-log in, select "local system account", and check "allow the service to interact with the desktop", so that the vmware startup interface will appear after the computer is booted.

6. Restart the computer! Note: vmware will run automatically when you restart your computer, but the first time you need to remove the box hook that pops up every time, such as "prompt", press the power off button after removal, restart the computer, and vmware will save your settings, so that vmware will not pop up these dialogs every time and get stuck there. Restart your computer without pressing power off and vmware will not save your settings!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report