Scheduled tasks - Part 2

Posted on 2006-11-27
Last Modified: 2010-04-13
Hi there,

Does anyone know the permission a user needs in order to be able to run a scheduled task he hasn't create?


Question by:racineconde
LVL 13

Expert Comment

ID: 18018613
member of server admin

Author Comment

ID: 18018636
Yes, but by putting the user in that group, you give him all the power, not only the one to run a scheduled tesk!!!
LVL 67

Expert Comment

ID: 18019017
What are you trying to accomplish?
If a user creates a task, then it can run whether he/she is logged on or not - it's a task to run 'in the future' - under the supplied credentials.
If it's a task that will require elevated permissions, you should schedule it using the SYSTEM account.
I usually schedule mine from the command line, but I'm quite certain you can just change the GUI version of schtasks to set the user account to SYSTEM and then don't supply a password...

Author Comment

ID: 18019417
what system account???
LVL 67

Expert Comment

ID: 18019463
It's a built-in administrative account...

Read more here:
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)


Author Comment

ID: 18019563
Actually, I made a mistake about the OS. It's WIN 2003 Server. Is there the same account?
LVL 67

Expert Comment

ID: 18019620

Author Comment

ID: 18020369
Sorry, I'm not seing it
LVL 67

Accepted Solution

sirbounty earned 400 total points
ID: 18020415
If you could tell me what it is you're trying to do, I can help you further.
I don't know anything about your situation, so I'm not sure what you're goal is.
The System account is an account used by the system.  It generally has 'all' access to everything.
So, if you need to have something scheduled for a user, but that user doesn't have the permissions to run the application, you can utilize this account to get the elevated security credentials without compromising anything.

Let's say for argument's sake that I needed the Paint Brush application to load up at 1pm, and the user for whatever reason couldn't do it themself.

I could create a task, assigning the task to the system account using (from a command line):

schtasks /create /ru System /sc once /st 13:00:00 /tn PaintBrush /tr "start pbrush"

You can create the same thing via the GUI version of schtasks, but I find more versatility using the command-line version...
LVL 20

Expert Comment

ID: 18022720
your user doesnt have the rights to "log on as batch job"
it doesnt matter if your account is an admin account you still need to set this permissions.

from a previous post that i answered

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2003 Terminal Server licenses 3 338
Windows WEb Server sp2 13 518
ClamAV for Old Windows 2000 Server 7 1,995
Retrieve process time in memory in VB 6 121
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Sending a Secure fax is easy with eFax Corporate ( First, just open a new email message. In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

862 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

23 Experts available now in Live!

Get 1:1 Help Now