溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

如何徹底卸載虛擬機

發(fā)布時間:2020-05-25 13:28:45 來源:網絡 閱讀:1725 作者:一路向前ing 欄目:安全技術

                              如何徹底卸載虛擬機把下面的代碼粘貼到記事本里然后點文件-另存為 文件名填"卸載.bat"文件類型選“所有文件”到了顯示“卸載完成……”的時候就OK了 代碼 cls @echo off CLS color 0a echo 取消DLL文件的注冊... regsvr32 /u /s "%cd%/vmappcfg.dll" regsvr32 /u /s "%cd%/vmappsdk.dll" regsvr32 /u /s "%cd%/vmdbCOM.dll" regsvr32 /u /s "%cd%/vmhwcfg.dll" regsvr32 /u /s "%cd%\V2V\IntraProcessLogging.dll" regsvr32 /u /s "%cd%\V2V\reconfig.dll" regsvr32 /u /s "%cd%\V2V\vhdcvtcom.dll" regsvr32 /u /s "%cd%\V2V\vmc2vmx.dll" regsvr32 /u /s "%cd%\V2V\vpcCvt.dll" echo 正在刪除虛擬網卡請稍后…… :delete VM Network start /wait vnetlib -- remove adapter vmnet1 start /wait vnetlib -- remove adapter vmnet8 start /wait vnetlib -- remove dhcp vmnet1 start /wait vnetlib -- remove dhcp vmnet8 start /wait vnetlib -- remove nat vmnet8 :delservice echo 正在刪除服務... call :刪除服務 vmnetbridge call :刪除服務 VMAuthdService call :刪除服務 vmx86 call :刪除服務 VMnetAdapter call :刪除服務 "VMware NAT Service" call :刪除服務 "VMnetDHCP" call :刪除服務 VMnetuserif call :刪除服務 hcmon call :刪除服務 Vmparport call :刪除服務 vstor2-ws60 call :刪除服務 vstor2 call :刪除服務 vmkbd "%cd%\VMMount\vmount2.exe" /Unregserver netcfg -u vmware_bridge echo. :delfile echo 刪除安裝的文件.... call :刪除文件 %systemroot%\inf\vmnet.sys call :刪除文件 %systemroot%\inf\vmnetBridge.dll call :刪除文件 %systemroot%\inf\netbridge.inf call :刪除文件 %systemroot%\inf\vmnetBridge.sys call :刪除文件 %systemroot%\inf\vmusb.cat call :刪除文件 %systemroot%\inf\vmusb.inf call :刪除文件 %systemroot%\inf\vmusb.sys call :刪除文件 %systemroot%\inf\netadapter.inf call :刪除文件 %systemroot%\inf\vmnetAdapter.sys call :刪除文件 %systemroot%\inf\vnetinst.dll call :刪除文件 %systemroot%\lastgood\system32\drivers\vmnetadapter.sys call :刪除文件 %systemroot%\lastgood\system32\drivers\vmnet.sys call :刪除文件 %systemroot%\lastgood\system32\drivers\vmnetbridge.sys call :刪除文件 %systemroot%\system32\drivers\vmnetadapter.sys call :刪除文件 %systemroot%\system32\drivers\vmnet.sys call :刪除文件 %systemroot%\system32\drivers\vmnetbridge.sys call :刪除文件 %systemroot%\system32\drivers\vmusb.sys call :刪除文件 %systemroot%\system32\drivers\hcmon.sys call :刪除文件 %systemroot%\system32\drivers\vmnetuserif.sys call :刪除文件 %systemroot%\system32\drivers\vmparport.sys call :刪除文件 %systemroot%\system32\drivers\vmx86.sys call :刪除文件 %systemroot%\system32\NETCFG.EXE call :刪除文件 %systemroot%\system32\choice.exe call :刪除文件 %systemroot%\system32\devcon.exe ::以下兩句刪除用戶的配置文件(即虛擬機文件)默認不刪除,需要刪除請將下面兩句前面的::去掉 ::rd /s /q %APPDATA%\vmware ::rd /s /q "\Virtual Machines" echo. :delreg echo 刪除注冊表.... reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc." /f :deluser echo 刪除用戶__vmware_user__... net user __vmware_user__ /delete net localgroup __vmware__ /delete pause>nul|echo 卸載完成...... goto :eof :刪除文件 echo 正在刪除文件 %* del /f /q "%*" >nul 2>nul goto :eof :刪除服務 echo 正在刪除服務 %* net stop %* 2>nul sc delete %* goto :eof vae la

如果對您有幫助請記得微信添加公眾號“紅人網絡”并關注

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI