/build/static/layout/Breadcrumb_cap_w.png

How to display output of script.

Good morning to everyone. I'm a newbie using the K1000We've had an issue with an domain account being locked out and we dotted it down to computers caching said account on some computers. I have this batch file "rundll32.exe keymgr.dll, KRShowKeyMgr" that displays cache credentials but, I don't know how to have my K1000 display the output of the script so we can disable the cache account locking domain account. Thank you ahead of time if you can help us with this issue.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Nico_K 7 years ago
Red Belt
0
I would use Custom Invenory Rules doing that. 
1. Create a new Software Inventory Item, name it accordingly and run the following CIR in it:
CommandShellTextReturn(cmd /c "cmdkey /list")
(did not test it, but this should be fitting, since your way is producing a popup, cmdkey a command line output)
This creates a Custom Inventory Item on all machines as soon as they are checking in with the saved credentials.
2. Build a Smart label with the output of the CIR so you have all affected machines in a label
3. run a script regulary on all machines in that label

 
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