VMware相关服务启动关闭脚本
程序员文章站
2022-03-07 12:14:48
VMware相关服务 启动脚本: VMwareStart.bat 关闭相关服务脚本: VMwareStop.bat ......
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"
上一篇: this的四种绑定规则实例讲解