/build/static/layout/Breadcrumb_cap_w.png

How to find unactivated windows via Kace reporting

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


0 Comments   [ + ] Show comments

Answers (2)

Posted by: Nico_K 6 years ago
Red Belt
2

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

Posted by: Channeler 6 years ago
Red Belt
-1

Hi,
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.


See:

https://docs.microsoft.com/en-us/previous-versions/tn-archive/ee939272(v=technet.10)

 
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