Article ID: 867466 - View products that this article applies to.
When you run a batch job that runs under the context of a regular user account on a Microsoft Windows Server 2003-based computer, the script may not run. If you run the batch job by using the Scheduled Tasks feature, the following error message may be logged in the Scheduled Tasks log file (Schedlgu.txt):
If you use a debugger program to try to determine why the batch job does not work, the following error message may appear in the debug output:
0x80070005: Access is denied.
Access Denied (Error 5)
This issue occurs if all the following conditions are true:
To resolve this issue, use either of the following methods.
Method 1Grant the Cmd.exe program Read and Execute permissions for the user account that the batch job runs under. To do this, follow these steps:
Method 2Grant Read and Execute permissions for the Cmd.exe file to the Batch group. This permits all batch processes to run the command processor. To do this, follow these steps:
The behavior that is described in this article is different from the default behavior of Microsoft Windows 2000 Server. By default, Windows 2000 Server grants Read permissions and Execute permissions to the Users group.
For more information about implicit groups, visit the following Microsoft Web sites:
Article ID: 867466 - Last Review: November 30, 2007 - Revision: 1.5
Contact us for more help