Answered by:
Can't mount VHD using the ribbon

Question
-
I installed Virtualbox and it changed the file association for VHD files. I tried changing it back by setting Windows Explorer as the default for Open With... but I don't get the Drive Tools tab in the ribbon when selecting a VHD. The Open With... dialog did not show Windows Explorer as an option so I had to browse to c:\windows\explorer.exe
The same thing happened with ISO files when I installed ImgBurn but I changed it to open with Windows Explorer and that fixed it -- the Open With... dialog DID show Windows Explorer as an option.
Double-clicking a VHD results in the mouse cursor flickering between the normal cursor and cursor with hourglass, until reboot.
Any idea how to repair this?
- Moved by Anthony_Mann Friday, March 2, 2012 12:27 AM (From:Windows 8 General)
Thursday, March 1, 2012 4:28 PM
Answers
-
I was able to compare registry entries after I installed Windows 8 on my laptop, here were the changes I made that fixed the problem.
Changed this key
[HKEY_CLASSES_ROOT\.vhd]
@="progId_VirtualBox.Shell.vhd"
"Content Type"="application/x-virtualbox-vhd"
to this
[HKEY_CLASSES_ROOT\.vhd]
@="Windows.VhdFile"
Changed this key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithProgids]
"progId_VirtualBox.Shell.vhd"=hex(0):
to this
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithProgids]
"Windows.VhdFile"=hex:
Delete these keys
[HKEY_CLASSES_ROOT\progId_VirtualBox.Shell.vhd]
@="Virtual Hard Disk"
[HKEY_CLASSES_ROOT\progId_VirtualBox.Shell.vhd\DefaultIcon]
@="\"C:\\Program Files\\Oracle\\VirtualBox\\VBoxRes.dll\",-305"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithProgids]
"Windows.VhdFile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\UserChoice]
"Hash"="ph3EwuI1Lc0="
"Progid"="Applications\\explorer.exe"
[HKEY_USERS\S-1-5-21-3249287440-138130609-251100822-1001\Software\Microsoft\Windows\Roaming\OpenWith\FileExts\.vhd]
[HKEY_USERS\S-1-5-21-3249287440-138130609-251100822-1001\Software\Microsoft\Windows\Roaming\OpenWith\FileExts\.vhd\UserChoice]
"Hash"="jIKnFOQ8Wpg="
"Progid"="Applications\\explorer.exe"
- Proposed as answer by BrianEhMVP Wednesday, March 7, 2012 11:42 PM
- Marked as answer by Nicholas LiModerator Wednesday, April 4, 2012 3:37 AM
Wednesday, March 7, 2012 3:37 PM
All replies
-
-
I was able to compare registry entries after I installed Windows 8 on my laptop, here were the changes I made that fixed the problem.
Changed this key
[HKEY_CLASSES_ROOT\.vhd]
@="progId_VirtualBox.Shell.vhd"
"Content Type"="application/x-virtualbox-vhd"
to this
[HKEY_CLASSES_ROOT\.vhd]
@="Windows.VhdFile"
Changed this key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithProgids]
"progId_VirtualBox.Shell.vhd"=hex(0):
to this
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithProgids]
"Windows.VhdFile"=hex:
Delete these keys
[HKEY_CLASSES_ROOT\progId_VirtualBox.Shell.vhd]
@="Virtual Hard Disk"
[HKEY_CLASSES_ROOT\progId_VirtualBox.Shell.vhd\DefaultIcon]
@="\"C:\\Program Files\\Oracle\\VirtualBox\\VBoxRes.dll\",-305"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\OpenWithProgids]
"Windows.VhdFile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vhd\UserChoice]
"Hash"="ph3EwuI1Lc0="
"Progid"="Applications\\explorer.exe"
[HKEY_USERS\S-1-5-21-3249287440-138130609-251100822-1001\Software\Microsoft\Windows\Roaming\OpenWith\FileExts\.vhd]
[HKEY_USERS\S-1-5-21-3249287440-138130609-251100822-1001\Software\Microsoft\Windows\Roaming\OpenWith\FileExts\.vhd\UserChoice]
"Hash"="jIKnFOQ8Wpg="
"Progid"="Applications\\explorer.exe"
- Proposed as answer by BrianEhMVP Wednesday, March 7, 2012 11:42 PM
- Marked as answer by Nicholas LiModerator Wednesday, April 4, 2012 3:37 AM
Wednesday, March 7, 2012 3:37 PM