Make scheduled task run as whomever is logged in when its scheduled to run
I have a vbscript setup to run every day, but i want it to run with the credentials of whomever is logged in at that time, rather than say SYSTEM. is there a way to do that?
March 3rd, 2010 9:58pm

By default, only a member of the Administrators, Backup Operators, or Server Operators group can create tasks. A member of the Administrators group may change the security descriptor of the Windows\Task folder to let others create tasks."The Task Scheduler uses that the account data to run the scheduled command via "run as". If you really want to run Task Scheduler whomever is logged in. You could write your own task scheduler with AutoIT and add it to the Autostart folder of every user or to the various "RUN" registry keys. Then you can run whatever you want with the proper user privileges as your task scheduler will be executed by the logged on user."Best RegardsDale
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2010 10:25am

That sounds a little too complicated. I'll probably just leave my vbscript I wrote for the user to run manually if need be. I was going to have it just run at a time every day i know he's logged in, but I don't think that will work based on what you're saying. thanks for answering.
March 4th, 2010 5:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics