I have a batch file which I would like to schedule to run using WIN AT. However, the purpose of this batch file is to run some backups (of an Oracle Database) with the output going to a Folder on another server (W2K). If I run the batch file from the server at a command prompt it works fine (because the server logon name has permisssion to write to the W2K folder in question). However, when scheduled using WIN AT (and it is important to schedule this job), then the batch file does not have the correct permissions to write to the folder. Has anyone got any ideas how I can get around this problem?
Regards Mike Brooks
This conversation is currently closed to new comments.
What account does the WIN AT service run as? Give that account the appropriate permissions (or change the account to one that has the proper permissions), restart the service, and try it again...
WIN AT is a graphical front end to the Windows Scheduler service. I cannot seem to change the scheduling service to have any other permissions apart from 'System'. I think I will have to have a look at another scheduler.
Create a domain account called something like "schedule_service" and add that account to the domain admins global group. Then change the schedule service on the box you are runnig the script from to startup using the account you created (through the services => schedule service). As long as the W2K server is in the same domain as the server you are scheduling your script to run on, and the local admins has access to the directory and share, the script will run successfully.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Permission Problem Scheduled Batch File
Regards
Mike Brooks