New
#11
Right. I thought I found the script from the tutorials here, but actually it was from an official Microsoft guide: https://answers.microsoft.com/en-us/...0-158f8e5f02e3
Actually ShowKeyPlus can do far more than just tell you the installed key. It can show you the keys used in all previous installations tha you have upgraded from.
It can also tell you the key and its type (Home/Pro, OEM/Retail/MAK) embedded in the machine's firmware (if any). You can also type in a key and it will tell you exactly what it is.
It is written and is maintained by Ten Forums member Superfly and has had a thread here on Ten Forums since 2014.
ShowKeyPlus
I've disabled WSH in the registry since Windows 7, and set the file association for .vbs to open with Notepad.
I do it for my clients as well.
slmgr is one I used to use, but there are other ways to do what it does.