/build/static/layout/Breadcrumb_cap_w.png

Issues running quser command via scripting

Hello!

I'm trying to use the script function to see all current logged in users on a system and write the results to a network path. I've tried a bunch of different ways to try and get this to work but for whatever reason the quser/queue user command ran from Kace doesn't return any information. The file gets created but it contains no data. Even if I try to write the file to the local system, it shows up blank. Running the command/batch locally works without a problem. Is this a bug or am I missing something?


quser > "\\networkpath\%computername%.txt"





0 Comments   [ + ] Show comments

Answers (1)

Posted by: Nico_K 2 months ago
Red Belt
0

by default the script is running as SYSTEM user, which may not have enough rights to get the info.
You should it run as an elevated user which has the rights.


Comments:
  • I've tried SYSTEM, Local Admin, Domain Admin, nothing seems to work - colton.shaner 2 months ago
 
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