Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Task scheduling : error 0x80070005: Access denied

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #16  
Old 22-03-2005
Dave Patrick
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Check that the user also has logon as batch job rights on \\Cypher

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Fran?ois Miermont" wrote:
| And also, if I open an interactive session with my save user, and then go
to
| Scheduled task|File|Execute, the .bat works !
|
| The problem is, I think, a problem of permission to launch a .bat as a
task
| (or service ?).
|
| I also look at the GPO, but my save user have rights "Open a session as a
| service" and "Open a session as a Task".


Reply With Quote
  #17  
Old 22-03-2005
Dave Patrick
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Check that the user also has logon as batch job rights on \\Cypher

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Fran?ois Miermont" wrote:
| And also, if I open an interactive session with my save user, and then go
to
| Scheduled task|File|Execute, the .bat works !
|
| The problem is, I think, a problem of permission to launch a .bat as a
task
| (or service ?).
|
| I also look at the GPO, but my save user have rights "Open a session as a
| service" and "Open a session as a Task".


Reply With Quote
  #18  
Old 22-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

On Cypher ? It's the remote server.

Well, I also check, and I think it's ok (not sure, because in French the
rule is call "Ouvrir une session en tant que tâche", is it that ?).

Thx a lot for your interest :-)

"Dave Patrick" wrote:

> Check that the user also has logon as batch job rights on \\Cypher
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "François Miermont" wrote:
> | And also, if I open an interactive session with my save user, and then go
> to
> | Scheduled task|File|Execute, the .bat works !
> |
> | The problem is, I think, a problem of permission to launch a .bat as a
> task
> | (or service ?).
> |
> | I also look at the GPO, but my save user have rights "Open a session as a
> | service" and "Open a session as a Task".
>
>
>

Reply With Quote
  #19  
Old 22-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

On Cypher ? It's the remote server.

Well, I also check, and I think it's ok (not sure, because in French the
rule is call "Ouvrir une session en tant que tâche", is it that ?).

Thx a lot for your interest :-)

"Dave Patrick" wrote:

> Check that the user also has logon as batch job rights on \\Cypher
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "François Miermont" wrote:
> | And also, if I open an interactive session with my save user, and then go
> to
> | Scheduled task|File|Execute, the .bat works !
> |
> | The problem is, I think, a problem of permission to launch a .bat as a
> task
> | (or service ?).
> |
> | I also look at the GPO, but my save user have rights "Open a session as a
> | service" and "Open a session as a Task".
>
>
>

Reply With Quote
  #20  
Old 22-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Ok now I'm sure it's a security problem : if I make my save user member of
the local administrators group, the task run ! But I don't want to let him in
this group.

I'm unable to find the correct configuration.

"François Miermont" wrote:

> On Cypher ? It's the remote server.
>
> Well, I also check, and I think it's ok (not sure, because in French the
> rule is call "Ouvrir une session en tant que tâche", is it that ?).
>
> Thx a lot for your interest :-)
>
> "Dave Patrick" wrote:
>
> > Check that the user also has logon as batch job rights on \\Cypher
> >
> > --
> > Regards,
> >
> > Dave Patrick ....Please no email replies - reply in newsgroup.
> > Microsoft Certified Professional
> > Microsoft MVP [Windows]
> > http://www.microsoft.com/protect
> >
> > "François Miermont" wrote:
> > | And also, if I open an interactive session with my save user, and then go
> > to
> > | Scheduled task|File|Execute, the .bat works !
> > |
> > | The problem is, I think, a problem of permission to launch a .bat as a
> > task
> > | (or service ?).
> > |
> > | I also look at the GPO, but my save user have rights "Open a session as a
> > | service" and "Open a session as a Task".
> >
> >
> >

Reply With Quote
  #21  
Old 22-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Ok now I'm sure it's a security problem : if I make my save user member of
the local administrators group, the task run ! But I don't want to let him in
this group.

I'm unable to find the correct configuration.

"François Miermont" wrote:

> On Cypher ? It's the remote server.
>
> Well, I also check, and I think it's ok (not sure, because in French the
> rule is call "Ouvrir une session en tant que tâche", is it that ?).
>
> Thx a lot for your interest :-)
>
> "Dave Patrick" wrote:
>
> > Check that the user also has logon as batch job rights on \\Cypher
> >
> > --
> > Regards,
> >
> > Dave Patrick ....Please no email replies - reply in newsgroup.
> > Microsoft Certified Professional
> > Microsoft MVP [Windows]
> > http://www.microsoft.com/protect
> >
> > "François Miermont" wrote:
> > | And also, if I open an interactive session with my save user, and then go
> > to
> > | Scheduled task|File|Execute, the .bat works !
> > |
> > | The problem is, I think, a problem of permission to launch a .bat as a
> > task
> > | (or service ?).
> > |
> > | I also look at the GPO, but my save user have rights "Open a session as a
> > | service" and "Open a session as a Task".
> >
> >
> >

Reply With Quote
  #22  
Old 23-03-2005
Dave Patrick
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Yes on remote server.

Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
Assignments
"Log on as a batch job"

I can't read French but a translator I used gets "To open a session as a
task" I'm not sure it's the same of not really.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Fran?ois Miermont" wrote:
| On Cypher ? It's the remote server.
|
| Well, I also check, and I think it's ok (not sure, because in French the
| rule is call "Ouvrir une session en tant que t?che", is it that ?).
|
| Thx a lot for your interest :-)


Reply With Quote
  #23  
Old 23-03-2005
Dave Patrick
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Yes on remote server.

Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
Assignments
"Log on as a batch job"

I can't read French but a translator I used gets "To open a session as a
task" I'm not sure it's the same of not really.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Fran?ois Miermont" wrote:
| On Cypher ? It's the remote server.
|
| Well, I also check, and I think it's ok (not sure, because in French the
| rule is call "Ouvrir une session en tant que t?che", is it that ?).
|
| Thx a lot for your interest :-)


Reply With Quote
  #24  
Old 23-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

That's the correct translation.

I have found where's the problem. I can make a task that launch calc.exe for
exemple. I also can copy calc.exe in my .bat's directory, and then make a
task that launch it.
But I'm unable to make a task that launch a .bat (or .cmd). I really think
there's something like IIS lockdown, no ?

"Dave Patrick" wrote:

> Yes on remote server.
>
> Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
> Assignments
> "Log on as a batch job"
>
> I can't read French but a translator I used gets "To open a session as a
> task" I'm not sure it's the same of not really.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "François Miermont" wrote:
> | On Cypher ? It's the remote server.
> |
> | Well, I also check, and I think it's ok (not sure, because in French the
> | rule is call "Ouvrir une session en tant que tâche", is it that ?).
> |
> | Thx a lot for your interest :-)
>
>
>

Reply With Quote
  #25  
Old 23-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

That's the correct translation.

I have found where's the problem. I can make a task that launch calc.exe for
exemple. I also can copy calc.exe in my .bat's directory, and then make a
task that launch it.
But I'm unable to make a task that launch a .bat (or .cmd). I really think
there's something like IIS lockdown, no ?

"Dave Patrick" wrote:

> Yes on remote server.
>
> Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
> Assignments
> "Log on as a batch job"
>
> I can't read French but a translator I used gets "To open a session as a
> task" I'm not sure it's the same of not really.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "François Miermont" wrote:
> | On Cypher ? It's the remote server.
> |
> | Well, I also check, and I think it's ok (not sure, because in French the
> | rule is call "Ouvrir une session en tant que tâche", is it that ?).
> |
> | Thx a lot for your interest :-)
>
>
>

Reply With Quote
  #26  
Old 23-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

I was right !

Here is the solution : http://support.microsoft.com/kb/867466/en-us

It's a really new feature of Windows 2003.

Thx a lot for your help Patrick ;-)

"François Miermont" wrote:

> That's the correct translation.
>
> I have found where's the problem. I can make a task that launch calc.exe for
> exemple. I also can copy calc.exe in my .bat's directory, and then make a
> task that launch it.
> But I'm unable to make a task that launch a .bat (or .cmd). I really think
> there's something like IIS lockdown, no ?
>
> "Dave Patrick" wrote:
>
> > Yes on remote server.
> >
> > Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
> > Assignments
> > "Log on as a batch job"
> >
> > I can't read French but a translator I used gets "To open a session as a
> > task" I'm not sure it's the same of not really.
> >
> > --
> > Regards,
> >
> > Dave Patrick ....Please no email replies - reply in newsgroup.
> > Microsoft Certified Professional
> > Microsoft MVP [Windows]
> > http://www.microsoft.com/protect
> >
> > "François Miermont" wrote:
> > | On Cypher ? It's the remote server.
> > |
> > | Well, I also check, and I think it's ok (not sure, because in French the
> > | rule is call "Ouvrir une session en tant que tâche", is it that ?).
> > |
> > | Thx a lot for your interest :-)
> >
> >
> >

Reply With Quote
  #27  
Old 23-03-2005
François Miermont
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

I was right !

Here is the solution : http://support.microsoft.com/kb/867466/en-us

It's a really new feature of Windows 2003.

Thx a lot for your help Patrick ;-)

"François Miermont" wrote:

> That's the correct translation.
>
> I have found where's the problem. I can make a task that launch calc.exe for
> exemple. I also can copy calc.exe in my .bat's directory, and then make a
> task that launch it.
> But I'm unable to make a task that launch a .bat (or .cmd). I really think
> there's something like IIS lockdown, no ?
>
> "Dave Patrick" wrote:
>
> > Yes on remote server.
> >
> > Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
> > Assignments
> > "Log on as a batch job"
> >
> > I can't read French but a translator I used gets "To open a session as a
> > task" I'm not sure it's the same of not really.
> >
> > --
> > Regards,
> >
> > Dave Patrick ....Please no email replies - reply in newsgroup.
> > Microsoft Certified Professional
> > Microsoft MVP [Windows]
> > http://www.microsoft.com/protect
> >
> > "François Miermont" wrote:
> > | On Cypher ? It's the remote server.
> > |
> > | Well, I also check, and I think it's ok (not sure, because in French the
> > | rule is call "Ouvrir une session en tant que tâche", is it that ?).
> > |
> > | Thx a lot for your interest :-)
> >
> >
> >

Reply With Quote
  #28  
Old 23-03-2005
Dave Patrick
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Good find! Glad to hear it is resolved.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Fran?ois Miermont" wrote:
|I was right !
|
| Here is the solution : http://support.microsoft.com/kb/867466/en-us
|
| It's a really new feature of Windows 2003.
|
| Thx a lot for your help Patrick ;-)


Reply With Quote
  #29  
Old 23-03-2005
Dave Patrick
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Good find! Glad to hear it is resolved.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Fran?ois Miermont" wrote:
|I was right !
|
| Here is the solution : http://support.microsoft.com/kb/867466/en-us
|
| It's a really new feature of Windows 2003.
|
| Thx a lot for your help Patrick ;-)


Reply With Quote
  #30  
Old 18-04-2005
JohnR
 
Posts: n/a
Re: Task scheduling : error 0x80070005: Access denied

Just FYI....

You can map a drive as "system" etc by using the Local Computer
Policy "User Configuration - Logon/Logoff". You place a .bat file here
that maps the drive you want active and available during logoff and it
will be there for any process that needs it (scripts)....Of course
permissions need to be set correctly for whatever user(s) need them....

Dave Patrick wrote:
> Yes on remote server.
>
> Control Panel|Admin Tools|Local Security Policy\Local Policies\User

Rights
> Assignments
> "Log on as a batch job"
>
> I can't read French but a translator I used gets "To open a session

as a
> task" I'm not sure it's the same of not really.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "Fran?ois Miermont" wrote:
> | On Cypher ? It's the remote server.
> |
> | Well, I also check, and I think it's ok (not sure, because in

French the
> | rule is call "Ouvrir une session en tant que t?che", is it that

?).
> |
> | Thx a lot for your interest :-)


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Task scheduling : error 0x80070005: Access denied"
Thread Thread Starter Forum Replies Last Post
Windows Scheduled Task: Unable to start task. 0x80070005: Access is denied. BCU_AJones Windows Software 3 17-01-2014 10:37 AM
Error 0x80070005 access is denied PARRISH Windows Vista Network 2 14-08-2009 07:05 PM
Access denied in Backup error Code 0x80070005 JustinG69 Vista Help 3 24-06-2009 11:05 AM
Error: 0x80070005 Access is denied Backup failed. lemmy Vista Help 6 31-07-2007 11:22 PM
XP Home Task Scheduler Error 0x80070005: Access is denied Hayes II XP Hardware 1 24-03-2007 10:18 PM


All times are GMT +5.5. The time now is 10:34 AM.