Is there an easy way to collect Windows/Office keys that I'm missing?

This section is the support area for customers of Key Software. If you have a problem with an order please feel free to discuss it here.

Moderators: jthspace, maximus

Post Reply
Posts: 77
Joined: Sat Nov 17, 2018 1:01 pm

Is there an easy way to collect Windows/Office keys that I'm missing?

Post by Pranit6 » Thu Nov 29, 2018 10:05 am

My company is mid merger and just got access to the other side's server room and admin creds, and we're trying to take stock on everything. There's been a horrible discovery that neither groups have been very through in documentation of assets and licenses outside of making sure we have enough of them number wise.

We've got documents with a whole slew of keys (without machine names attached, of course), and there's about 450-500 machines floating around out there including servers that I've now been tasked with getting a record document for that has all the good stuff: Windows and Office keys in particular.

The upside is they're all AD joined machines across both sides of things, so I'm desperately hoping there's some other wizardry in Powershell that can pull this info out without needing to run Nirsoft tools on each machine

I've already tried the following with no success:

powershell "(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey"

wmic path softwarelicensingservice get OA3xOriginalProductKey

I get about 3-4 machines that have UEFI keys, nothing else with either of those.


Gives me the last five of an Office key (yay!) but I haven't figured out how to dump that into anything. Can I pipe it into a CSV somehow?

The people of /r/sysadmin have centuries of combined experience of walking into messes worse than this, anyone got any other tricks that I can try?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests