Active3 years, 3 months ago
- How To Show Installed Windows Serial Key Using Command Prompts
- How To Show Installed Windows Serial Key Using Command Prompt Key
- How To Show Installed Windows Serial Key Using Command Prompt Windows 10
Recently my windows 7 installation broke and refuse to boot (see here).
I wish to reinstall but only have 1 cd key.
Is there a way to retrieve my current cd key with the use of only command prompt or linux live disk?
Note: I am unable to boot into windows 7 but do have access to a minimal command prompt in recovery menu. (safe mode wont boot).
Step 2: In the Enter a product key dialog, type in the new product key and then click Next button to change the product key. Method 5 of 5. Use Command Prompt to change windows 10 product key. Like previous versions of Windows, Windows 10 also supports changing product key from Command Prompt. Fortunately, finding the serial number of your PC can be done quite easily from the Command Prompt, Windows 8.1’s built-in command line interface. To launch Command Prompt, go to the Start Screen and type “cmd”. Command Prompt will be the top hit, and click or tap on its tile to launch the program.
Community♦
Razor StormRazor Storm27933 gold badges77 silver badges2020 bronze badges
4 Answers
No, you cannot do it from WinRE command line
Connect the non bootable drive to another Windows PC using a usb to hard drive adapter, install Product Key on the Host PC, run Product key and use File > Select Source.
When the new window opens tick the third radio button, browse to the Windows folder on the non boot drive and hit ok.
How To Show Installed Windows Serial Key Using Command Prompts
MoabMoab52.3k1414 gold badges9797 silver badges161161 bronze badges
I've had really good success with the Magic Jelly Bean KeyFinder tool with MS-Windows 7 (32-bit and 64-bit editions), plus other versions of MS-Windows and most MS-Office products too:
How To Show Installed Windows Serial Key Using Command Prompt Key
![Prompt Prompt](/uploads/1/2/6/8/126893526/671462024.jpg)
Magic Jelly Bean KeyFinder
http://www.magicaljellybean.com/keyfinder/
http://www.magicaljellybean.com/keyfinder/
Randolf RichardsonRandolf Richardson
It is possible to get the key from a Linux live disk (e.g. a Ubuntu Live DVD), or any linux system that has access to the computer's drive (booted from usb, dual booted etc) - this may also be possible from another windows system without third party apps (example). Then you can get the licence by:
- Get a registry reading/editing tool. I used
chntpw
, it is currently available in the Fedora and Ubuntu software repositories. - Get the registry data. You will need the file that contains the registry data from
HKLMSOFTWARE
, this should be located at/Windows/System32/config/SOFTWARE
(text case may vary, could be/WINDOWS/system32/config/SOFTWARE
etc). If you can read the hard disk this should be accessible - Extract the data. Run
chntpw
with the path to the registry file - e.g. with the windows partition mounted on/mnt
:And get the data from theHKLMSOFTWAREMicrosoftWindows NTCurrentVersionDigitalProductId
key - you may be able to usedpi
command, otherwise you can read the key data directly usinghex MicrosoftWindows NTCurrentVersionDigitalProductId
.
If you don't succeed, you could check the hardware to see if it has the key embedded using the answers here. Or check for a sticker that came with the computer with the licence key written on.
Also if the Windows is a retail or OEM licence, you may just find a unique ID as the key is for use one time only.
More info:
chntpw
siteprobably
![Key Key](/uploads/1/2/6/8/126893526/404745008.png)
WilfWilf
Use Hiren's Boot CD. You could also download each tool individually, but might as well grab the CD and the boat load of recovery tools.
nc4pk7,3621111 gold badges5252 silver badges6868 bronze badges
How To Show Installed Windows Serial Key Using Command Prompt Windows 10
surfasbsurfasb21k33 gold badges4545 silver badges7272 bronze badges