Solution for "Virtual PC has detected an invalid or missing Product ID" error

By Namwar Rizvi - Last updated: Friday, March 27, 2009 - Save & Share - 10 Comments

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:


  1. Open System Properties window by clicking System in Windows Control Panel
  2. You will get the screen similar to the following
  3. system-properties1

  4. Copy the 20 digit long number displayed under Registered to: 
  5. Goto Start->Run
  6. Type regedit, It will launch the registry editor
  7. Navigate to the following registry node My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Micorosoft\Virtual PC\5.0\Registration
  8. Edit the value of PID, by double clicking it
  9. Paste the value of Windows Product ID, you have copied earlier. Following is an example screen shot of registry
  10. virtual-pc-registry

  11. Now you can run the Virtual PC normally 🙂
Posted in Configuration, Solutions • Tags: , , Top Of Page

10 Responses to “Solution for "Virtual PC has detected an invalid or missing Product ID" error”

Comment from Mike Roma
Time May 19, 2009 at 8:06 am

If you are using Vista make sure its in the correct format:

Comment from ILE
Time October 20, 2009 at 1:11 pm

thank you verry good post you help me verry much

Comment from Johann
Time November 3, 2009 at 7:17 am

What must be done in Vista?

There is no registry key as above:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Micorosoft\Virtual PC\5.0\Registration

Comment from Johann
Time November 3, 2009 at 8:48 am

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.

Pingback from Chris: Geek Guy » How to resolve “Virtual PC has detected an invalid or missing Product ID”
Time March 12, 2010 at 12:50 pm

[…] solution is basically as described here, except I had to create the registry keys and values as they were missing on my machine. Share […]

Comment from Michael Cone
Time March 22, 2010 at 11:09 pm

Excellent post. Solved my problem. Thank you very much.

Comment from Lightning
Time September 1, 2010 at 3:18 pm

Perfect, thank you very much.

Now my VPC is working perfectly on my Vista Business edition.

Comment from graeme871
Time September 28, 2011 at 8:06 pm

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.

Comment from Pedro
Time December 8, 2011 at 4:12 pm

Muchas gracias panita ese bendito error ya me tenia loco

Comment from Alberto Dente
Time May 1, 2013 at 11:35 pm

Thank you very much.
It worked !!

Write a comment