Enable a non Admin to run a Scheduled Task without giving them admin rights.

Posted on 2008-06-13
Last Modified: 2013-12-04
Need to enable a non administrative group to run a current scheduled task without giving them admin rights - The task is already set up to run as a service account that has admin rights just need to give them rights to run the service only.  I added the group to the permissions of the task but they do not have rights to see the scheduled tasks of that server to run it.  
Question by:Kizzy12
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 38

Accepted Solution

Rich Rumble earned 500 total points
ID: 21781388
This is to manually run a task that is normally schedule from certain times? You could try my very popular runas script which allows you keep a password encoded (not encrypted) from them: But scheduled tasks are supposed to be automagic, and not need someone to kick them off at a certain time.

What happens when a user who is not admin, right-click's on the task and select's "run" ?
You can try from the cmd line too, schtasks /run /tn "Security Script"

Author Comment

ID: 21782072
Thanks for your input.  We didn't want to have to set it up to use Runas.  I found a work around today which seems to give us what we wanted.
The scheduled task runs on it's own but at times we wanted to give a non admin rights to run if needed on off hours.
I added the group to the Task permissions RWX only
I then added this group to the task folder using CACLS C:\WINDOWS\TASKS /E /G GROUP:R
This gives the group rights to only view the one task as well as execute and run if needed.  
LVL 38

Expert Comment

by:Rich Rumble
ID: 21783016
You can ask for your points back if you wish, as I don't feel I contributed to the answer, I'm glad you did find what works.

Author Comment

ID: 21792984
No you can keep the points since your solution also would work.  I don't track or follow the points anyway.  Thanks again for your support.
LVL 38

Expert Comment

by:Rich Rumble
ID: 21795614
Fair enough, thanks!

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question