I'm trying to inventory a small business with about 100 users, most of which are field sales reps who rarely connect to the corporate network. I've got a logon script set up to pull the keys and write them to a network share when they do connect. However, I'm only able to pull the "Installed Key" using this process. I also want to pull the "OEM Key" to keep for reference after upgrading them from Win7 to Win10.
I'm unable to figure out how to do this reliably with VBS and Powershell scripts. Your program finds it perfectly every time but I can't get it to export keys in an automated, silent fashion.
Is this functionality something you'd be willing to add?
If you are running your script on Win 8.1 up, WMI will help you get the OEM key... I used that in the original ShowKey script - link in this post. (Edit: link ShowKey1.1.vbs)
Let me know if I should convert that to PS (my VB is a bit rusty now..LOL)
However if you are running pre-Win8.1 I will need to add those switches to ShowKeyPlus, as it uses native API's.
Last edited by Superfly; 23 Jul 2016 at 16:39.
A command-line switch option that runs silently and outputs a file plain text file (or even output to stdout which I can redirect to a file or function) showing current windows version, current product ID, current product key, AND the OEM key (if present) would be absolutely perfect. Basically the same thing you output now with the "Save Key" option, but invoked via logon script (or CLI) running and terminating silently with no GUI.
So many companies need good software inventory tools but can't afford a full-blown MSSC setup. I'm already running WMI queries to get dumps of all installed software (the Uninstaller keys from HKLM, via WMI registry queries) but it doesn't include useful OS info. Something like this would help me and others get ALL the data they need to understand their environment better. Many thanks!
This app and these types will help clarify a lot of machines and keys I need to check. Why didnt I find this before? I was using some other Apps, but this seems like the best/ better ones.
Any others that people might recommend for checking purpose?
PS: I found the Key I bought for 14.99 from MS's Win 8 offer is
Original Edition: Win 8 RTM Professional Retail
Hmm still having problems with this on my small 7 machine and as I do not get an option to save it I try to open it but get this message - see pic and I don't want to go having to purchase an app to get to it - any ideas please??
All of my 10 machines are fine
7-zip compression - but don't worry too much with that version - it was built for sys-admins who may need to run it from batch files etc...
I'm working on a more Win 7 compatible version that may be better for your circumstances.