Batu69 Posted July 28, 2016 Share Posted July 28, 2016 f you lost or forgot where you had stored your Windows product key, here is a solution for you. Today we will see how to retrieve the product key in an installed copy of Windows 10, Windows 8 or Windows 7 with a single command. It is a simple solution to extract your product key from the OS installed on your PC without using any third party software. Here we go. Retrieve the product key in Windows 10, Windows 8 and Windows 7 You need to open a new command prompt instance and run the command as described below. Open a new command prompt window. Type the following command: wmic path softwarelicensingservice get OA3xOriginalProductKey It will immediately show you the product key. That's it. If this command fails for you or you need a VBScript to retrieve the product key, then refer to this article: How to view your product key in Windows 10, Windows 8 and Windows 7. Article source Link to comment Share on other sites More sharing options...
jeffeuh Posted July 28, 2016 Share Posted July 28, 2016 this is exactly what we love. Simple, basic, runnable on each windows version, no script, no vb, no exe. just few words made the job. Thanks for this tips. Very usefull. Link to comment Share on other sites More sharing options...
petok Posted July 28, 2016 Share Posted July 28, 2016 This is command for integrated key in bios and if have OEM brand motherboard. Link to comment Share on other sites More sharing options...
Holmes Posted July 28, 2016 Share Posted July 28, 2016 I have windows seven ultimate installed in a virtual machine and I wanted to keep the keep as when I installed it it wa activated I didnt need to activate it I used a visual basic script to see the key that is in the registry encoded: Quote Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) Function ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 x = 14 Do Cur = Cur * 256 Cur = Key(x + KeyOffset) + Cur Key(x + KeyOffset) = (Cur \ 24) And 255 Cur = Cur Mod 24 x = x -1 Loop While x >= 0 i = i -1 KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput If (((29 - i) Mod 6) = 0) And (i <> -1) Then i = i -1 KeyOutput = "-" & KeyOutput End If Loop While i >= 0 ConvertToKey = KeyOutput End Function The original website I got that from is here: That told me what my key was. Here is the website I got that from: http://www.howtogeek.com/206329/how-to-find-your-lost-windows-or-office-product-keys/ It worked for me. This method just displays your key in a box it doesnt give you the option to save it to a file. Link to comment Share on other sites More sharing options...
vitorio Posted July 28, 2016 Share Posted July 28, 2016 Great finding to both Batu69 and Holmes. Another set of instructions to my library. Thanks both. Link to comment Share on other sites More sharing options...
Grey Ghost Posted July 28, 2016 Share Posted July 28, 2016 https://github.com/Superfly-Inc/ShowKeyPlus/releases Link to comment Share on other sites More sharing options...
npo33770 Posted July 29, 2016 Share Posted July 29, 2016 Here is another one: WinProdKeyFinder https://github.com/mrpeardotnet/WinProdKeyFinder/releases/ Link to comment Share on other sites More sharing options...
Holmes Posted July 30, 2016 Share Posted July 30, 2016 I have a program that can tell me what my key is I was just posting a way to do it without a third party program. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.