Windows 2008 R2 issue with remote execution
I have a VBScript that is called by a batch file for remote execution on servers. It works on all versions of Windows 2003 and on Windows 2008 except Windows 2008 R2. I pushed this script out for remote execution using domain admin account. It will only work on Windows 2008 R2 if I am logged into the server at the time the script executes. The rest of the script runs fine, but the file is never copied.
objFSO.copyfile strComputerName & ".zip", "\\<servername>\<share>\" & strComputerName & ".zip", true