Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30

Thread: Task scheduling : error 0x80070005: Access denied

  1. #16
    Dave Patrick Guest

    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".



  2. #17
    Dave Patrick Guest

    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".



  3. #18
    François Miermont Guest

    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".
    >
    >
    >


  4. #19
    François Miermont Guest

    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".
    >
    >
    >


  5. #20
    François Miermont Guest

    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".
    > >
    > >
    > >


  6. #21
    François Miermont Guest

    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".
    > >
    > >
    > >


  7. #22
    Dave Patrick Guest

    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 :-)



  8. #23
    Dave Patrick Guest

    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 :-)



  9. #24
    François Miermont Guest

    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 :-)
    >
    >
    >


  10. #25
    François Miermont Guest

    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 :-)
    >
    >
    >


  11. #26
    François Miermont Guest

    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 :-)
    > >
    > >
    > >


  12. #27
    François Miermont Guest

    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 :-)
    > >
    > >
    > >


  13. #28
    Dave Patrick Guest

    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 ;-)



  14. #29
    Dave Patrick Guest

    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 ;-)



  15. #30
    JohnR Guest

    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 :-)



Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 17-01-2014, 10:07 AM
  2. Error 0x80070005 access is denied
    By PARRISH in forum Windows Vista Network
    Replies: 2
    Last Post: 14-08-2009, 06:35 PM
  3. Access denied in Backup error Code 0x80070005
    By JustinG69 in forum Vista Help
    Replies: 3
    Last Post: 24-06-2009, 10:35 AM
  4. Replies: 6
    Last Post: 31-07-2007, 10:52 PM
  5. Replies: 1
    Last Post: 24-03-2007, 09:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,638,122,165.79131 seconds with 17 queries