If you are like me and use Virtual PC for developing SharePoint solutions, then you may have encountered the error “Virtual PC has detected an invalid or missing Product ID”. It happens because Virtual PC try to find its product ID in registry, (Yes! I know Virtual PC never asked you to enter the Product ID during installion) and if it does not find it there then it displays this error.
Here is the quick fix for this error:
- Open System Properties window by clicking System in Windows Control Panel
- You will get the screen similar to the following
- Copy the 20 digit long number displayed under Registered to:
- Goto Start->Run
- Type regedit, It will launch the registry editor
- Navigate to the following registry node My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Micorosoft\Virtual PC\5.0\Registration
- Edit the value of PID, by double clicking it
- Paste the value of Windows Product ID, you have copied earlier. Following is an example screen shot of registry
- Now you can run the Virtual PC normally 🙂
If you are using Vista make sure its in the correct format:
#####-###-#######-#####
thank you verry good post you help me verry much
What must be done in Vista?
There is no registry key as above:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Micorosoft\Virtual PC\5.0\Registration
Found the Solution!
In Vista the only key that exists is:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Micorosoft\Virtual PC\
so you have to create a new “key”
under this location as: “5.0”
Then under this key create a new key: “Registration”
Then add a new “String Value” with the name: “PID”
Then set the value of the “PID” to the one you copied from the system properties in the control pannel.
Excellent post. Solved my problem. Thank you very much.
Perfect, thank you very much.
Now my VPC is working perfectly on my Vista Business edition.
Thanks to this thread I have Virtual PC running once again in Vista. I did not have to do this first time round, but after updating VPC I had to apply this reg fix to get it to work again.
Muchas gracias panita ese bendito error ya me tenia loco
Thank you very much.
It worked !!