Systems Management Question

How to find unactivated windows via Kace reporting

11/16/2018 948 views

Is it possible to run a report via Kace to discover workstations that may not have the Windows OS activated?

0 Comments   [ + ] Show comments


Community Chosen Answer


The easiest way would be a Custom Inventory Rule:
1. Go to Inventory | Software |New
2. Fill out all fields.
3. Under Custom Inventory Rule enter the following:
    ShellCommandTextReturn(cmd /c c:\windows\system32\cscript.exe c:\windows\system32\slmgr.vbs -dli|findstr tatus)
    It runs silently the slmgr to get different values. These values are checked against tatus (so it can be Status or status depending on the language)
4. after the next check in there is a new field in the inventory under Custom Inventory Fields
5. you can create a report with the wizard. The added Custom Inventory Field values are found under Custom Fields

Answered 11/16/2018 by: Nico_K
Red Belt

All Answers


Activation status is not a field Collected by KACE, hence you won't be able to use it in a Report.

You need to build a Custom Inventory Rule and collect the Data with Shell Script like:

Get-CimInstance -ClassName SoftwareLicensingProduct |
     where {$_.PartialProductKey} |
     select Description, LicenseStatus

This will track the Activation Flag:

This will be a 1 (successful) or 0 (failure) on the attempt.



Answered 11/16/2018 by: Channeler
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ