XP下WORKSTATION启动慢导致系统启动时间过长问题的解决方法
程序员文章站
2022-04-10 18:52:16
通常安装过vmwareworkstation导致系统启动过慢,经分析后,发现workstation服务启动时间较长,禁用后效果明显,可workstation是windows...
通常安装过vmwareworkstation导致系统启动过慢,经分析后,发现workstation服务启动时间较长,禁用后效果明显,可workstation是windows的共享基础服务,像我就离不开这个服务的,所以只需下面的脚本就可以解决问题了!(虚拟机路径请更具实际情况填写,要求端路径)
将以下文本复制到记事本,然后另存为"虚拟机.bat"
@echo off
title vmwareworkstation智能启动脚本v1.0
color a
@echo ======================================
@echo vmwareworkstation智能启动脚本 v1.0
@echo create by adobo
@echo qq:100004117
@echo www.beyourman.com
@echo ======================================
@echo 开始任务,请稍后...
echo off
echo 正在启动vm相关服务...
net start "vmware authorization service"
net start "vmware dhcp service"
net start "vmware nat service"
net start "vmware virtual mount manager extended"
echo 正在打开vmwareworkstation软件...
start /w e:\soft-z~1\vmware\vmware~1\vmware.exe
echo vmwareworkstation退出,正在停止相关的服务以释放资源...
net stop "vmware authorization service"
net stop "vmware dhcp service"
net stop "vmware nat service"
net stop "vmware virtual mount manager extended"
echo 相关服务全部停止,任意键退出
将以下文本复制到记事本,然后另存为"虚拟机.bat"
复制代码 代码如下:
@echo off
title vmwareworkstation智能启动脚本v1.0
color a
@echo ======================================
@echo vmwareworkstation智能启动脚本 v1.0
@echo create by adobo
@echo qq:100004117
@echo www.beyourman.com
@echo ======================================
@echo 开始任务,请稍后...
echo off
echo 正在启动vm相关服务...
net start "vmware authorization service"
net start "vmware dhcp service"
net start "vmware nat service"
net start "vmware virtual mount manager extended"
echo 正在打开vmwareworkstation软件...
start /w e:\soft-z~1\vmware\vmware~1\vmware.exe
echo vmwareworkstation退出,正在停止相关的服务以释放资源...
net stop "vmware authorization service"
net stop "vmware dhcp service"
net stop "vmware nat service"
net stop "vmware virtual mount manager extended"
echo 相关服务全部停止,任意键退出
上一篇: 本机每个盘都添加上卷标的命令
下一篇: xcopy 实现批处理拷贝文件或文件夹