Re: Scheduled Tasks - Strange Permissions Issue



Are the scheduled tasks running a command shell. If they are, you must assign permissions to
Cmd.exe to either the account used to execute the Scheduled task or to the Batch group.
Brian

In article <u8MTWSxDHHA.1748@xxxxxxxxxxxxxxxxxxxx>, msnewsacct@xxxxxxxxxxxxxx says...
I have a question about Scheduled Tasks on Windows 2003 Server. I've
got several scheduled tasks that are exhibiting some strange behavior.
They appear to run and don't issue any errors in the scheduled tasks
log, yet they seem to be having permissions problems. Here's an example....

There's a job that's configured to run under a specific user. The user
has "Log on as a service" and "Log on as a batch job" permissions. When
I run the job, no errors are reported in the 'SchedLgU.txt' file.
However, the application that I'm running via the Scheduled Task has its
own log which states, "Access is denied". When I change the user to
'Administrator', the job works just fine. I've tried adding the user
who runs the job into the Administrators group, but this doesn't appear
to work, either. I notice in the Security Event Log that when the job
is run under the other user, the following shows up:

Logon Failure:
Reason: An error occurred during logon
User Name: task_user
Domain: SERVER1C
Logon Type: 3
Logon Process: Ðùl
Authentication Package: NTLM
Workstation Name: SERVER1C
Status code: 0xC000006D
Substatus code: 0x0
Caller User Name: -
Caller Domain: -
Caller Logon ID: -
Caller Process ID: -
Transited Services: -
Source Network Address: 192.168.1.20

The only strange thing I can see above is the 'Logon Process' output.
What's up with that?

The scheduled jobs worked fine under Windows 2000. I've been pulling my
hair out over this for the past two days and I know it's got to be
something simple. Can anyone assist, please?

Thanks in advance for any assistance you can provide.

-evt

.



Relevant Pages

  • Re: HOW ==> Users View Scheduled Tasks on a Server ??
    ... It is much safer to change the permissions to let the user restart the ... You can do this by launching MMC on the server with the service ... If you insist on being able to let a user manage scheduled tasks, ... >> will run mytask.job on the remote server...but only if you are an admin. ...
    (microsoft.public.win2000.security)
  • Re: assigning rights to computer objects
    ... I have a windows 2003 server on a domain. ... I want to have scheduled tasks run on windows xp computer that right ... The scheduled tasks on client1 run as "NT AUTHORITY\SYSTEM" ... I thought I could just assign write permissions to client1$ in both ...
    (microsoft.public.windows.server.general)
  • Scheduled tasks greyed out - cannot run, end task
    ... to run any scheduled tasks. ... We got hit by the Conflicker virus and we had to follow this Microsoft KB: ... That modified the c:\windows\tasks permissions. ... thru Group Policy, refreshed the policy but the Run is still greyed out. ...
    (microsoft.public.windows.server.general)
  • Re: scheduled tasks wont run
    ... Typical error in the Scheduled Tasks log: ... 0x80070569: Logon failure: the user has not been granted the requested ... I have entered the correct domain\username and password dozens of times, ... >> Have a look at the post "Scheduled Tasks", ...
    (microsoft.public.windows.server.general)
  • Re: users that are getting locked out by Advapi
    ... I had checked and there are no scheduled tasks ... >with the "jore" account. ... >Logon Failure: ... >event repeats aprox. ...
    (microsoft.public.win2000.security)