Do the following steps to set up:
1. Start –> Run
2. Type in secpol.msc /s
3. Select "Local Policies" in MSC snap in
4. Select "User Rights Assignment"
5. Right click on "Log on as batch job" and select Properties
6. Click "Add User or Group", and include the user that run the job.
7. OK out of dialogs