Created
July 7, 2024 11:11
-
-
Save Sorecchione07435/81f89cef80fd3dff3aab8470aaf87e79 to your computer and use it in GitHub Desktop.
uninstall.bat (VirtualBox 6.1.50)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM This script is for VirtualBox 6.1.50! | |
| "%SystemRoot%\SysWOW64\regsvr32.exe" /s /u "%~dp0x64\x86\VBoxClient-x86.dll" | |
| "%SystemRoot%\System32\regsvr32.exe" /s /u "%~dp0x64\VBoxC.dll" | |
| "%~dp0x64\VBoxSDS.exe" /UnregService | |
| "%SystemRoot%\SysWOW64\regsvr32.exe" /s /u "%~dp0x64\x86\VBoxProxyStub-x86.dll" | |
| "%SystemRoot%\System32\regsvr32.exe" /s /u "%~dp0x64\VBoxProxyStub.dll" | |
| "%~dp0Utils\x64\devcon.exe" remove "USB\VID_80EE&PID_CAFE" | |
| sc delete "VBoxUSB" | |
| sc stop "VBoxUSBMon" | |
| sc delete "VBoxUSBMon" | |
| sc delete "VBoxNetAdp" | |
| "%~dp0Utils\x64\devcon.exe" remove "sun_VBoxNetAdp" | |
| sc delete "VBoxNetLwf" | |
| "%~dp0Utils\x64\netcfg.exe" -v -u "oracle_VBoxNetLwf" | |
| sc stop "VBoxSup" | |
| sc delete "VBoxSup" | |
| rmdir /s /q "%~dp0Home" | |
| mkdir "%~dp0Home" | |
| REG delete HKCU\Environment /F /V VBOX_USER_HOME | |
| exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment