Re: Finding Windows Product Key in MFC

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



CD Key is stored in a Windows Registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion called
DigitalProductId. You need to decode that key.
--
Thanks,
Gabriel Topala
www.gtopala.com

"Tom Serface" <tserface@xxxxxxx> wrote in message
news:uIhdVkAWGHA.5808@xxxxxxxxxxxxxxxxxxxxxxx
I was thinking this too, but I didn't know for sure. It would seem like a
huge security gap if the CD key was easily accessible. It might be buried
in somewhere though since Windows does use it for activation and activation
can happen up to 60 days after installation I think.

Tom

"Vipin [MVP]" <Vipin@xxxxxxxxxx> wrote in message
news:uBP9iaAWGHA.4360@xxxxxxxxxxxxxxxxxxxxxxx
I doubt the product key would be stored somewhere.
I think the scope of the windows product key is limited
to the windows installer.It checks the key, if it is right,
it allows to proceed, else not.

--
Vipin Aravind
http://www.explorewindows.com


"James Simpson" <JamesSimpson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:64F9028A-1F7C-4A86-B706-1732D10077E2@xxxxxxxxxxxxxxxx
Hello,
Currently I am writing an application that requires querying Windows to
see what the Windows product key is (that is the 25 character alpha
numeric
product key, NOT the product id). Currently, I have done research at
many of
the major development sites (CodeProject,CodeGuru) and googled it
without any
luck. Does anyone know how to retrieve the Windows product key via
MFC/WIN32?

Sincerely,

James Simpson
President
Straightway Technologies Inc.






.



Relevant Pages

  • Re: Windows Key Changing...
    ... >Then hopefully you bought Windows XP Pro (Home will not ... >An easier way to read newsgroup messages: ... >> an invalid windows product key or something. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Problem with activation
    ... "nass" wrote: ... so I used that to back up critical files, then bought a new copy of windows ... home and repaired the windows partition. ... Windows Product Key Update Tool Instructions ...
    (microsoft.public.windowsxp.newusers)
  • RE: Problem with activation
    ... so I used that to back up critical files, then bought a new copy of windows ... home and repaired the windows partition. ... When you done the repair with the new Disk did you insert the COA on the ... Windows Product Key Update Tool Instructions ...
    (microsoft.public.windowsxp.newusers)
  • Re: Windows XP License
    ... Windows Product Key Update Tool Instructions ... How can I take advantage of the Microsoft genuine Windows offer? ... If i am using invalid license number windows XP, could i just buy license number from ...
    (microsoft.public.windowsxp.general)