解决安装vmware以后,系统服务增多,系统变慢的问题。

新建批处理.bat文件。在使用vmware之前,打开这些服务,按1开启,不用了之后按2关闭服务

 

@echo off
cls
echo 用于VMware Workstation V7.1.4-385536,其他版本请修改
echo 按 1 开启
echo 按 2 关闭
echo.
SET slect=0
SET /P slect=输入1 or 2 :
IF /I "%slect:~0,1%"=="1"  GOTO 1
IF /I "%slect:~0,1%"=="2"  GOTO 2
exit

:1
echo 进行服务设置
sc config ufad-ws60 start= AUTO
sc config VMAuthdService start= AUTO
sc config "VMware NAT Service" start= AUTO
sc config VMnetDHCP start= AUTO
sc config VMUSBArbService start= AUTO
echo 服务设置成功  开始启动服务
net start ufad-ws60 Service
net start VMAuthdService Service
net start "VMware NAT Service"
net start VMnetDHCP Service
net start VMUSBArbService
echo 服务启动成功

echo OK 运行完毕
echo 按任意键退出
pause>nul
exit

:2

echo 开始停止服务
net stop ufad-ws60
net stop VMAuthdService
net stop "VMware NAT Service"
net stop VMnetDHCP
net stop VMUSBArbService
echo 停止服务成功

echo 进行服务设置
sc config ufad-ws60 start= DISABLED
sc config VMAuthdService start= DISABLED
sc config "VMware NAT Service" start= DISABLED
sc config VMnetDHCP start= DISABLED
sc config VMUSBArbService start= DISABLED
echo 服务设置成功 结束vmware-tray.exe 进程
taskkill /f /t /im vmware-tray.exe
echo OK

 

echo 删除启动项
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v “vmware-tray” /f
echo 删除成功
echo OK 运行完毕
echo 按任意键可退出
pause>nul
exit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值