Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduled Tasks

Status
Not open for further replies.

audiopro

Programmer
Joined
Apr 1, 2004
Messages
3,165
Location
GB
I am trying to launch a back-up procedure from XP via a scheduled task.
First attempts, using ordinary User (No Password) revealed that the task was not performed. The scheduler says that a user name and password is required.
When run in Admin mode, with user name and password, the task runs ok.
In normal operating mode the program runs as a user without user name and password. How can I schedule a task without a user name and password.


Keith
 
Thanks Daniel.
The set up is a shop till program. There are two users set up on the machine, admin & normal.
The machine usually operates in normal user mode, admin only being used for admin tasks. We set up the task in the admin account.
If I understand the operation correctly, the task will only run if the admin user is logged on.
I suppose the only way is to set up the normal user with a password. I was hoping there would be a way round it.

Keith
 
You can use Scheduled Tasks but choose the Run as... feature to pass the Administrator credentials.
 
You could also add the user to the Backup Operators Group.



Tim Roop
"If you can do something about it, why waste time getting upset? If you can't do anything about it, why bother getting upset on top of it? -Shantideva
 
I have managed to get it to work as I wanted to.
Done some experiments and learnt a few things.
A scheduled task set up in an admin account will run independant of which ever user is logged on.
If any user attempts to create another Scheduled task with the same name, the action is stopped.


Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top