Solved

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

Posted on 2008-06-13
5
462 Views
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.  
0
Comment
Question by:Kizzy12
  • 3
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
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: 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"
http://technet2.microsoft.com/windowsserver2008/en/library/2e713203-3dd8-491b-b9e1-9423618dc7e81033.mspx?mfr=true
-rich
0
 

Author Comment

by:Kizzy12
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.  
0
 
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.
-rich
0
 

Author Comment

by:Kizzy12
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.
0
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 21795614
Fair enough, thanks!
-rich
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now