1.

Solve : Executing a Remote Batch File?

Answer»

I need to execute a batch file on a set of other PC's from my work station. How do I write the batch file so that it executes on the remote pc rather than on my station?I have been FRUSTRATED by this myself. Apparently if the PC's are members of a WORKGROUP you cannot REMOTELY execute jobs. If the PC's are on a DOMAIN you can provided:

Quote

Before you can launch a script remotely, the system on which it runs has to be
configured to support remote scripting. This requires that Windows Script Host
5.6 be installed on the remote machine, that the user launching the remote
script be a MEMBER of the remote machine’s Local Administrators group, and
that remote scripting be enabled in the registry.


For an example of a remote script, CHECK out:

http://www.script-info.net/jsvbs/msscript/ws/wsconrunningscriptsremotelyrunningscriptovertherefromhere.php

For command line support check out REXEC: (you need to scroll down)

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx

Hope this HELPS.


Discussion

No Comment Found