Page 1 of 3 123 LastLast
Results 1 to 16 of 35

Thread: How to retrieve your Win10 key.

  1. #1
    Token 'murican GuidoLS's Avatar
    Join Date
    Apr 2013
    Location
    North Carolina
    Posts
    806
    Thanks
    54
    Thanked
    110 times in 78 posts
    • GuidoLS's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • C2Q 9550 stock
      • Memory:
      • 8gb Corsair
      • Storage:
      • 2x1tb Hitachi 7200's, WD Velociraptor 320gb primary
      • Graphics card(s):
      • nVidia 9800GT
      • PSU:
      • Corsair 750w
      • Case:
      • Antec 900
      • Operating System:
      • Win10/Slackware Linux dual box
      • Monitor(s):
      • Viewsonic 24" 1920x1080
      • Internet:
      • AT&T U-Verse 12mb

    How to retrieve your Win10 key.

    So, you installed 10, and now you want to know what your actual key is. Guess what? Speccy doesn't work. Magic Jellybean not only doesn't work, but now it's installing adware without permission. (Wander Burst, if interested.) If you use either of those products, you're very likely to come up with one of the following -


    Windows 10 Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
    Windows 10 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T
    Windows 10 Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
    Windows 10 Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43

    Guess what? None of those are your current key. It's a generic key that's thrown back by the activation server as sort of an ACK that the system has been activated. Interestingly/ironically, if you actually use one of those keys to register, it puts your system into what's essentially the Insider program, and your system is NOT activated. If you want to know what your actual key is, copy the following script -

    Code:
    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
    Paste it to Notepad, click save as, select all files, and name it something.vbs, where something is a name you can remember (I chose keyfinder.vbs - catchy, eh?). Save it to your desktop (or other easily remembered location), run it, and viola. Hit ctrl-c while the window is open, and it copies your key to the clipboard so you can paste it anywhere you may find to be convenient.

  2. Received thanks from:

    Bagnaj97 (31-07-2015),cheesemp (31-07-2015),DanceswithUnix (31-07-2015),directhex (31-07-2015),Ferral (31-07-2015),Giraffe (31-07-2015),ik9000 (31-07-2015),Jonj1611 (31-07-2015),KeyboardDemon (01-08-2015),Lil-Diabo (31-07-2015),Output (31-07-2015),RobbieRoy (13-08-2015),Saracen (31-07-2015),Spreadie (16-08-2015),tares003 (25-10-2015),watercooled (31-07-2015)

  3. #2
    Senior Member Giraffe's Avatar
    Join Date
    Feb 2007
    Location
    near Northampton
    Posts
    777
    Thanks
    30
    Thanked
    36 times in 31 posts
    • Giraffe's system
      • Motherboard:
      • Gigabyte GA-Z97-D3H
      • CPU:
      • Intel Core i5 5675C, S 1150, Broadwell, Quad Core, 3.1GHz, 3.6GHz Turbo
      • Memory:
      • Crucial Ballistix DDR3 1600, 4GB
      • Storage:
      • 500GB 2.5" HGST SATA 3
      • Graphics card(s):
      • Integrated
      • PSU:
      • Seasonic S12G 450W 80+ Gold
      • Case:
      • Antec P100
      • Operating System:
      • Windows 7 Pro, 32-bit
      • Monitor(s):
      • Dell U2415, 24", 16:10
      • Internet:
      • TP-Link modem-router; 3mbps sync.

    Re: How to retrieve your Win10 key.

    Just tried this on XP Pro. To my surprise, it came up with the key (or something that looks like it without checking - been 8 yeras...). Last time I installed XP it didn't ask for a key. I'd n-Lited to such an extent, including putting in the key, that it just went in.
    PeterC

    Political lubricant:

    Rocket WMD45

  4. #3
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    16,907
    Thanks
    207
    Thanked
    983 times in 643 posts
    • directhex's system
      • Motherboard:
      • MSI X99A Gaming 7
      • CPU:
      • Intel Core i7 5280k
      • Memory:
      • 32GiB ADATA DDR4
      • Storage:
      • Corsair Neutron XT 960GB
      • Graphics card(s):
      • MSI GTX 980 Gaming 4G Twin Frozr 5
      • PSU:
      • Corsair AX860i
      • Case:
      • NZXT H440
      • Operating System:
      • Ubuntu 16.04, Windows 10
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • BT Infinity

    Re: How to retrieve your Win10 key.

    Impressive hack, GuidoLS

  5. #4
    Token 'murican GuidoLS's Avatar
    Join Date
    Apr 2013
    Location
    North Carolina
    Posts
    806
    Thanks
    54
    Thanked
    110 times in 78 posts
    • GuidoLS's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • C2Q 9550 stock
      • Memory:
      • 8gb Corsair
      • Storage:
      • 2x1tb Hitachi 7200's, WD Velociraptor 320gb primary
      • Graphics card(s):
      • nVidia 9800GT
      • PSU:
      • Corsair 750w
      • Case:
      • Antec 900
      • Operating System:
      • Win10/Slackware Linux dual box
      • Monitor(s):
      • Viewsonic 24" 1920x1080
      • Internet:
      • AT&T U-Verse 12mb

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by directhex View Post
    Impressive hack, GuidoLS
    I'd like to pretend it's mine, but I'm not the original author. I've made some changes here and there as necessary when the OS or the registry calls for it, but the original has been around since Win98. I just packrat anything I think is useful, and in many ways, MS changes very little. Just hoping that people find it useful.

  6. #5
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    16,907
    Thanks
    207
    Thanked
    983 times in 643 posts
    • directhex's system
      • Motherboard:
      • MSI X99A Gaming 7
      • CPU:
      • Intel Core i7 5280k
      • Memory:
      • 32GiB ADATA DDR4
      • Storage:
      • Corsair Neutron XT 960GB
      • Graphics card(s):
      • MSI GTX 980 Gaming 4G Twin Frozr 5
      • PSU:
      • Corsair AX860i
      • Case:
      • NZXT H440
      • Operating System:
      • Ubuntu 16.04, Windows 10
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • BT Infinity

    Re: How to retrieve your Win10 key.

    Here's one for your records, then: how to extract a CD key from a system with preinstalled Windows but no CD key sticker (as happens these days with Windows 8+ laptops), without Windows being installed (e.g. if you replace the disk, or want the key to virtualize, or something, or want the firmware key not the installed OS key which tools like Magic Jelly Bean report).

    Boot a Linux, run "sudo cat /sys/firmware/acpi/tables/MSDM | tail -c 29" in a terminal.

  7. #6
    Registered User
    Join Date
    Aug 2013
    Posts
    103
    Thanks
    0
    Thanked
    7 times in 6 posts
    • Mister's system
      • Motherboard:
      • Gigabyte Z77-D3H
      • CPU:
      • i7 2600k 3.40ghz @ 4.4ghz
      • Memory:
      • Samsung Green 16gb DDR3 @ 1600mhz
      • Storage:
      • 120gb Corsair Force3 SSD, 3tb Hitachi Deskstar
      • Graphics card(s):
      • MSI 670gtx OC
      • PSU:
      • 750w Seasonic X-series
      • Case:
      • Corsair 650d
      • Monitor(s):
      • Benq XL2410T

    Re: How to retrieve your Win10 key.

    I was wondering how we were supposed to be able to do clean install with the upgraded key, if they don't give you the key

  8. #7
    Registered+
    Join Date
    Aug 2013
    Posts
    41
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by Mister View Post
    I was wondering how we were supposed to be able to do clean install with the upgraded key, if they don't give you the key
    The keys that this script produces will not let you re-install though, I just tried this and it said invalid key during installation.

    All you need to do is leave keys blank, say skip or do later at each point and it will install fine and re-activate as Microsoft has your hardware details on file to re-activate.

  9. #8
    Registered User
    Join Date
    Aug 2013
    Posts
    103
    Thanks
    0
    Thanked
    7 times in 6 posts
    • Mister's system
      • Motherboard:
      • Gigabyte Z77-D3H
      • CPU:
      • i7 2600k 3.40ghz @ 4.4ghz
      • Memory:
      • Samsung Green 16gb DDR3 @ 1600mhz
      • Storage:
      • 120gb Corsair Force3 SSD, 3tb Hitachi Deskstar
      • Graphics card(s):
      • MSI 670gtx OC
      • PSU:
      • 750w Seasonic X-series
      • Case:
      • Corsair 650d
      • Monitor(s):
      • Benq XL2410T

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by mjgr33n View Post
    The keys that this script produces will not let you re-install though, I just tried this and it said invalid key during installation.

    All you need to do is leave keys blank, say skip or do later at each point and it will install fine and re-activate as Microsoft has your hardware details on file to re-activate.
    Yea but what about if the hardware is not the same. Only the OEM keys are non-transferable to new PCs.

  10. #9
    Registered+
    Join Date
    Aug 2013
    Posts
    41
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by Mister View Post
    Yea but what about if the hardware is not the same. Only the OEM keys are non-transferable to new PCs.
    The only method I know works so far is if you change hardware all should be fine unless you change motherboard in which case you would need to go through the procedure of re-installing old OS, phone activation, then upgrade to 10 again.

    If somebody can test and prove that the above script can produce a key that can be entered later on a new system by lets say using the generic install key first then using slmgr commands to change it to the key they got from the script then attempt to activate and it fails then use some form of phone activation to activate it and it succeeds then YAY, but would need a test subject to try it

    Until somebody has tested doing such works will just assume that only first method works

  11. #10
    Registered+
    Join Date
    Jul 2015
    Posts
    24
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: How to retrieve your Win10 key.

    Doesn't Nirsoft work?

  12. #11
    Registered+
    Join Date
    Aug 2013
    Posts
    41
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by GuidoLS View Post
    So, you installed 10, and now you want to know what your actual key is. Guess what? Speccy doesn't work. Magic Jellybean not only doesn't work, but now it's installing adware without permission. (Wander Burst, if interested.) If you use either of those products, you're very likely to come up with one of the following -


    Windows 10 Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
    Windows 10 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T
    Windows 10 Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
    Windows 10 Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43

    Guess what? None of those are your current key. It's a generic key that's thrown back by the activation server as sort of an ACK that the system has been activated. Interestingly/ironically, if you actually use one of those keys to register, it puts your system into what's essentially the Insider program, and your system is NOT activated. If you want to know what your actual key is, copy the following script -

    Code:
    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
    Paste it to Notepad, click save as, select all files, and name it something.vbs, where something is a name you can remember (I chose keyfinder.vbs - catchy, eh?). Save it to your desktop (or other easily remembered location), run it, and viola. Hit ctrl-c while the window is open, and it copies your key to the clipboard so you can paste it anywhere you may find to be convenient.
    I have tested on a few machines now and it gives the same key on all of them and they used different Windows 8.1 keys originally, so they key it outputs is not a unique key.

  13. #12
    Senior Member
    Join Date
    Jul 2011
    Location
    Pontarddulais, South Wales
    Posts
    513
    Thanks
    1
    Thanked
    13 times in 11 posts

    Re: How to retrieve your Win10 key.

    Open up Command Prompt as Admin and copy and paste this:

    wmic path softwarelicensingservice get OA3xOriginalProductKey

    Works for me fine!! I get 'my' product key showing! Yes, i am on Win 10

  14. #13
    ERU
    ERU is offline
    Who in Arda is Il├║vatar ERU's Avatar
    Join Date
    Aug 2003
    Location
    Caerdydd
    Posts
    1,810
    Thanks
    82
    Thanked
    9 times in 8 posts

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by cam1986 View Post
    Open up Command Prompt as Admin and copy and paste this:

    wmic path softwarelicensingservice get OA3xOriginalProductKey

    Works for me fine!! I get 'my' product key showing! Yes, i am on Win 10
    I just get OA3xOriginalProductKey as a reply doing that as an admin.

    I'm using Win7 Ultimate > Win 10 Pro

  15. #14
    Senior Member
    Join Date
    Jul 2011
    Location
    Pontarddulais, South Wales
    Posts
    513
    Thanks
    1
    Thanked
    13 times in 11 posts

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by ERU View Post
    I just get OA3xOriginalProductKey as a reply doing that as an admin.
    Works for me 100%

  16. #15
    Registered+
    Join Date
    Aug 2013
    Posts
    41
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by ERU View Post
    I just get OA3xOriginalProductKey as a reply doing that as an admin.

    I'm using Win7 Ultimate > Win 10 Pro
    Same here and I upgraded successfully from Win 8.1 Pro to Win 10 Pro.

  17. #16
    Token 'murican GuidoLS's Avatar
    Join Date
    Apr 2013
    Location
    North Carolina
    Posts
    806
    Thanks
    54
    Thanked
    110 times in 78 posts
    • GuidoLS's system
      • Motherboard:
      • Asus P5Q Pro
      • CPU:
      • C2Q 9550 stock
      • Memory:
      • 8gb Corsair
      • Storage:
      • 2x1tb Hitachi 7200's, WD Velociraptor 320gb primary
      • Graphics card(s):
      • nVidia 9800GT
      • PSU:
      • Corsair 750w
      • Case:
      • Antec 900
      • Operating System:
      • Win10/Slackware Linux dual box
      • Monitor(s):
      • Viewsonic 24" 1920x1080
      • Internet:
      • AT&T U-Verse 12mb

    Re: How to retrieve your Win10 key.

    Quote Originally Posted by ERU View Post
    I just get OA3xOriginalProductKey as a reply doing that as an admin.

    I'm using Win7 Ultimate > Win 10 Pro
    Same result for me.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •