Warning: Creating default object from empty value in /home/design/public_html/wp-content/plugins/paged-comments/paged-comments.php on line 31
Windows XP and Vista Product Key Recovery · Dagon Design

Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Updated Saturday, June 3rd, 2006 at 1:13pm

Windows XP and Vista Product Key Recovery

There are many programs available for extracting the product key from a Windows XP or Vista installation. The only problem is that they generally require the computer to be functional to run. These programs are useless if the operating system is corrupt and the computer will not boot into Windows. Fortunately, there are other options. This article explains how you can retrieve the product key with just the ntuser.dat file from the machine.

Windows Vista/7 Users

I have been informed that this method also works on Windows Vista/7.


Background Information

While this may not sound very useful to the average user, if you work with computers on a daily basis you have most likely ran into this problem: You have to perform a fresh installation of Windows on a computer with a corrupt operating system, and the product key has been lost. This method makes it easy to find.


The first step is getting the ntuser.dat file from the computer. In most cases the easiest method is to remove the hard drive, and connect it to a working machine.

ntuser.dat is generally located here:
C:\Documents and Settings\(User Name)\ntuser.dat
Where (User Name) is the primary account – Most often it is ‘Owner’ or ‘User’

Now that you have the file, you need to be able to view it. I recommend loadhive.exe (Download it here) from matcode.com.

Just run the program and select the file. It will show you a message with more information. It is important that you do not close this program until you are finished viewing the registry, as it temporarily loads the file, and unloads it again when you exit.

Now run regedit. Under HKEY_LOCAL_MACHINE you will notice a new sub-key called NTUSER. Starting with NTUSER go to Software > Microsoft > Windows NT > Current Version.

In the right window, double-click on DigitalProductID. This is the entry that contains the encoded product key.

We want the information in bytes 52 to 66. You can use the chart below for reference. We need the 15 sets of numbers where the 1’s are located.

0000  00 00 00 00 00 00 00 00  ..
0008  00 00 00 00 00 00 00 00  ..
0010  00 00 00 00 00 00 00 00  ..
0018  00 00 00 00 00 00 00 00  ..
0020  00 00 00 00 00 00 00 00  ..
0028  00 00 00 00 00 00 00 00  ..
0030  00 00 00 00 11 11 11 11  ..
0038  11 11 11 11 11 11 11 11  ..
0040  11 11 11 00 00 00 00 00  ..
0048  00 00 00 00 00 00 00 00  ..
0050  00 00 00 00 00 00 00 00  ..

Now that you have the 15 byte encrypted code, you can type it into my decrypter tool:

Web-based version

Windows XP Key Decrypter Tool

Just click ‘Decrypt Code‘ and you will have your 25 digit Windows XP product key!


If you cannot find the DigitalProductId key in the file you loaded earlier, try the software hive located here:


Load it the same way as before. Under regedit, it will generally create the new entries here: HKEY_LOCAL_MACHINE\SOFTWARE_00 (although the loadhive program will tell you where it puts it).

Final Notes

  • The decrypter tool ignores spaces and dashes, and is not case-sensitive.
  • If you cannot find ntuser.dat, make sure you can view hidden and system files.
  • If you are not sure which user account to select, I recommend searching for all ntuser.dat files on the drive, and using the largest one.
  • Do not attempt to open your own ntuser.dat file with Load Hive, because it is already in use, and you already have access to your own registry :)
  • If you cannot find the proper key with the data you need, try the alternate hive file, mentioned in the troubleshooting section above.


Please do not ask me how to retrieve the product key from your Windows CD – it is not possible. Also, please do not ask general Windows questions here. The comments below are only for discussion of this particular retrieval method. If you have Windows questions, or questions about product keys in general, search Google.

  If you have found this page useful, please consider donating. Thanks!

Pages: [30] 29 28 27 26 25 24 23 22 21 201 » Show All

  1. hi!,I like your writing so much! percentage we communicate extra approximately your
    post on AOL? I need a specialist on this house to unravel
    my problem. Maybe that is you! Looking ahead to peerr you.

  2. Outstandinng story there. What occurred after?

  3. Hey very nice blog!

    Feel free to surf to my blog – Google

  4. 447

    Thank you! it worked. Web-based version
    Windows XP Key Decrypter Tool. once I had the 30 numbers and letters entered, it showed me the Product Key Code that was loaded in my computer for Windows XP. Thanks again!

  5. 446
    Charles Thompson

    Well, it’s a start for me…..

  6. Attractive component of content. I simply stumbled upon your site
    and in accession capital to say that I acquire in fact loved account your
    weblog posts. Anyway I will be subscribing on your augment and even I success you get admission to consistently fast.

  7. Affect the mainstream Japanese Pop art style of psychedelic and symbolic art, he created four series design for the cooperation

  8. Whoa means stop immediately; not slow down and take one more step.
    This can serve as a confidence booster for the trainer. The beautiful camping experience
    is not separated from the family.

    My web blog: adelaide showjumping training [sarahclarkequestrian.weebly.com]

  9. I just want to mention I am just all new to blogs and absolutely liked this site. Thanks for revealing your webpage.
    Computer Outlet

  10. The authorities here are generous in the way that they use lower tariff
    during winters to reduce the heating bills for families
    during winters. The international real estate company should have a website that provides all possible information to the interested parties.

    Some of the commercial real estate listings include properties available along with its details like area, locality, estimated
    cost, the person to contact, the broker who is dealing with it etc.

    my weblog – south australian real estate agents

  11. What keywords would you use if you were looking for a private
    eye. In order to use search engine optimization to increase your visibility, your website must be well coded.
    Web surfers are looking for more than advertising; they want information, entertainment and trust.

    Look at my web-site – adelaide seo (http://www.hotfrog.com.au)

  12. might have to negotiate your salary in a tougher
    manner than in a regular face. While there are some pre-packaged tool-kits available, their
    quality isn’t the best. Every last trace of the aforementioned endorsements qualify a technician to go with certain sorts of programming and hardware.

    Also visit my site … computer repair rockhampton [Zella]

  13. Specific strengthening of the different muscles
    can make a huge difference to a career in ballet,
    or any other dance discipline. Arts patrons will have the chance to purchase
    tickets ($125 per person) to the Ballet Ball’s Late Party, which includes a seat for
    the performance. The first two ballet sorts are centered
    much more on conventional dance movements, whilst current could be the adaptation of classical and neoclassical ballet dances.

    Here is my web-site AdelaideBallet

  14. Almost all web sites try to get the attention of different visitors.
    No marketing plan for an online business should leave it out.
    Well web developers join the encounter necessary to design quality sites and search engine optimization so that you can guarantee your website
    is rated highly in search engines like google.

    Here is my weblog; local seo – http://www.youtube.com/watch?v=r8XIqBOmTgc,

  15. Hi there just wanted to give you a quick heads up.
    The text in your content seem to be running off
    the screen in Firefox. I’m not sure if this is a formatting issue or something to do with web browser compatibility but I figured I’d post to let you know.
    The layout look great though! Hope you get the problem solved
    soon. Many thanks

    Also visit my web page: solar panels zim

Pages: [30] 29 28 27 26 25 24 23 22 21 201 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.

Be sure to wrap all code in <code></code> tags.