microsoft

Windows Schedule Task 0x80070005: Access is denied

When you setting up a scheduled task from your Windows Server 2003, sometimes you might find out the error as below.

Error 0x80070005: Access is denied.

You might wonder what wrong with your scheduled task and how to fix it, basically this error caused by the Windows permission of the batch file you run from scheduled task.

To get this fix, actually you have 2 options.

Option 1:
1. Open Windows Explorer, from the Address bar, type in “%windir%\System32″.
2. Look for cmd.exe, right-click and go to properties.
3. Click on Security tab and add the user you are using to set the scheduled task, then grant read and write permission to these user.

Option 2:
1. Open Windows Explorer, from the Address bar, type in “%windir%\System32″.
2. Look for cmd.exe, right-click and go to properties.
3. Click on Security tab and add user name “BATCH”, then grant read and write permission to this user.

2 thoughts on “Windows Schedule Task 0x80070005: Access is denied”

Comments are closed.