VirtualBox 2.2无法卸载解决方案

google到的,做个记录。(ps 卸载2.2是为了装2.2.2,该版本解决了2.2中client os无法获取IP地址问题)

For those unable to uninstall VBox 2.2:
To be able to uninstall you would need to copy the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion?\DIFxApp\Components registry key (and its sub-keys) from the HKEY_CURRENT_USER to the HKEY_LOCAL_MACHINE branch.

Here are the steps for doing this:

    1. run the registry editor (press windows + R , type regedit and press OK)
    2. in the left pane browse to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion?\DIFxApp\Components -> there should be some sub-keys having GUID names located under the “Components”
    3. export the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion?\DIFxApp\Components to some file (right-click the “Components” key, select “Export”, type a file name where you want to export the settings (e.g. C:\foo.reg) )
    4. open the exported .reg file (either with notepad or some other text editor or right-click it in explorer and select “Edit”)
    5. substitute the HKEY_CURRENT_USER with HKEY_LOCAL_MACHINE in the file, save and close the ditor.
    6. import the .reg file (either double-click it in the explorer or in the registry editor use menu File->Import-> browse to a file, select it and press “Open”)

Once this is done you should be able to uninstall.