Hello,
Trying to remote execute a batch file from my visual cron server (2003), to a 2008 R2 server.
When the task is run either scheduled or manually from VC it reports success, but it doesn't actually run on the remote server.
The task runs 2 batch files - one checks if a drive is present and if true calls a second batch file to run the backup. The backup is to export the dhcp scopes to a local drive - and I have added the service account to dhcp administrators.
Using a local admin user account (service account is a domain account & local admin on both servers) for the task. I have tried my account as well (domain admin) but same result.
When I manually run the batch file while logged on to the 2008 server it runs ok, and it also runs ok if I do a run as the service account.
I have tried pointing to \\server\c$\scripts\file.bat or \\server\share\scripts\file.bat
with the same result
Because this is running remotely it's running as background execution.
Has anyone come across this type of thing before?
I think it's due to the server being hardened quite heavily, I'm going to test on a vanilla 2008 R2 to see what happens. These batch files work fine from visual cron when pointing to a 2003 R2 server.
Thanks
Edited by moderator
2011-05-11T15:09:24Z
|
Reason: Not specified