码迷,mamicode.com
首页 > 系统相关 > 详细

VMware相关服务启动关闭脚本

时间:2017-12-31 15:28:14      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:验证   work   地址   enabled   size   border   int   start   nbsp   

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"

 

VMware相关服务启动关闭脚本

标签:验证   work   地址   enabled   size   border   int   start   nbsp   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!