Scheduled Task on Windows 2000 Server

  • Thread starter Thread starter knikkix
  • Start date Start date
K

knikkix

Hi,

I set up one task (using Scheduled Task in windows 2000 Server). When
this task Run as is same as logged on user then the task is running
fine otherwise not. Can it be possible that our task will run despite
of whoever will be the logged on.

I will try to explain by example.
Logged on User on Windows 2000 Server: User A
Run as property in Scheduled Task: User B
Then the task is not running. I am getting the error message in log
file as the Task is terminated. It is terminated either by
Administrator ot by Scheduled Task Service.

Logged on User on Windows 2000 Server: User A
Run as property in Scheduled Task: User A
The task is running fine.

I really don't know the problem. somebody please let me know.


Thanks
Nikki
 
Hi,

I set up one task (using Scheduled Task in windows 2000 Server). When
this task Run as is same as logged on user then the task is running
fine otherwise not. Can it be possible that our task will run despite
of whoever will be the logged on.

I will try to explain by example.
Logged on User on Windows 2000 Server: User A
Run as property in Scheduled Task: User B
Then the task is not running. I am getting the error message in log
file as the Task is terminated. It is terminated either by
Administrator ot by Scheduled Task Service.

Logged on User on Windows 2000 Server: User A
Run as property in Scheduled Task: User A
The task is running fine.

I really don't know the problem. somebody please let me know.


Thanks
Nikki

- What exactly is the job you're trying to run?
- What exactly is the error message you see in the log
file (verbatim, please!)?
- What happens when you schedule the following batch
file?
@echo off
echo %date% %time% >> c:\test.txt
- What is the contents of c:\test.txt?
 
I AGREE with 'Pegasus'

You MUST 'assign' the rights of both the BAT file, and the Scheduled
Task - to the Rightful USER(s). [ie: The System - if you want this
task to RUN as a "Base Level Operation". ]

Any Scheduled Task that you 'create' will only run "when you are
LOGGED ON" as YOURSELF.

You MUST 're-assign' the BAT File (and Scheduled Task) - to have
'SYSTEM' Rights / Priviledges..


This can USUALLY be done from the "Control Panel", "Administrative
Tools", "Services" window.


And BAT File 'Rights' can be changed by "Right Clicking" on the BAT
file - and selecting "Properties' - and going to the 'Security' TAB.


ADD the 'System' - as an Administrator Account . ***

*-)
 
kmiller said:
Any Scheduled Task that you 'create' will only run "when you are
LOGGED ON" as YOURSELF.

*** Sorry, this is not true. Scheduled tasks that are configured
*** correctly, with the appropriate permissions, will run regardless
*** of who's logged on, and even when nobody is logged on.
 
Sorry, 'Pegasus' - but you "LOGON" Rights - will propagate into you
"Scheduled TASK" Rights. - this is TRUE for all NT Based OSes !!!
[Windows NT / Windows 2K / Windows XP]

If you are logged ON as just a 'Domain User', you will not have the
Necessary Rights - to perform something like a System Back-Up.

Only a 'Back-Up Administrator' (or 'Server Administrator') will have
these RIGHTS (and Privileges).

Check you Windows 'xx' User Manual (or the Microsoft NT "Red Book").

;-)
 
Back
Top