Windows 8 and 8.1 Forums

Recovery windows 8 product key from windows.old

  1. #1

    Posts : 7
    Windows 8.1

    Recovery windows 8 product key from windows.old

    Hi all,
    I have upgraded to windows 8.1. I was wondering if the product key that is now associated to 8.1 is the same that were associated to my windows 8. Unfortunately, I have lost the product key of windows 8, and I would like to know how to recovery the old product key from the windows.old folder that have been created during the upgrade. Is it possible?

    Thank you!

      My System SpecsSystem Spec

  2. #2

    Posts : 5,592
    ME, XP,Vista,Win7,Win8,Win8.1

    Is this a OEM manufacturer's PC with Pre-installed Windows 8?
    If yes
    Have you made the OEM manufacturer's Recovery Disks?
      My System SpecsSystem Spec

  3. #3

    Posts : 7
    Windows 8.1

    No, it's not oem
      My System SpecsSystem Spec

  4. #4

    Posts : 5,592
    ME, XP,Vista,Win7,Win8,Win8.1

    I have lost the product key of windows 8,
    The product key will be in box or in the MS Store email.
      My System SpecsSystem Spec

  5. #5

    Posts : 7
    Windows 8.1

    Quote Originally Posted by theog View Post
    I have lost the product key of windows 8,
    The product key will be in box or in the MS Store email.
    I have lost the email,too:-(
      My System SpecsSystem Spec

  6. #6

    The 8.1 key is the same as the 8.0 key after the upgrade. Run this VB script to get the key:

    Open Notepad. Then copy all the data in the Code box below and paste it into Notepad.

    Click File / Save as and save it as "ShowKey.vbs" on the Desktop. Include the double quotes or Notepad will add .txt to the end of the name.

    Right click on ShowKey.vbs on the Desktop and select Run as Administrator.

    Output is in a window on the Desktop. Click Yes to save it to Windows Key.txt in the same folder Showkeys.vbs is in which in this case should be your Desktop. It would be a good idea to print that file or save it somewhere so when you need it, it's available.

            Set WshShell = CreateObject("WScript.Shell")
            Key = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
            DigitalID = WshShell.RegRead(key & "DigitalProductId")
            ProductName = "Product Name: " & WshShell.RegRead(Key & "ProductName") & vbNewLine
            ProductID = "Product ID: " & WshShell.RegRead(Key & "ProductID") & vbNewLine
            ProductKey = "Installed Key: " & ConvertToKey(DigitalID)
            ProductID = ProductName & ProductID & ProductKey
            If vbYes = MsgBox(ProductId & vblf & vblf & "Save to a file?", vbYesNo + vbQuestion, "Windows Key Information") then
               Save ProductID
            End if
            Function ConvertToKey(Key)
                Const KeyOffset = 52
                isWin8 = (Key(66) \ 6) And 1
                Key(66) = (Key(66) And &HF7) Or ((isWin8 And 2) * 4)
                i = 24
                Chars = "BCDFGHJKMPQRTVWXY2346789"
                    Cur = 0
                    X = 14
                        Cur = Cur * 256
                        Cur = Key(X + KeyOffset) + Cur
                        Key(X + KeyOffset) = (Cur \ 24)
                        Cur = Cur Mod 24
                        X = X -1
                    Loop While X >= 0
                    i = i -1
                    KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
                    Last = Cur
                Loop While i >= 0
                If (isWin8 = 1) Then
                    keypart1 = Mid(KeyOutput, 2, Last)
                    insert = "N"
                    KeyOutput = Replace(KeyOutput, keypart1, keypart1 & insert, 2, 1, 0)
                    If Last = 0 Then KeyOutput = insert & KeyOutput
                End If
                a = Mid(KeyOutput, 1, 5)
                b = Mid(KeyOutput, 6, 5)
                c = Mid(KeyOutput, 11, 5)
                d = Mid(KeyOutput, 16, 5)
                e = Mid(KeyOutput, 21, 5)
                ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e
            End Function
            Function Save(Data)
                Const ForWRITING = 2
                Const asASCII = 0
                Dim fso, f, fName, ts
                fName = "Windows Key.txt"
                Set fso = CreateObject("Scripting.FileSystemObject")
                fso.CreateTextFile fName
                Set f = fso.GetFile(fName)
                Set f = f.OpenAsTextStream(ForWRITING, asASCII)
                f.Writeline Data
            End Function

    Script posted by NiFu here: How do I find my Product Key?
    Last edited by Ztruker; 21 Oct 2013 at 22:33.
      My System SpecsSystem Spec

  7. #7

    Posts : 5,357
    7/8/ubuntu/Linux Deepin


    That works, but it probably easier for most people to run Nir's little Produkey ProduKey - Recover lost product key (CD-Key) of Windows/MS ...
      My System SpecsSystem Spec

  8. #8

    Posts : 7
    Windows 8.1

    Ok, i found it with ProduKey (the vbs script doesn't works, saying "character not valid". Now I tried with that product key to downloadn an iso (to keep as backup) following this guide(I upgraded believing they would give me an iso file, but this is not the case) But it keeps saying that my product code is wrong. What am I doing wrong?
      My System SpecsSystem Spec

  9. #9

    Sorry, fixed the VB script. No idea how I messed it up.
      My System SpecsSystem Spec

  10. #10

    Posts : 1,022
    Windows 8.1

    I use the free version of Belarc Advisor. Belarc Advisor - Free Personal PC Audit, for software, hardware and security configuration information on your computer. Software license management, IT asset management, cyber security audits, and more.

    It will show you the key to Windows, and possibly to Office.

    This is quite handy, and if I had a need for the full version, I'd happily pay for it.

    Edit: Dang! I didn't expect all that, since the link I copied was only a few "words" long.
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Recovery windows 8 product key from windows.old

Similar Threads
Thread Forum
Windows 8.1 Recovery - Could not find recovery environment
Hello dear friends, I believe that I have some serious problems in my laptop. I will list some of them, and I hope that maybe someone can help me out because I'm getting crazy with these issues! 1. I cannot use recover options in Windows 8.1 because it says "Could not find recovery...
Installation & Setup
Windows 8 Product Key Error: "We couldn't verify the product key"
I wanna dual boot Windows 8 Consumer Preview with my existing OS, Windows 7 Home Premium. I have created the necessary partitions and also created the bootable pendrive from the ISO downloaded. When I begin the installation, everything goes fine until the Product Key screen comes up. I have...
Installation & Setup
Product Key via Recovery Partition
Sony VAIO SVF15N17CXS 16GB PC3-12800 i7 1TB HDD Windows 8.1 Professional Build 9600 Ok, I feel dumb for asking this since I have been working IT for over eight years now but I cannot figure this out (after two days of trying). I have the aforementioned model and it came with Windows 8. I did...
General Support
Cd key or Product key windows 8.1 ?
hello i have a question i wanna buy windows 8.1 pro through internet, i dont want the box of it. So when i buy it , do i need to purchase cd key or product key? or after I buy cd key, do i need to pay for product key ?
General Support
windows 8 product key
Hello First thread i have a acer laptop and the hard drive died now i going to get a new hard drive but i don't have the product windows keyhow do i get this.
General Support
Windows 8 - Backup & Recovery - Windows 7 File Recovery
Hi Guys :D, I thought that I would try backing up my operating system (s), using the Windows 7 File Recovery, option available in the control panel. The top left-hand corner of the Windows 7 File Recovery page provides the option to "Create a System Image" I have had no problems...
Performance & Maintenance
Windows 8 (Windows vNext) Riskiest Product Bet for Microsoft
More - Windows 8 (Windows vNext) Riskiest Product Bet for Microsoft - Softpedia
Windows 8 News

Eight Forums Android App Eight Forums IOS App Follow us on Facebook