Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2008-06-13
Medium Priority
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 1500 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: http://xinn.org/RunasVBS.html 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

618 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