When you run command “wmic path softwarelicensingservice get oa3xoriginalproductkey” shows blank result.
Why “wmic path softwarelicensingservice get oa3xoriginalproductkey” Shows Blank
The reason why it shows blank is because your Windows copy is activated with a digital license. The command only works if you are using product key, instead of digital license.
How To Validate License Key
1. On search console, search for settings and click open.
2. Navigate and click on Update & Security.
3. On the left sidebar, navigate and click on activation. Under activation, it will shows “Windows is activated with a digital license license”.
In case your product key activation is using digital license, you may follow this guide to search for your product key.
Thanks for reading this article. I hope you will find it helpful.
I had the same problem but after fixing the issues with quotes and dashes, it worked. Here it is:
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