Windows 10 Authentication problem

GforgeXr

Honorable
Apr 19, 2016
68
0
10,630
Hi,
I recently went and bought a genuine windows 10 Pro key, because I'm starting college and I want to start with a fresh install of windows. I learned via CMD that my current windows 10 key isn't genuine. I used the following command: wmic path softwarelicensingservice get OA3xOriginalProductKey. It was basically not showing my current windows key, which means that the key isn't genuine. The problem is that even though I enter my genuine key that I bought, CMD still shows as if it was not genuine (blank). I've have tried reinstalling windows, formatting and even erasing my current hard drive, with no luck and still shows the same result. Note: that I used a 3rd party program to activate windows some years ago (Yeah, yeah I know!.....)
Does anyone know a solution to this problem?
Ps. I've tried the same command on my other laptop and its windows key shows on CMD.

Thanks in advance!
 

GforgeXr

Honorable
Apr 19, 2016
68
0
10,630
Yeah, it Windows says its activated. I have circled where it says its activated. It's in Danish btw.

script>

L1RuzDL

 
on mine windows that code doesnt work too software licencing under Get-WmiObject -query 'select * from SoftwareLicensingService' shows it empty...blame micro$oft? :p

well u can extract it from registry

open notepad and copy paste this text into it:
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")

KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"
MsgBox ExtractKey(WshShell.RegRead(KeyPath))

Function ExtractKey(KeyInput)
    Const KeyOffset = 52
    i = 28
    CharWhitelist = "BCDFGHJKMPQRTVWXY2346789"
    Do
        Cur = 0
        x = 14
        Do
            Cur = Cur * 256
            Cur = KeyInput(x + KeyOffset) + Cur
            KeyInput(x + KeyOffset) = (Cur \ 24) And 255
            Cur = Cur Mod 24
            x = x -1
        Loop While x >= 0
        i = i -1
        KeyOutput = Mid(CharWhitelist, 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
    ExtractKey = KeyOutput
End Function
save that file with .vbs extension

then open command prompt and run cscript.exe whatever.vbs
replace whatever with your file name
 

GforgeXr

Honorable
Apr 19, 2016
68
0
10,630
on mine windows that code doesnt work too software licencing under Get-WmiObject -query 'select * from SoftwareLicensingService' shows it empty...blame micro$oft? :p

well u can extract it from registry

open notepad and copy paste this text into it:
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")

KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"
MsgBox ExtractKey(WshShell.RegRead(KeyPath))

Function ExtractKey(KeyInput)
    Const KeyOffset = 52
    i = 28
    CharWhitelist = "BCDFGHJKMPQRTVWXY2346789"
    Do
        Cur = 0
        x = 14
        Do
            Cur = Cur * 256
            Cur = KeyInput(x + KeyOffset) + Cur
            KeyInput(x + KeyOffset) = (Cur \ 24) And 255
            Cur = Cur Mod 24
            x = x -1
        Loop While x >= 0
        i = i -1
        KeyOutput = Mid(CharWhitelist, 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
    ExtractKey = KeyOutput
End Function
save that file with .vbs extension

then open command prompt and run cscript.exe whatever.vbs
replace whatever with your file name
Tried doing that, it didn't work.