I'm trying to create a procedure that runs a program as the logged on user, but every time it runs it does so as the system account, despite the logged on user bubble being checked.
Are you logged onto the machines console when you run the script? If there is no logged on user then the script can't run as one. At the top of your script you could run the step "Use Credential". This will let you use whatever credentials you have applied on the agent. You would then use all your steps as "logged on user".
Yes, I'm logged in on a user.
the KaUsrtsk.exe process must be running as the user you want to run it as
If this process is not running then your procedure will run as the system acount
Here is a SQL script to automatically Clear Overrides
Copyright © 2012 Kaseya International Limited. All rights reserved. Kaseya and the Kaseya k-bug logo are among the trademarks or registered trademarks owned by or licensed to Kaseya International Limited. All other brand and product names are or may be trademarks of, and are used to identify products or services of, their respective owners.