I remote access into a server running windows 2008 with my login from active directory. I wrote a BAT file to copy from a different sharefolder to backup files to this server. Running the BAT file manually copies the files perfectly. But when I schedule the task it does nothing. Even manually running the scheduled task does nothing either. How can I fix this?
Asked
Active
Viewed 408 times
0
-
Anyone have any thoughts on this? – user229342 Apr 14 '15 at 10:47
1 Answers
0
When you created the task what did you set under 'Security options'?
If the user account is not to be logged in all the time then set this to 'Run whether user is logged on or not' and ticket the 'Run with highest privileges'.
Ensure the user account users for this task has the same permissions as your testing account and check the'Run with highest privileges' box as this will operate as 'Run as Administrator' found here.
The issue appears to be your user account running the task or elevation of UAC to execute this.
![](../../users/profiles/83692.webp)
0x0000001E
- 147
- 6