熱搜:win11繞過硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤啟動盤 真正純凈版的win7系統(tǒng)
時間:2015-04-09 16:02:59 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150409/44695.html 手機查看 評論 反饋
大。561.99 MB類別:操作平臺
echo 刪除文件。。。
rmdir /s /q “%AllUsersProfile%\Application Data\VMware” 》nul 2》nul
rmdir /s /q “%AppData%\VMware” 》nul 2》nul
rmdir /s /q “%CommonProgramFiles%\VMware” 》nul 2》nul
rmdir /s /q “%WinDir%\inf\VMware” 》nul 2》nul
IF “%PROCESSOR_ARCHITECTURE%” neq “x86” rmdir /s /q “%CommonProgramFiles(x86)%\VMware” 》nul 2》nul
del /f /q “%WinDir%\system32\vmnc.dll” 》nul 2》nul
del /f /q “%WinDir%\SysWOW64\vmnc.dll” 》nul 2》nul
del /f /q “%WinDir%\system32\vnetinst.dll” 》nul 2》nul
del /f /q “%WinDir%\system32\vnetlib*.dll” 》nul 2》nul
del /f /q “%windir%\system32\drivers\vstor2-mntapi10-shared.sys” 》nul 2》nul
del /f /q “%WinDir%\SysWOW64\drivers\vstor2-mntapi10-shared.sys” 》nul 2》nul
del /f /q “%AllUsersProfile%\桌面\VMware.lnk” 》nul 2》nul
del /f /q “%AllUsersProfile%\Desktop\VMware.lnk” 》nul 2》nul
del /f /q “%USERPROFILE%\桌面\VMware.lnk” 》nul 2》nul
del /f /q “%USERPROFILE%\Desktop\VMware.lnk” 》nul 2》nul
del /f /q “%WinDir%\system32\drivers\vmnet*.sys” 》nul 2》nul
del /f /q “%WinDir%\system32\drivers\vmparport.sys” 》nul 2》nul
del /f /q “%WinDir%\system32\drivers\VMkbd.sys” 》nul 2》nul
del /f /q “%WinDir%\system32\drivers\vmx86.sys” 》nul 2》nul
del /f /q “%WinDir%\system32\drivers\vmusb.sys” 》nul 2》nul
del /f /q “%WinDir%\system32\drivers\vmci.sys” 》nul 2》nul
del /f /q “%WinDir%\system32\vmnetdhcp.exe” 》nul 2》nul
del /f /q “%WinDir%\system32\vmnat.exe” 》nul 2》nul
del /f /q “%WinDir%\system32\vmnetbridge.dll” 》nul 2》nul
del /f /q “%WinDir%\SysWOW64\vmnetdhcp.exe” 》nul 2》nul
del /f /q “%WinDir%\SysWOW64\vmnat.exe” 》nul 2》nul
echo.
echo 刪除 __vmware_user__ 賬戶和用戶組 。。。
net localgroup users __vmware_user__ /del 》nul 2》nul
net localgroup __vmware__ /del 》nul 2》nul
net user __vmware_user__ /del 》nul 2》nul
echo.
echo 恢復(fù)配置文件。。。
ver|find “6.”》nul && (set profilepath=%AllUsersProfile%)
ver|find “5.”》nul && (set profilepath=%AllUsersProfile%\Application Data)
start /wait str.exe preferences.ini 0 0 /R /asc:“%cd%” /asc:“VMwareDir” /A 》nul 2》nul
start /wait str.exe environments.xml 0 0 /R /asc:“%cd%” /asc:“VMwareDir” /A 》nul 2》nul
start /wait str.exe “%profilepath%\VMware\hostd\config.xml” 0 0 /R /asc:“%cd%” /asc:“VMwareDir” /A 》nul 2》nul
start /wait str.exe “%profilepath%\VMware\hostd\datastores.xml” 0 0 /R /asc:“%cd%” /asc:“VMwareDir” /A 》nul 2》nul
start /wait str.exe “%profilepath%\VMware\hostd\stats\hostAgentStats.xml” 0 0 /R /asc:“%profilepath%\VMware” /asc:“hostdDir” /A 》nul 2》nul
start /wait str.exe “%profilepath%\VMware\hostd\config.xml” 0 0 /R /asc:“%profilepath%\VMware” /asc:“hostdDir” /A 》nul 2》nul
net stop “VMware NAT Service” 》nul 2》nul&&sc delete “VMware NAT Service” 》nul 2》nul
net stop VMnetDHCP 》nul 2》nul&&sc delete VMnetDHCP 》nul 2》nul
net stop VMnetAdapter 》nul 2》nul&&sc delete VMnetAdapter 》nul 2》nul
net stop vmusb 》nul 2》nul&&sc delete vmusb 》nul 2》nul
net stop VMnetBridge 》nul 2》nul&&sc delete VMnetBridge 》nul 2》nul
net stop vmci 》nul 2》nul&&sc delete vmci 》nul 2》nul
echo.
sc delete “vstor2-mntapi10-shared” 》nul 2》nul
sc delete “VMparport” 》nul 2》nul
sc delete VMUSBArbService 》nul 2》nul
sc delete VMnetDHCP 》nul 2》nul
sc delete “VMware NAT Service” 》nul 2》nul
sc delete VMAuthdService 》nul 2》nul
sc delete VMnetuserif 》nul 2》nul
sc delete VMnetAdapter 》nul 2》nul
sc delete vmkbd 》nul 2》nul
sc delete vmx86 》nul 2》nul
echo.
pause》nul|echo 卸載完成,最好重新啟動一下計算機,因為有些驅(qū)動可能需要重啟后才能刪除。。。。。。
exit
上面就是Linux安裝VMWare出現(xiàn)藍屏的解決方法的介紹了,出現(xiàn)該問題的主要原因是VMWare有殘留文件等,將其清除就能解決問題了。
發(fā)表評論
共0條
評論就這些咯,讓大家也知道你的獨特見解
立即評論以上留言僅代表用戶個人觀點,不代表系統(tǒng)之家立場