好库网 好库网首页 | 我的好库
好饱的专栏

设置VMware Workstation在Windows启动时自动启动虚拟机

发布者:好饱
发布日期:2020-5-31 21:58:00   更新日期:2020-5-31 21:58:00
阅读次数:446
评分:4.80
介绍:VMware Workstation在Windows启动时自动启动虚拟机的方法。
正文:

如果使用的是VMware Workstation,则可以将VM设置为“Shared VM”,并将其配置为自动启动(在库中,右键单击“Shared VMs”,然后选择“Manage AutoStart VMs”)。 默认情况下,关闭主机后,共享VM会自动关机。 您可以通过编辑%PROGRAMDATA%\VMware\hostd\ vmAutoStart.xml 并将stopAction值更改为GuestShutdown(如果希望挂起VM,则更改为Suspend)来更改此设置。 对该文件进行更改后,您将需要重新启动VMware Workstation Server服务(并且在重新启动该服务之前,应关闭所有正在运行的共享VM)。

更新:在Workstation Pro 14中,上下文菜单项现在为“Manage VM Power Actions”,并且现在支持将VM配置为在主机关闭时自动挂起。

 

If you're using VMware Workstation, you could make the VM a "Shared VM" and can configure it to automatically start (in the library, right-click on "Shared VMs" and choose "Manage AutoStart VMs"). By default, Shared VMs are subjected to a hard power-off when the host is shut down. You can change this by editing %PROGRAMDATA%\VMware\hostd\vmAutoStart.xml and changing the stopAction value to GuestShutdown (or to Suspend if you'd rather suspend the VM). You will need to restart the VMware Workstation Server service after making changes to this file (and you should shut down any running shared VMs before restarting the service).

Update: In Workstation Pro 14, the context menu item is now "Manage VM Power Actions" and now supports configuring a VM to automatically suspend when the host shuts down.


评论 [发表评论]
账号 密码 还没帐号呢,现在注册一个?

免责声明:好库网所展示的信息由买卖双方自行提供,其真实性、准确性和合法性由信息发布人负责。好库网不提供任何保证,并不承担任何法律责任。