利用批处理启动或关闭VMware服务
为提高电脑启动速度,节省系统资源,在操作系统中关闭VMware软件的相关服务,并利用如下两个批处理实现VM服务及虚拟网卡的启动和关闭。
启用vmstart.bat:
net start "VMware Registration Service"
net start VMAuthdService
net start VMnetDHCP
net start "VMware NAT Service"
devcon.exe enable *vmnetadapter1
devcon.exe enable *vmnetadapter8
关闭vmstop.bat:
net stop VMAuthdService
net stop VMnetDHCP
net stop "VMware NAT Service"
net stop "VMware Registration Service"
devcon.exe disable *vmnetadapter1
devcon.exe disable *vmnetadapter8