Getting the Product ID in Windows.

Just starting out? Need help? Post your questions and find answers here.
cbailey
User
User
Posts: 65
Joined: Sat Jun 04, 2005 4:05 am

Getting the Product ID in Windows.

Post by cbailey »

The name says it all :). Looking for a way to get the Windows Product ID in PB. I want to write a small program that will tell if you have the Retail, OEM, or Upgrade version of Windows. Thanks!
cbailey
User
User
Posts: 65
Joined: Sat Jun 04, 2005 4:05 am

Post by cbailey »

Oops, I forgot to mention one small problem. I want to retreive the Product ID from a non-booted drive. For example, I take the HD out of the computer, put it in a test computer, and access the PID on the non-booted drive. I know with a running windows system, it's just a matter of reading a registry key, but how do we load the hive of another HD? Or is there another way?
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

You can load the hive(s) with http://regeditpe.sourceforge.net/
from then on, you read from them much like you would on a running system.
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Post Reply