How to run a local bat file on a remote computer

Solution 1:

I would suggest using psexec which is part of the SysInternals Suite.

psexec \\remotemachine -u remoteuser -i -d cmd -c localdisk:\folder\batchfile.bat

-c will copy from local path