/build/static/layout/Breadcrumb_cap_w.png
11/16/2018 184 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

Comments



Community Chosen Answer

1

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

-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)

Answered 11/16/2018 by: Channeler
Red Belt