Posted by: Saajha June 11, 2009
Sysadmins- Advise pls.
Login in to Rate this Post:     0       ?        
This one's resolved...
all I had to do was make the remote server run the UNC mapping rather than copying the batch file locally and asking it to execute.

Meaning:

The original command:
psexec @listofMachines.bat -u DOMAIN\loginID -e -d -c C:\Folder\subfolder\file.bat

was modified to:
psexec @listofMachines.bat -u DOMAIN\loginID -e -d \\localServer\Folder\subfolder\file.bat

by removing -c and including the UNC path.

~@~
Read Full Discussion Thread for this article