Page 1 of 2 12 LastLast
Results 1 to 15 of 30

Thread: Task scheduling : error 0x80070005: Access denied

  1. #1
    François Miermont Guest

    Task scheduling : error 0x80070005: Access denied

    Hi,


    I encountered a problem with the Task scheduler with Windows 2003 standart
    edition.

    I'll want to make a scheduled task that launch a .bat file. The .bat file
    works great (tested in command prompt).
    I assign my save user to do this task. When I have an interactive session
    opened with my save user, and then I launch the task manually, it work. But
    if I close my session, the task does not launch, and I found this error ine
    the log :
    "backup.job" (backup.bat) **ERROR**
    0x80070005: Access is denied.
    Try using the Task page Browse button to locate application.

    My save user have full ntfs permission on both .bat and .job directory.

    Please need help :)

    PS/ sorry for my poor English :p

  2. #2
    Dave Patrick Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Your English is just fine. Remember that if it involves network resources,
    make sure the user account has permissions to the resources and also use UNC
    paths as mapped drives won't exist when no one is logged on. Scheduled
    Tasks|Advanced|View Log may provide some details.


    --
    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:
    | Hi,
    |
    |
    | I encountered a problem with the Task scheduler with Windows 2003 standart
    | edition.
    |
    | I'll want to make a scheduled task that launch a .bat file. The .bat file
    | works great (tested in command prompt).
    | I assign my save user to do this task. When I have an interactive session
    | opened with my save user, and then I launch the task manually, it work.
    But
    | if I close my session, the task does not launch, and I found this error
    ine
    | the log :
    | "backup.job" (backup.bat) **ERROR**
    | 0x80070005: Access is denied.
    | Try using the Task page Browse button to locate application.
    |
    | My save user have full ntfs permission on both .bat and .job directory.
    |
    | Please need help :)
    |
    | PS/ sorry for my poor English :p



  3. #3
    Dave Patrick Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Your English is just fine. Remember that if it involves network resources,
    make sure the user account has permissions to the resources and also use UNC
    paths as mapped drives won't exist when no one is logged on. Scheduled
    Tasks|Advanced|View Log may provide some details.


    --
    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:
    | Hi,
    |
    |
    | I encountered a problem with the Task scheduler with Windows 2003 standart
    | edition.
    |
    | I'll want to make a scheduled task that launch a .bat file. The .bat file
    | works great (tested in command prompt).
    | I assign my save user to do this task. When I have an interactive session
    | opened with my save user, and then I launch the task manually, it work.
    But
    | if I close my session, the task does not launch, and I found this error
    ine
    | the log :
    | "backup.job" (backup.bat) **ERROR**
    | 0x80070005: Access is denied.
    | Try using the Task page Browse button to locate application.
    |
    | My save user have full ntfs permission on both .bat and .job directory.
    |
    | Please need help :)
    |
    | PS/ sorry for my poor English :p



  4. #4
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Thx for your interest !

    The error log that I gave before was in the Scheduled Task/Advanced/View Log
    file.

    I also tested the task using the administrator user, with the interactive
    session closed. It just work fine !

    Seems to be a permission problem, but I cant found where :-(

    "Dave Patrick" wrote:

    > Your English is just fine. Remember that if it involves network resources,
    > make sure the user account has permissions to the resources and also use UNC
    > paths as mapped drives won't exist when no one is logged on. Scheduled
    > Tasks|Advanced|View Log may provide some details.
    >
    >
    > --
    > 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:
    > | Hi,
    > |
    > |
    > | I encountered a problem with the Task scheduler with Windows 2003 standart
    > | edition.
    > |
    > | I'll want to make a scheduled task that launch a .bat file. The .bat file
    > | works great (tested in command prompt).
    > | I assign my save user to do this task. When I have an interactive session
    > | opened with my save user, and then I launch the task manually, it work.
    > But
    > | if I close my session, the task does not launch, and I found this error
    > ine
    > | the log :
    > | "backup.job" (backup.bat) **ERROR**
    > | 0x80070005: Access is denied.
    > | Try using the Task page Browse button to locate application.
    > |
    > | My save user have full ntfs permission on both .bat and .job directory.
    > |
    > | Please need help :)
    > |
    > | PS/ sorry for my poor English :p
    >
    >
    >


  5. #5
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Thx for your interest !

    The error log that I gave before was in the Scheduled Task/Advanced/View Log
    file.

    I also tested the task using the administrator user, with the interactive
    session closed. It just work fine !

    Seems to be a permission problem, but I cant found where :-(

    "Dave Patrick" wrote:

    > Your English is just fine. Remember that if it involves network resources,
    > make sure the user account has permissions to the resources and also use UNC
    > paths as mapped drives won't exist when no one is logged on. Scheduled
    > Tasks|Advanced|View Log may provide some details.
    >
    >
    > --
    > 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:
    > | Hi,
    > |
    > |
    > | I encountered a problem with the Task scheduler with Windows 2003 standart
    > | edition.
    > |
    > | I'll want to make a scheduled task that launch a .bat file. The .bat file
    > | works great (tested in command prompt).
    > | I assign my save user to do this task. When I have an interactive session
    > | opened with my save user, and then I launch the task manually, it work.
    > But
    > | if I close my session, the task does not launch, and I found this error
    > ine
    > | the log :
    > | "backup.job" (backup.bat) **ERROR**
    > | 0x80070005: Access is denied.
    > | Try using the Task page Browse button to locate application.
    > |
    > | My save user have full ntfs permission on both .bat and .job directory.
    > |
    > | Please need help :)
    > |
    > | PS/ sorry for my poor English :p
    >
    >
    >


  6. #6
    Dave Patrick Guest

    Re: Task scheduling : error 0x80070005: Access denied

    We're clueless without seeing the contents of backup.bat

    --
    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:
    | Thx for your interest !
    |
    | The error log that I gave before was in the Scheduled Task/Advanced/View
    Log
    | file.
    |
    | I also tested the task using the administrator user, with the interactive
    | session closed. It just work fine !
    |
    | Seems to be a permission problem, but I cant found where :-(



  7. #7
    Dave Patrick Guest

    Re: Task scheduling : error 0x80070005: Access denied

    We're clueless without seeing the contents of backup.bat

    --
    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:
    | Thx for your interest !
    |
    | The error log that I gave before was in the Scheduled Task/Advanced/View
    Log
    | file.
    |
    | I also tested the task using the administrator user, with the interactive
    | session closed. It just work fine !
    |
    | Seems to be a permission problem, but I cant found where :-(



  8. #8
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Okay, here it is :

    robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    MyMail thomas .\Backuplog.txt

    "Dave Patrick" wrote:

    > We're clueless without seeing the contents of backup.bat
    >
    > --
    > 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:
    > | Thx for your interest !
    > |
    > | The error log that I gave before was in the Scheduled Task/Advanced/View
    > Log
    > | file.
    > |
    > | I also tested the task using the administrator user, with the interactive
    > | session closed. It just work fine !
    > |
    > | Seems to be a permission problem, but I cant found where :-(
    >
    >
    >


  9. #9
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Okay, here it is :

    robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    MyMail thomas .\Backuplog.txt

    "Dave Patrick" wrote:

    > We're clueless without seeing the contents of backup.bat
    >
    > --
    > 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:
    > | Thx for your interest !
    > |
    > | The error log that I gave before was in the Scheduled Task/Advanced/View
    > Log
    > | file.
    > |
    > | I also tested the task using the administrator user, with the interactive
    > | session closed. It just work fine !
    > |
    > | Seems to be a permission problem, but I cant found where :-(
    >
    >
    >


  10. #10
    Dave Patrick Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Does your user have permissions to write to \\Cypher\BackupServiceDev\ ? Is
    E:\ a local drive? If not try using a UNC path for it. If so you might try
    something simple to help determine the problem such as xcopy one file from
    source to destination.

    --
    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:
    | Okay, here it is :
    |
    | robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    | MyMail thomas .\Backuplog.txt



  11. #11
    Dave Patrick Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Does your user have permissions to write to \\Cypher\BackupServiceDev\ ? Is
    E:\ a local drive? If not try using a UNC path for it. If so you might try
    something simple to help determine the problem such as xcopy one file from
    source to destination.

    --
    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:
    | Okay, here it is :
    |
    | robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    | MyMail thomas .\Backuplog.txt



  12. #12
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Yes, my user have permission to write to Cypher, and E: is a logical drive.

    I also try to a simple copy, but the problem is that the task did not
    execute at all. The problem appears before that the .bat is launched.

    "Dave Patrick" wrote:

    > Does your user have permissions to write to \\Cypher\BackupServiceDev\ ? Is
    > E:\ a local drive? If not try using a UNC path for it. If so you might try
    > something simple to help determine the problem such as xcopy one file from
    > source to destination.
    >
    > --
    > 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:
    > | Okay, here it is :
    > |
    > | robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    > | MyMail thomas .\Backuplog.txt
    >
    >
    >


  13. #13
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

    Yes, my user have permission to write to Cypher, and E: is a logical drive.

    I also try to a simple copy, but the problem is that the task did not
    execute at all. The problem appears before that the .bat is launched.

    "Dave Patrick" wrote:

    > Does your user have permissions to write to \\Cypher\BackupServiceDev\ ? Is
    > E:\ a local drive? If not try using a UNC path for it. If so you might try
    > something simple to help determine the problem such as xcopy one file from
    > source to destination.
    >
    > --
    > 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:
    > | Okay, here it is :
    > |
    > | robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    > | MyMail thomas .\Backuplog.txt
    >
    >
    >


  14. #14
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

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

    "Dave Patrick" wrote:

    > Does your user have permissions to write to \\Cypher\BackupServiceDev\ ? Is
    > E:\ a local drive? If not try using a UNC path for it. If so you might try
    > something simple to help determine the problem such as xcopy one file from
    > source to destination.
    >
    > --
    > 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:
    > | Okay, here it is :
    > |
    > | robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    > | MyMail thomas .\Backuplog.txt
    >
    >
    >


  15. #15
    François Miermont Guest

    Re: Task scheduling : error 0x80070005: Access denied

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

    "Dave Patrick" wrote:

    > Does your user have permissions to write to \\Cypher\BackupServiceDev\ ? Is
    > E:\ a local drive? If not try using a UNC path for it. If so you might try
    > something simple to help determine the problem such as xcopy one file from
    > source to destination.
    >
    > --
    > 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:
    > | Okay, here it is :
    > |
    > | robocopy E:\Projets \\Cypher\BackupServiceDev\ /MIR /R:0 > .\Backuplog.txt
    > | MyMail thomas .\Backuplog.txt
    >
    >
    >


Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 17-01-2014, 10:37 AM
  2. Error 0x80070005 access is denied
    By PARRISH in forum Windows Vista Network
    Replies: 2
    Last Post: 14-08-2009, 07:05 PM
  3. Access denied in Backup error Code 0x80070005
    By JustinG69 in forum Vista Help
    Replies: 3
    Last Post: 24-06-2009, 11:05 AM
  4. Replies: 6
    Last Post: 31-07-2007, 11:22 PM
  5. Replies: 1
    Last Post: 24-03-2007, 10:18 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,711,666,071.88976 seconds with 17 queries