Adding MS Product Keys (CD-Keys) to inventory
This page will teach you how to add the product keys from Microsoft Applications to your inventory database for purposes of enforcing the enterprise agreements with Microsoft.
NOTE: This page is left up as a conceptual guide; use ldms_client instead if you want to gather key information.
In order to add this kind of information we are going to leverage a FREE tool called ProduKey from NirSoft. It can be downloaded here. We are also going to leverage the concept on this site about Extending Inventory with Unmodeled Data.
A custom executable was created that calls the produkey.exe and formats the data for insertion into the LANDesk database. Download this custom executable and the pre-formated ldscnhlp.ini in zipped format here.
Steps to start tracking this information:
- Extract the custom executable and ldscnhlp.ini file to the ldlogon directory.
- Extract the produkey.exe file to the ldlogon directory
- Follow the steps in Extending Inventory with Unmodeled Data to get these files included with the agent delievery as well as with the inventory scanner.
- It might take two inventory scans to get the data returned with the inventory because the dat file doesn't get created fast enough always, but once the second full scan runs on the machine, the licensing information will show up in the database like this:

Enjoy!