/build/static/layout/Breadcrumb_cap_w.png

Custom Inventory Rules not running

I am looking to query the contents of %userprofile%\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites on each client machine. At one point in history it has come up and successfully pulled this information from 2 computers. These 2 machines have no similarities that I can see. I want to confirm what machines that a script ran successfully on. We have a script in place to add one of our local sites to exception.sites. I have selected all Window's OS's in the custom inventory rule.  I also tried to add a label for it to look at with no success. It is currently inventorying no machines. Thanks.

Rule:

ShellCommandTextReturn (cmd.exe /c type %userprofile%\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites)

Dell Kace Server:  6.3
Dell Kace Agents: 6.2.1025


0 Comments   [ + ] Show comments

Answers (2)

Posted by: StockTrader 8 years ago
Red Belt
0
Hello,

The problem with your rule is that the Agent is working in the LocalSystem context so it does not have a proper %userprofile%.
Kind regards,
Marco - StockTrader

Comments:
  • Understood. Do you know of a way to accomplish this task? I guess I would need a script to read the files. My ultimate goal is to generate a report of which machines this file has been updated on. - dabeava 8 years ago
    • You can run with KACE a simple batch that looks in all the C:\users\*\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites of the computer and put the content in a text file.
      Then catch the content of the text file with a Custom Inventory Rule.
      Something like that.
      Kind regards,
      Marco - StockTrader - StockTrader 8 years ago
Posted by: SMal.tmcc 8 years ago
Red Belt
0
If you want only the logged user you need to use a kscipt that runs as logged in user to create a text file for the CIR to read.

see this as an example

http://www.itninja.com/question/retrieve-list-of-mapped-network-drives-printers-via-kace?utm_source=itn_email&utm_medium=comment_alert_answer&utm_campaign=notifications&utm_content=question_permalink
 
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