

NET folder (right click, "Permissions.", Advanced, Owner tab, check on "Replace owner on subcontainers and objects") Using such the empowered version of regedit, you need "%userprofile%\desktop\psexec" -i -d -s c:\windows\regedit.exe Go Start and in "Start search" type in: cmd. Remove virtual box drivers (files starting with VBox.) from C:\Windows\system32\drivers\Ĭlean up windows registry: start regedit.exe as an administrator, search for VirtualBox everywhere and thoughtfully but carefully (don't break other stuff) delete the corresponding folders, keys and values.Īt this point, I was blocked because I couldn't remove the children folders (which are VirtualBox network drivers) of Computer/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Enum/Root/NET/ folder. Remove the folders C:/Program Files/Oracle/VirtualBox and %userprofile%\.VirtualBox Uninstall using the VirtualBox uninstaller from Control Panel (for some reason I didn't have one on my machine). Kill google drive, dropbox, and other system-invasive tools (and do this again if you restart during the procedure). Then unplug network cable, turn off wifi. The installer of newer version hanged near the end, so I needed to properly uninstall 5.1.22 first to get it work:ĭownload psexec.exe and CCleaner. My situation: I wanted to update from VirtualBox 5.1.22 to 5.1.28.

(That said, I've applied this procedure twice to my main Windows 7 machine, and the operating system is still running fine.) Please backup your data or/and take a system image first. Disclaimer: this procedure is dangerous and can break your host system.
