1 Reply Latest reply on Nov 9, 2018 5:06 AM by phoffmann

    Add windows activation status to Inventory

    jriv Rookie



      Does anyone have a way to query Windows activation status? I'm guessing it has to be added to Inventory through Custom Data but I can't seem to find a way to get the data from the registry or through WMI (and into Ivanti).



        • 1. Re: Add windows activation status to Inventory
          phoffmann SupportEmployee

          You'll need to do some investigating into "how to figure out the activation status" ... it MIGHT be possible as a return of the SLUI type command-line tool for activation perhaps, or some such. I'm pretty sure there's bound to be "some way" for Windows to cough up "yes I am / no I am not activated".


          Once that's known, script the relevant running / gathering, and throw the result into a simple registry value which you can then pick up as Custom Data as per normal.


          So in essence:

          • Script "running the command" + "massaging the output" (it may be "less than friendly") into something useful.
          • Inject result into registry key.
          • Pull registry key as normal with the inventory scanner as  a piece of custom data.
          • Win.


          But yeah ... I personally don't know (/haven't need to) find out whether a device is activated yet or not. Google-fu not being helpful (I'd be surprised if you'd be the first person in need of this snippet of info) ?