Windows Key

Recently purchased new Dell that came w/ Win 10 OEM license. As we all know, there are numerous ways to retrieve windows keys, activation, type, etc. The two examples below were run on my recently purchased Dell PC, and each fetched and came back with different output. Why would this be?

When running command prompt below, I get one key

wmic path softwarelicensingservice get OA3xOriginalProductKey

When creating VBS script below, I get a different key

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

Good Day Blake,

My name is Carlo, I'm an Independent Advisor and community member like you.
I am also using Windows 10 pc. Let us work together to sort this out.

You can download and install the tool called ShowKeyPlus from Microsoft Store to check the key that was installed.

Here's the link to download.

https://www.microsoft.com/en-us/p/showkeyplus/9...

Once downloaded and installed, open the app then it will show you the key that was installed, check if its shows the same of the results in the command prompt by entering the wmic path softwarelicensingservice get OA3xOriginalProductKey

If they are the same that is your actual key that was installed in your device.

Have a wonderful day ahead and stay safe.


Sincerely,
Carlo T.
*This is a public forum and I do not work for Microsoft nor do I have access to any user accounts. To protect your privacy, do not post any personal information.

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Carlo,

Thanks for your reply -

Per your instructions, the ShowKeyPlus app lists the same key as CMD wmic path softwarelicensingservice get OA3xOriginalProductKey

I guess the question I now have is, why does the VBS script option, show something different? From everything I've read (not to mention the fact it actually retrieved something), that VBS script is legit and used and "signed off" by numerous reputable sources online. So assuming the VBS script method is legit, what gives? The output on the VBS script shows 25 characters w/ the dashes, much like what CMD and ShowKeyPlus produce, but just different characters obviously.

Thanks again for your help, much appreciated.

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Good Day Blake,

I appreciate your time getting back to this thread, if the Showkey Plus and WMIC command shows the same means that is your legitimate key and that is the only way to check the key installed in your device. The vbs script you used is not a legit script , I check the script and it states to ready the Product ID in the registry not the Product key itself.

No worries the results you see in the WMIC command and ShowkeyPlus, that is your legitimate key.

Have a wonderful day ahead and stay safe.

Sincerely,
Carlo T.
*This is a public forum and I do not work for Microsoft nor do I have access to any user accounts. To protect your privacy, do not post any personal information.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Carlo,

So is the vbs script is not legit, or it simply queries something else (i.e. Product ID)? I ask because that is something else that is mighty confusing, which is the relationship between a Windows Product Key vs. ID.

Given you seem very knowledgeable, I thought you might be able to break it down for me.

Thanks

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Good Day Blake,

You can visit this link below as reference to know difference of Product key and the Product ID.

https://answers.microsoft.com/en-us/windows/for...

Have a wonderful day ahead and stay safe.

Sincerely,
Carlo T.
*This is a public forum and I do not work for Microsoft nor do I have access to any user accounts. To protect your privacy, do not post any personal information.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 28, 2024 Views 1,451 Applies to: