Virtual PC and Windows 7

This morning while trying to spin up one of my Virutal PCs I ran into some peculiar error messages.  In case the same thing happens to you, the workaround is pretty simple. 

When I opened Virtual PC and selected my VMC file I received the following message:

Could not register the virtual machine.  The virtual machine configuration could not be added. User does not have sufficient access rights.

Even if I ran Virtual PC as administrator I still got that error.  The fix is to create a new virtual machine.  When you do so, make sure to point to your existing VHD file.  At this point you’ll probaly get this message:

Virtual PC . . . was unable to write to one of its virtual hard disks.

The fix here is to reference the VHD file by share name, not drive name.  So instead of simply pointing to C:\MyVirtualPCs\MyFavoriteVirtualPC.vhd, you have to point to \\ComputerName:\MyVirtualPCs\MyFavoriteVirtualPC.vhd.  Now, since I keep my VHD files on an external hard drive, this meant that I had to create a share on its parent directory. 

Thanks to Damir Dobric for posting the solution!

This entry was posted in Windows and tagged , , . Bookmark the permalink.

6 Responses to Virtual PC and Windows 7

  1. Angela says:

    This led me in the right direction but the key here is that the VHD MUST be in a folder that is SHARED! It took me 2 hours to figure this out because even if you put in the path as suggested above, if the folder isn’t shared it still won’t work!

  2. Sam says:

    Thank you very much, you saved a day :)

  3. JM says:

    It’s much way easier than the steps you have posted above, with all due respect. What I searched was this steps:
    - Go to your .vhd file (Your Hard Disk –> program files –>windows xp mode —> .vhd file
    - Click ‘properties’ and on that main menu, uncheck the option “Read-only”. Click ok and apply changes.
    -Run your virtual pc file, and it should go like a charm! ^^

  4. Olivia says:

    Thanks to JM, now it work nicely!

  5. Rabeya Bibi says:

    Thanks a lot JM……you saved me from loads of troubles….really appreciate it.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>