VMware相关服务启动关闭脚本

VMware相关服务

VMware Authonrization Service:用于启动和访问虚拟机的授权和身份验证服务
VMware DHCP Service: IP自动分配协议——它不启动 虚拟机不能上网
VMware NAT Service: 虚拟地址转换协议——它不启动 虚拟机不能上网
VMware USB Arbitration Service:U盘接口服务——它不启动 虚拟机无法识别usb
VMware Workstation Server:用于虚拟机的注册和管理远程访问服务

启动脚本:

VMwareStart.bat

echo "开始启动网卡和服务"
netsh interface set interface VMnet1 enabled
netsh interface set interface VMnet8 enabled
net start "VMware Authorization Service"
net start "VMware DHCP Service"
net start "VMware NAT Service"
net start "VMware USB Arbitration Service"
net start "VMware Workstation Server"

关闭相关服务脚本:

VMwareStop.bat

echo "开始关闭启动网卡和服务"
netsh interface set interface VMnet8 disabled
netsh interface set interface VMnet1 disabled
net stop "VMware USB Arbitration Service"
net stop "VMware NAT Service"
net stop "VMware DHCP Service"
net stop "VMware Authorization Service"
net stop "VMware Workstation Server"

作  者: Jony.K.Chen
出  处:http://www.cnblogs.com/lxcy/
版权声明:本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。
特此声明:所有评论和私信都会在第一时间回复。也欢迎园子的大大们指正错误,共同进步。
声援博主:如果您觉得文章对您有帮助,可以点击文章右下角推荐一下。您的鼓励是作者坚持原创和持续写作的最大动力!

原文地址:https://www.cnblogs.com/lxcy/p/8157661.html