Articles

Find ProductKey via Command Prompt

September 4, 2005 at 12:08:42
Specs: Win98 SE, 950

Is it possible to use Command Prompt to reveal or extract the Win98 SE ProductKey from the registry or is it possible to view the whole registry etc. from same?
If so, what is the Command?
I have used the following command at Command Prompt and also added it to the Win98 Startup Floppy, however it does not display the ProductKey.
%windir%\command\find /n "ProductKey" %windir%\system.dat
If the info within the above command is read from the system.dat how do you unencrypt the system.dat?
{NOTE: When booting from the Win98 Floppy, I chose Start without Cd-rom, then at the A:\>prompt I typed in the word for the .bat file for the above command file name}
Also, I have without success tried to use a couple of keyFinder programs from within DOS and Command Prompt.
Does anyone know what I can do to accomplish my desired task?
Thanks,
Brandy~C

See More: Find ProductKey via Command Prompt

Report •


#1
September 4, 2005 at 12:20:44

See Mesich's response for the answer to your question.
Found using this Site's Search feature as it has already been answered.

Regards,
Bryan


Report •

#2
September 4, 2005 at 13:31:19

I have already tried everything that "mesich" listed and was not able to receive the ProductKey. I have already tried several of the Find ProductKey Programs. The Find ProductKey Programs will work within Windows, but will not work, as described within my first post, via booting with the Win98 Startup Floppy nor via Command Prompt.

I am also wanting to know if it is possible to read the Registry within DOS etc..
Thanks,
Brandy~C


Report •

#3
September 4, 2005 at 14:14:03

Sorry, I thought your desire was as per your subject line of:
"Subject: Find ProductKey via Command Prompt"

But I believe your true goal is to be able to place a floppy in several PCs so that you can find out the ProductKey without having to start up Windows to get to the command prompt. You are looking for more of DOS script to extract the Win98 ProductKey.

Bryan


Report •

Related Solutions

#4
September 4, 2005 at 14:19:15

find /I "productkey"C:\windows\system.dat

For more info see: http://www.csulb.edu/~murdock/find.html on the DOS FIND command.

HTH
Bryan



Report •

#5
September 4, 2005 at 14:32:31

You can download diag.exe from here. It's a small dos program that will extract the product key. I use it all the time to extract the key on systems I rebuild.

You need to boot up using C: and not a bootdisk but you don't need to boot into windows. So even if things are messed up with windows you can usually still get the key. To boot to dos just start tapping F8 before the OS starts to load and choose 'command prompt only' from the boot menu.


Report •

#6
September 4, 2005 at 15:25:57

Attn: Bryco
I do desire more info. than what I listed within the Heading Subject Matter.
I have now mastered being able to use Command Prompt to display the Win98 ProductKey.
The Command, find /I "productkey"C:\windows\system.dat
works great.

Can someone tell me if it is possible to add a command to the Win98 Startup Floppy to display the Win98 ProductKey. If so, what is the command? I have added a Batch File to my Win98 Startup Floppy and can get it to echo the ProductKey that I have placed within the .bat file, but I am wanting to to add a command within a File that will search and find and display the Win98 ProductKey after I have booted with the Floppy and typed in the name of the File that will do the searching.

Attn: DAVEINCAPS
I have downloaded the diag.exe and have used it to display the ProductKey via Command Prompt.
Thanks to everyone who are trying to help me.
Brandy~C


Report •

#7
September 4, 2005 at 19:40:39

[NOTE:....searching for Win98 Productkey via DOS A:\>Prompt}

I wrote a .bat file using:
Edit.com C:\windows\system.dat
and saved it as "PKey.bat" [without the quotes] and added the PKey.bat file to the Win98 Boot Floppy.
When I boot using the Win98 boot Floppy, I choose Start without Cd-rom support, then at the
A:\>prompt I typein "PKey" which then opens the system.dat into the edit.com window.
I then must scroll down to line 5317 Col.1 to find the "Win98 ProductKey".
My question is there a command, that I can add to my batch file that will cause the system.dat to auto open at
Line 5317 Col 1 or at the ProductKey Listing?

Thanks,
Brandy~C


Report •

#8
September 4, 2005 at 23:14:11

This may help.

Report •


Ask Question