Link to home
Start Free TrialLog in
Avatar of Member_2_79173
Member_2_79173

asked on

Find product keys on remote machines

The head of our small IT support team (we support a few hundred computers in one division of our company) just sent an email to our team asking if we knew of a utility that could get product keys remotely from a list of computers on your network. We are each members of an AD security group which is a member of the Administrators group on the computers so we have admin rights on them. I asked him if he wanted 1) Just the Windows OS keys or 2) Just the Microsoft product keys or 3) all the keys for all software on the computers and I didn't get a reply so lets go for 3 but if not possible then 2 or 1. A Powershell script would be preferred but I would accept VBS. I would like the script to take the computer names from a text file.

Thanks,
Don
Avatar of CompProbSolv
CompProbSolv
Flag of United States of America image

I would look at this from magicajellybean:
https://www.magicaljellybean.com/product-key-finder-win7-office2010/

I've used it locally and to a second (not-booting) hard drive, but not over a network (which it does claim to do).
Ask, and you shall receive.

https://gallery.technet.microsoft.com/scriptcenter/Get-product-keys-of-local-83b4ce97

This will do the trick nicely for you.

And here is a list of other free key finders.

https://www.lifewire.com/free-product-key-finder-programs-2625119
Something like this?
Invoke-Command -ComputerName SomeComputer01,SomeComputer02,SomeComputer03 {(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey}

Open in new window

Avatar of Member_2_79173
Member_2_79173

ASKER

Shaun,

Ok, that code runs but I don't see any output. Also, I forgot to say I would like the results to be output to a .csv file. Sorry, but I am not familiar with Powershell at all.
Thanks,
Don
ASKER CERTIFIED SOLUTION
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, we have VAMT and I have used it to activate Windows or Office (we have a campus license) when for some reason the machine lost contact with our KMS. But It only sees Windows and Office keys and I don't believe you can have it look at a list of remote machines.
My supervisor says VAMT should work and he thinks it can work remotely so I am accepting this comment as the answer.