Link to home
Start Free TrialLog in
Avatar of DVation191
DVation191

asked on

Retrieve XP CD Key

Given the following scenario...
WinXP Pro or Home, Will not boot into normal mode, safe mode or safe mode command prompt. Last known good configuration fails. Repair install fails. Now the OS needs to be wiped clean and reloaded.

How do you get the CD key before wiping it out? Let's see how creative you guys are =)


Avatar of sunray_2003
sunray_2003
Flag of United States of America image

I would just the key from the back or front of the windows xp CD.. LOL .. Am I not creative ?

Avatar of DVation191
DVation191

ASKER

I couldn't argue with that if I tried =P
On a more serious note, some ideas I was thinking about were maybe using some kind of dos-based cd key retriever though I've never seen one before.

Or maybe there is some way to get it in a Win PE environment... or maybe an ERD 2000 envronment...I dunno...just ideas that never really amounted to anything
I was thinking about this.
some of the websites i looked says about seeing product key or product ID going here
c:\windows\system32\$winnt$.inf

well, in my xp pro that file doesnot contain product key or ID. I donot see any reason why they would keep it in that location and be so obvious.
Anyway , if that is true in some windows xp machines, i wud use knoppix or any live CD and retrieve that file and get the product key out of it..
mine doesn't either...looks very much like an automated installation file for xp though...maybe the winnt.sif gets copied to that file...which would only apply if the OS was an OEm machine...but if it was an OEM machine, there would be an XP sticker on the side...so i'd never encounter that scenario

http://www.snapfiles.com/get/everest.html download and install Everest Home Edition, under operating system you will find the product key and ID. # of the current OS.
Sorry just reread your question and if you can't boot you can't install Everest...duh!
dos-based cd key retriever  http://www.freedownloadscenter.com/Utilities/
System_Maintenance_and_Repair_Utilities/Registry_Viewer_for_Win9x_ME_NT_2K_XP.html      
DVation191,

this is where i got that $winnt$ info
http://personal-computer-tutor.com/abc2/v15/vic15.htm

i think that is only for attended/automated installation .. not sure just go through
woodendude, I see a dos-based registry reader in your link....buy how does that help me get the XP Key?
sunray_2003, after reading the page I can confirm that scenario is only with unattended installs of windows. like I said above, most installs that don't require a key are OEM machines, and OEM machines with XP on them already have the key on the sticker attached to the computer.

unfortunately, the three tools the site provides for getting cd keys all need to be run within windows.
Thats applies to windows 98. Windows XP doesn't store the CD Key in the registry in clear text like 98 does...otherwise I'd be awarding you points right now =)

Not to mention that the homepage isn't in english so I have no idea if it even supports NTFS.

However if there was some way to find where the encrypted cd key is stored, and a program that could unencrypt it...now *that* would be something!
you need a prog like http://www.michaelstevenstech.com/kf141.zip then run ERD Commander from a boot cd and keyfinder.exe from there! it may work with a bartpe disk but i have not tried it
as above but use a bootable floppy disk to run ms dos and then just run the keyfinder.exe or have them files on the floppy disk and run them in dos on that computer that you cant boot up in to windows.

keyfinder.exe cannot be run in dos, it's a win32 binary.
keyfinder.exe will run from erd commander on a boot cd it may run on a bart pe disk as well all so if you open regedit from dos find this key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion  export it to a flopy disk then use a basic test computer runing the same version of windows import the key to the regerstry after backing up the key thats thare then use keyfinder.exe on the test computer then put the backup back
Running keyfinder.exe in an ERD 2003 environment gives the following error...
"The application has failed to start because the application configuration is incorrect"
>>Running keyfinder.exe in an ERD 2003 environment gives the following error...

Why you run on 2003? I thought you just want to retrieve the key from WinXP Pro or Home
I do. ERD 2003 is the latest version.
http://www.winternals.com =)

ERD 2003 has nothing to do with windows 2003.
I had better luck with Bart's PE.

I built out the iso and included the keyfinder.exe...it actually ran but threw an error about missing CRTDLL.DLL

Ok, so I found this .dll and copied it to the ram drive, as well as keyfinder.exe. It still complained about the missing .dll. I put them both on the floppy and it complained as well.

So then i found another keyfinder (InsaneWare Keyfinder http://www.majorgeeks.com/download4421.html )
It complained of a missing MSVBVM60.DLL. So I copied both files to the RAM drive...then it just wouldn't run. lol. so now what?

So I put the required dll in the system32 folder *before* creating the bart pe iso...and it ran. but it didn't work as i suspected because there is no loaded registry to pull the value from!

"Could not query registry value"

soooo....back to square one.

the registry is stored in files on the hard drive...you wouldn't think it would be too hard to write an application that could pull the key from that from the command line...but being that I have no programming skills, I couldn't do this myself =(
can you get an older version of ERD commander we use the old erd commander no numbers after the name all so the copying of the reg key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion to another computer works as long as you dont reboot or log off
andymsmith18, how would that help me get the cd key from xp?
ASKER CERTIFIED SOLUTION
Avatar of andymsmith18
andymsmith18

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
andymsmith18, can you provide with me a link for software that can read the registry in a PE envrionment? I think the situation is tricky because there is no DOS in a PE environment...only a command line. If you can give me links to software that can do this, I'd love to try your suggestion!
more specifically, do you know which key actually contains the product key? It looks like it could be LicenseInfo, but DigitalProductId could be it too? this way I don't have to merge the entire key...
I found out it was DigitalProductId by trying to run keyfinder with it deleted and it failed. So DigitalProductId contains the hashed cd key...now what program do i use to retrieve it in PE?
try this prog http://www.matcode.com/codes.htm named load hive all so you must copy the hole key acording to the tec that gave me the info at work
or your working copy of xp can blue screen on you when you merge the reg
holy crap it worked lol
this is how i did it....

1. Created a Bart PE iso, nothing extra added, just used defaults.
2. Booted dead system from PE CD.
3. Downloaded LoadHive from http://www.matcode.com/codes.htm and put it on a floppy.
4. Ran it from the floppy in PE, loaded C:\WINDOWS\System32\Config\software ... it mounted the hive as SOFTWARE_00.
5. Ran regedit, found the SOFTWARE_00 subkey and navigated to CurrentVerion, exported that subkey to the floppy.
6. I moved to a working XP machine, backed up my DigitalProductId key. I edited the reg file from the floppy to only contain the DigitalProductId  key.
7. I merged the DigitalProductId  key from the floppy, ran Keyfinder (Magic Jellybean Software) and it pulled the key !
8. I merged the backup I made and ran it again, and sure enough it had my original key.

very very cool...I did not think this was possible. Thanks for all the help!
congrats Dvation.. I see you are very happy about knowing the trick.. gudos to andymsmith18.

when I find time, I will do the same and post here

SR
i must share the credit for this with a 64 year old man we think he may be 200 years old he works at our repair centre and seams to fix computers just by looking at them some sort of zen thing i asked him how to get a cd key from a unbootable system and he came up with the swapping reg files to a working system then i figerd out how to do it. if i ever learn half the stuff he knows about computers i wood be ruining Microsoft from my front room :-)

 
Andy,
If you ever learn half of that stuff and start your own company , let me know , I would be ready to be hired in.

SR
no problem sunray i have put you on the list :-)
Use Jellybean to get your XP CD Key or your Microsoft Office CD Key.

http://www.magicaljellybean.com/keyfinder.shtml
internethotspot, how can I run that software if I can't boot into windows?
just look in your Windows XP Box, i'm not creative at all regarding this matter
i got the windows xp installation cd with my pc and its cd-key is on the barcode sticker on the bottom of the pc.
You can get all your software keys by downloading the completely free Belarc advisor: http://www.belarc.com

Aaron
comworks,

And how do you propose I run that if I can't boot into windows like my original question asks?
Install a copy of linux on your machine, modify the copy of belarc to run in "Linux mode", this will read the "C" drive, and voila, give you the product key. Nah, i actually didnt ready the question right...Sorry.

Aaron
www.stupidmedidntreadthequestionright.com
@ DVation191
BartPE + MagicJellyBean Keyfinder (PE-Edition) worked for me on a Win2k harddisk.

BartPE v3.1.2
http://www.oion.net/qnd/bootcd/plugindepot.cgi -> File name: keyfinderpe
made my own keyfinderpe-plug-in with: http://www.royalbox.plus.com/pe/ -> "run from ramdisk"
had compiled it to the iso-file
had copied crtdll.dll into the /i386/system32/ directory of the iso-file
burned it with nero and the keyfinder worked.

with the keyfinderpe version you can choose from which windows installation you would get the registration key.
on my suspected harddisk two windows 2000 was found (winnt and winnt5).



*sorry for my bad english*
thanks! that's certainly a nice alternative...
Have you tried to restore the broken XP PC registry?

http://support.microsoft.com/default.aspx?scid=kb;en-us;q307545

It's a great big mind boggling fix... good luck

heh

DaveDeFeet
i think the posting of cracks and illegal cd keys on this site is against the rules of the forums and very unfair on the software makers we try and help people with a genuine problem with there computer using legal and safe solutions that way a fix we use is safe and wont stop working the next time some one downloads a service pk i hope a mod will read your post and take the correct action
Netminder, with all due respect, I have no idea what you're talking about.

The question has been alive for 3 months now, and has even been on the front page of EE, with no issue. There is nothing illegal at all about retrieving a cd key from a computer (I'm sure you've seen PLENTY of people suggest using Magically Jellybean Keyfinder to get their key in windows, and those threads don't get shut down...) The only difference is my thread asks how to get a key from a system that won't boot so a reinstallation of windows can be accomplished...and that's a big difference.

I think the information in a thread like this is what makes EE so incredibly valuable to premium account holders like myself. Shutting it down because one person hasn't read the member agreement and rules (who otherwise would have known posting sites to find serials is defintely not allowed here....) would really, really be a shame.

Please reconsider your actions. Thank you,

 - DV
i agree with dvation191 only the link to the crack site needs to be removed from this question the rest is legal and safe
Netminder - as a newbie here let me take a shot at this.

I recently wanted to wipe a notebook PC clean and reload it from scratch.  For a variety of reasons I wanted to make sure that there was nothing left on the hard drive, and this poor notebook had been added to domains, removed from domains, and used by multiple users in a zillion different ways.  But the problem was...which of my XP license keys did I use for it?  I have quite a number of legal licenses for XP, but it's always a problem when you need to find the right one so that when you reload you don't try to activate one that in use somewhere else.

So...I used google to find a little program that let me see the XP key that was in use on that laptop.  Of course Microsoft wouldn't let me use that XP CD key anywhere else (isn't that what activation is all about?) but at the same time I wanted to reactivate XP on that laptop with my perfectly legal, paid-for key.

If it weren't for activation I might agree with you that getting CD keys off systems could open the door to piracy, but I don't think this is the case.  Besides, limiting access to this type of program on this site is akin to saying that Google is more useful that EE!

-GT
hi netminder ok if we look at the question how to get the cd key from an unbootable computer then the answer i gave works i like you have every cd floppy and key i ever purchased but a lot of people build there nice new computer go out spend £80 on OEM windows come home read the instructions and load the operating system they put the cd case with the sticker in a draw leave the xp cd in the drive for a day or 2 then take it out and put it with the rest of the Cd's they have, now six months down the line they have a problem that needs a repairer install so they get out the cd hunt around for the case and cant find it the computer wont boot and with out the key they cant reload windows enter my answer a good safe way to recover the cd key which dose not hurt any one as the key is paid for. now if they cant get the cd key do they go out and get another copy of xp or do they go to a crack site and download a crack my guess is they get a crack. so which is the better option what wood Microsoft want them to do ? so as a member on this site i ask you to remove the link posted by olsonjw which i reported to lee tutor but keep the solution i worked out for other people to use i have all so posted the solution on http://forum.pcmech.com/ another good tec site with strict rules regarding cracks and they don't have a problem with it
Netminder,

My full time job is that of a Systems Administrator, but part-time, I work as a technician for a major retail chain ( I won't say who, but I work there for the great discount and extra cash... ) It is very common for customers to bring in their computers that are custom built machines. When we receive these machines, they obviously don't have the OEM COA on the side of the PC like most OEM machines do. When these particular systems cannot boot, even in safe mode, we are often forced to reinstall the OS (fresh install, because a repair install fails...). At this point, the only way to keep it legal is to use the customers current CD key. If, for whatever reason, the vendor did not provide them with a COA or they have lost or misplaced it, we need a way to retrieve the key in order to do the OS reinstallation. Granted, this scenario does not present itself often, but when it does, this procedure is invaluable. It is also great for clients that have brought in their PC and actually *do* have the COA but it's at home (they didn't realize they'd need it at the time of dropoff) or so we don't have to try to contact them by phone for a CD Key they might not even know how to identify.

That, and only that, was the basis for my question. I assure you, if there was any intention on using the information posted here to steal CD keys, there are much much easier ways of doing so readily available elsewhere. It is those locations anyone looking to do anything illegal can go, because obviously EE is not that kind of place.

Thanks for your time,
 - DV
thank you netminder shame about the extra points ;-) glad you removed the post with the link to the crack site as well
hey andy smith, I was just curious if you had a full explanation with regards on how to do what you said posted somewhere on another site or something and also URL's to the required downloads ie the pebart cd and the nero plugin you were referring to , etc ?

If not then I just need the URL's to them 2 items so that I can make a copy of that for future refernce, if that is ok.

Thanks

Kind regards

Gecko
gecko_au2003,

 I don't know how to link to a specific post in a thread on EE, but if you refer to the post i made on 12/16/2004 03:38PM EST, I summarize the steps I took to make this all work.
ok I looked at that but if you refer to andysmiths posted here :

===========================================

Accepted Answer from andymsmith18
Date: 12/15/2004 11:04AM PST
Grade: A
 Accepted Answer  


ok first boot with a bartpe cd with a dos reg editor on it open the windows regerstry and export the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion save it as a reg file on a cd if you have the nero plug in for bartpe or any usb drive it wont fit on a floppy its 2 big
next go to a working xp computer open regedit and export the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion to back it up then put the cd or usb drive in to the working computer and import the reg key then use keyfinder or any prog to see the key right it down then import the backup reg key back in to the working computer do not reboot or turn off the working computer with out puting the old key back

=================================================

Yes I am aware it takes more space in the database, however if you look at his 2nd and 3rd line down in his comment with regards to that registry key and having to save it to a cd using the nero plugin or a usb drive, For starters I do not have a USB drive and 2nd of all I would need the nero plugin.

I was asking where do I get this specific nero plugin that he is reffering to ? also where is the ISO of bart PE cd so I can get that as well.

Thanks

Kind regards

Gecko
Dvation191/Andysmith,
                                  Very creative solution to a perplexing situation..........applause! Now I am wondering how you circumvent the activation part of this particular scenario. You have successfully restored the puter after retrieving the key and the puter boots for the first time and you are posed with the inevitable MS activation screen. What do you do? I know in the past my previous versions of Wndows have come with a 5 activation limit but I believe they have removed that ability, I may be wrong on this hence the question? I also read on another website about a file (will not mention in respect to the rules) that if saved and reused will keep you from having to have to re-activate in the likely event you must perform a clean install, has anyone experience with this and does it work? I would never use this accept on a legal copy of Windows and for all I know you may not be able to use one file from an activated copy to activate another but this was very interesting to me and I have not had the opportunity to test it yet. I have on many occassions though when having to reinstall just called MS and gotten a new key for activation no fuss no muss. Great thread and I enjoyed readin it and happy to be a new member as well. Will post any and all relevant information I can add when appropriate.
               
Assuming you are doing everything legally, you will likely be able to reactivate online. If you are denied from too many changes, a call to Microsoft to explain your situation has never failed me, nor have I heard of them denying anyone else over the phone. I stress the legal a legitimate part of this answer!
gecko_au2003, the reason you are having problems is you didn't read my instructions carefully enough.

"ok first boot with a bartpe cd with a dos reg editor on it "
 > NO ..., boot with bartpe, with no extras on it.

"open the windows regerstry and export the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion save it as a reg file on a cd"
 > NO ... put LoadHive on a floppy and run it in PE. *ONLY* extract the subkey containing the product key and put it on the floppy

" it wont fit on a floppy its 2 big "
 > Because you are trying to save the entire hive instead of the subkey I said to....

Since you missed my instructions above....

1. Created a Bart PE iso, nothing extra added, just used defaults.
2. Booted dead system from PE CD.
3. Downloaded LoadHive from http://www.matcode.com/codes.htm and put it on a floppy.
4. Ran it from the floppy in PE, loaded C:\WINDOWS\System32\Config\software ... it mounted the hive as SOFTWARE_00.
5. Ran regedit, found the SOFTWARE_00 subkey and navigated to CurrentVerion, exported that subkey to the floppy.
6. I moved to a working XP machine, backed up my DigitalProductId key. I edited the reg file from the floppy to only contain the DigitalProductId  key.
7. I merged the DigitalProductId  key from the floppy, ran Keyfinder (Magic Jellybean Software) and it pulled the key !
8. I merged the backup I made and ran it again, and sure enough it had my original key.
I did read your instructions , I am just confused to as why you say do it that way and andy smith is saying you will need the nero plugin or a usb disk drive or something to that extent because it is too large to fit on floppy !?!?!?!?!?!

That is the part I did not understand, why you are saying you basically dont need it except for the load hive and he is saying about using nero plugin or a usb disk drive ??
Well that was his suggestion based on information he obtain elsewhere. When I actually *did* the suggestion my steps that I provided was the way I had to do it to make it work. If you want to know how to do it specifically the way andy suggested, you might want to open another thread =)
ok thanks for the help DVation191 !!
hi gecko just to confirm dvations post my answer is the long way round to go dvations made it easer by changing it thats the best thing about this web site some one finds an answer then we refine it
ok I will have to give that a go sometime :)
Anyone have a program where you can type in the DigitalProductId or ProductId and have it converted to the CD Key?

I can easily boot and grab the ProductId or DigitalProductId using 'BOOTDISK' found here: http://home.eunet.no/~pnordahl/ntpasswd/

But I still would need to convert the DigitalProductId or preferably the ProductId to the CD Key.
internethotspot, send me an email please. My email address is on my profile :)
If that is ok with the EE rules :)
I think I found it: http://www.alphacomps.com/tools/keyviewer/keyviewer.php#DigitalProductId

So my solution to this question would be to run:
'BOOTDISK' (creates a boot disk with registry editor) found here:
http://home.eunet.no/~pnordahl/ntpasswd/

Navigate to the ProductId key and write it down.

Then use this key viewer to manually type in the ProductId which will convert it into the Product Key.
http://www.alphacomps.com/tools/keyviewer/keyviewer.php#DigitalProductId
Complete full instructions:

Create bootdisk from the cd050303.iso
found here: http://home.eunet.no/~pnordahl/ntpasswd/

Copy KeyViewer.exe to bootable floppy disk
found here: http://www.alphacomps.com/tools/keyviewer/keyviewer.php#DigitalProductId

Boot (dead) system using the bootdisk (CD)
*Note: BIOS must be set to boot from CD

1. Select disk where the windows installation is located.  Generally this would be the first one listed (is also notated by Boot). Press '1' [Enter] to select the first drive listed.

2a) Enter path to the registry files.  (Press [Enter] to select default)

2b) Select which part of the registry to edit.  In this case, you want 'software' so type: software [Enter]

3. You should now see the loaded hives indicates <software>
Select '9' [Enter]
At prompt [1020] do the following:
Type: cd Microsoft\Windows NT\CurrentVersion [Enter]
Type: hex DigitalProductId [Enter]

This will list the value of the DigitalProductId.  Look for the line 0030.
Starting from the 5th column (following 00 00 00 00) write down the next
15x HEX code values (each set of 2 characters is a hex value).
You should end up with 30 characters, ending on the row beginning with
0040, in the 3rd column.

Eg. 7F6A514C8E5A9156EA34771AB7F202

Now that you have what you need, you can either just eject your CD and
shut down the dead PC, or shut down properly by typing:
q [Enter]
q [Enter]
n [Enter]
exit [Enter] (then wait for prompt)
Eject CD and shut down.

From either a boot floppy also containing the key viewer, or from a working system,
run KeyViewer.

Select the tab, 'Raw Key'.
Enter in the 30 character Hex code you wrote down (no spaces) and press the
Decode button.

Voila - you have your Product Key.
oops - KeyViewer only works from within Windows (my bad)
(note, KeyViewer is not the same as the Jellybean Key Viewer/ finder)
thats another method to attain the windows key, as long as it works lol. The easiest way to get it back is to make a backup copy of it in the first place whilst windows is working using magic jelly bean keyfinder and saving it to a text document on a cd - r or even on another partition of your hard drive that you dont format and you can access the text file in dos using the edit command or even print it off or write it down before you do the re install :)

That only works for people who know what they are doing or unless someone made a utility in visual basic 6 or another language that did that for users so that they dont have to worry about losing there key :)
heh heh - no that's not a valid number
Not only did I find this entire topic amusing, but found it quite amusing that someone opened the door on Netminder's cubicle.  This was even more hilarious:

Netminder

Expert Points this month

        8

wow!

Now that is funny, I don't care where you're from.

Most of the question probably does belong behind closed doors though, I agree with that.

17000+ views.  Wonder why.
It's not about points - just the satisfaction of finding the answer.  There are two perfectly working solutions here; both start out the same.  The only difference is the first you export part of the registry, import it into a working machine, then decode, then repair the registry.  The second, you don't export anything, you write down the HEX, type it into a program, and it provides the decoded key.  No points, but some personal satisfaction.
"..........wondering how you circumvent the activation part of this particular scenario"

Copy the WPA.DBL and WPA.bak from \windows\system32 directory, to a floppy, USB thumb drive, burn to a CD, wherever.....(BEFORE the process of reinstall/reformat/etc.)

This is the file to replace back to the dir (\windows\system32) after a reinstall and when activation is required again.

You must place the file while booted into safemode.
i think we are getting away from the question a bit here how to get my cd key if i cant boot in to windows the info on the wpa is good but i think it wood be better placed in a hints and tips section our objective here is not to bypass any windows security features or help people use illegal software its for the recovery of your cd key when you need to reinstall a legal licenced copy of windows. as a computer engineer i keep a few test computers at work that i format every 2 months i have never had a problem with ms activating my computers on the phone all my software is OEM and i change parts sometimes weekly if the computer needs activating a quick call is all thats required and i am good to go my thinking is if Microsoft did not have to spend money on anti piracy the maybe the programs it sells wood be cheaper to the rest of us, or bill will give himself a pay rise :-)
There are a few suggestions for getting the XP key from DOS here http://personal-computer-tutor.com/abc2/v15/vic15.htm .
It talks about the C:\WINDOWS\SYSTEM32\$WINNT$.INF method mentioned earlier on in this thread, but it also points to another site which its self has a program available for download which is supposed to extract the Key under DOS from an "attended install of the Corporate version of XP". Perhaps this can help you?
Regarding the WINNT inf file...that only applies to unattended installations or OEM installations...okay in some scenarios, but not others.

Thanks for the link, I've seen that before. Unfortunately I've tried all those programs and none of them (at least from what I've tried) seem to work in DOS mode as claimed.
Well to the 17,000+ views of this question; IMHO this question should be closed, edited and locked; there is nothing to add of benefit to genuine fault resolution, but I will add in my arrogance my opinion from experience and this weeks repair work as an example, to which I hope some will take note.

I work providing support/repair to the home office/small business market.

An XP PC without a sticker attached to the PC is unlicensed, the license requires attachment. Pain as this maybe to tell someone. I read license keys from PCs using the various methods available and already listed, many licenses are bogus (corporate or large oem) on PCs which are neither or no longer from a corporate environment and hence unlicensed (under the terms of the license) or not on a PC from a large OEM eg Dell who may legitimately use a restricted key tied to their hardware BIOS strings, such keys read from PC will not work with an oem xp disk for this reason - on alternative hardware, but all large oems stick an alternative key which can be used for re-install on the PC -it is a license requirement.

Simply put if the license isn't there it isn't licensed, cracks, patches etc exist and are installed by the amateur repair people to supply PCs at discounted prices, which seriously affect people like myself who work honestly to compete in a difficult market.

The origional question simply reads to me on an unlicensed PC which isn't working, whose license may have been moved elsewhere how do I get the key back to re-use, regardless of its' legality.

Having said that the question has validity, but for a quite different reason from that asked, to which I return to this weeks work example, from which I think there is much learning and benefit for readers.

I was called following a customer who had had a total hard drive failure on the offchance I might recover the data and save them a months work lost. They had already got someone out to replace the drive and had spent 3 days restoring data and customizing the PC back to photo editing, paying specialists to set up their software, but were unable to reliably browse the Internet. On enquiring about the replacement hard drive I was told he had taken the PC away and pre-installed XP (they offered the disks, but he said he didn't need them) but left leaving the PC struggling to install updates off the Internet, but they had been desperate to get things back up and running and had proceeded to add their apps etc (antivirus first from the logs and their credit, SP2 from CD), they had updated the antivirus scanned the PC, but just couldn't get more than the first page on the Internet.

Simple I thought - malware, but negative on scans, reinstall modem - negative, but connection OK, enabled full logging of firewall, hmm lot of port 445 stuff on boot not so good. So checked the license using belarc, not the same as on the side of the machine, suspected patched/cracked XP had been installed. Why? well simply put from the logs it saved the time to install XP by imaging the new drive and of course this guy built cheap PCs....

To the lab and tracked a new virus created same time as all OS files (sent to the AV labs - my first!!), but what damage how many exe, dll corrupted - logical action wipe the disk and use the customer license to install XP, but in view of work installed and virus appeared stopped by removal and deleting associated registry entries a re-install of the OS might be better, but customer OS pre SP1 and a corrupted re-install likely and as some will know the license on the label might not work with any oem SP2 and still might corrupt after further updates installed as file replacement would be required to scrub any damaged OS exe/dll from this new virus or patched OS.

The resolution (I hope, but will have to see what the AV guys come up with) was to apply all SP2 and all updates to the Dell oem setup disk as administrative updates and make a new install CD and then upgrade the installation using this. Of  note 4 OS files were replaced by this on comparated scans; all of which I suspect were to disable windows activation.

All I would like to say to finish is to think carefully that the scenario posed by the question and repairs in this situation only support those who deal in unlicensed copies of XP and beat the honest people out of the market. By refusing to re-install the OS on PCs where physical licensing is not present (as I do) you are ensuring real techs can continue in business and ultimately it is better to have a genuine OS installed properly, which won't be deactivated at a later date when MS puts in place fully its updates on verification process. And those who pose activation cracks, think carefully what you are installing, not what you are removing from windows.

I dislike like many the price of XP and its' activation process, in irony I had to reactivate my disk recovery PC this week again as I use a caddy to recover hard disk contents. Those who can't afford MS use linux, all my PCs 'made to measure' are linux with MS as an option.
I would dis agree completely with the delete it and close it aspect, I found this Question with regards to attaining the key from a dead machine very useful and a very good reference for future reference(s).

If an admin or mod could please get back with regards to what is happening to this question because if it is about to get deleted then I would like to know before it is !!
Just to note I didn't say delete but closed, locked and edited (grammh comment to note as reason for latter), I would be a hyppocrite to suggest otherwise having used and being prepared to use methods in this post to diagnose issues with installations as I exampled.
There are 2x solutions provided that work very well.  One involved copying the registry and pasting it into a working machine, using Jellybean or a similar program to see the CD Key (accepted answer), and the other that I provided is to boot from a CD, view the digital product ID in Hex, type it into a program that converts it into the CD Key.  I don't mean to sound arrogant when I say from a technician's point of view, it would be nice to see the question and answers and avoid the philosophical debate.
aida32  is now  named everest you can get it from this site http://www.lavalys.com/ but you must be loged in to windows to use it so it wood not help in this situation
once again, read the question - the system does not boot into windows at all therefore you cannot run a windows program to get the key
The best thing would be to run a windows environment such as ERD commander from wininternals, then use the regedit option that way, but that will only give you the Hex version, which you will need to convert it.

I'm not 100% sure on the location of the string either, but i'm sure its not too difficult to find out.
This thread is too wide due woodendude's post at http:Q_21236913.html#12787166
Admin - there have been two answers provided and well explained.  The only thing simpler would be a program that does it all in one step - auto boot, extraction and conversion of the digital product id into the CD key.  But as this isn't possible, there can really be no better answer than the two already provided.

However, there are programs worth considering that may be able to repair a bad installation, unless the problem is a failed hard drive, in which case only copying the data to a good drive then repairing the installation would (possibly) work.
internethotspot - can you explain just ONCE MORE? :P :P :P :P
GinEric,
What amused me was the speed at which Netminder came rushing out of the cubicle, without thinking carefully enough, and skillfully extricating herself(?) by putting the onus back onto the contributors. Less steering, more navigation please Netminder!
Regards,
John
Netminder
A very fair point and my apologies for needling you..wholly undeserved it seems.
Regards,
John
Quick and hassle-free way to get the key back before re-installing is:

Windows Product Key Viewer & Changer,a useful util. that helps you out there on this point.

http://www.miscsoftware.com/winprod.html
Thank you for your comment, bwimail. However, the scenario presented is one in which windows is unbootable. Being that this a win32 application, we would not have an environment in which to run this utility, as was pointed out when a competing win32 key grabber was suggested.
I am just checking if the new code works or not..
the code is not working.
The code needs to be worked on again cos it failed miserably to say the least as I got a notification , unless this is one of those April fools deals and we just look like total idiots now for expecting it to be true lol.

Oh well..... :P
nope not working!
got an email saying that someone else had posted in this question - what happened to it or where did it go as this question is from a long time ago ?
<<Thank you for your comment, bwimail. However, the scenario presented is one in which windows is unbootable. Being that this a win32 application, we would not have an environment in which to run this utility, as was pointed out when a competing win32 key grabber was suggested.>>

A Win PE boot disk/key would provide the necessary environment.
Folks,

I'm still monitoring this question. As I've noted on several occasions (most recently http:#a14928609), comments that add nothing to the solution of this thread are being deleted, since we have no mechanism to "lock" the question. As such, you might receive a notification only to find that the comment has already been deleted.

"Nothing to the solution" specifically means "repeating a previously made suggestion". A follow-up response to a previous suggestion, such as jjituiohy's above, is acceptable. Off-topic posts will be judged on their merits, but we are attempting to keep this thread as "clean" as possible.

Netminder
Site Admin
Hi is this Question Closed. I have the correct solution for the question
repair with xp cd installation.