Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Executing a Remote Batch File  (Read 3654 times)

0 Members and 1 Guest are viewing this topic.

MARION1

  • Guest
Executing a Remote Batch File
« on: August 03, 2005, 08:07:07 PM »
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?

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Executing a Remote Batch File
« Reply #1 on: August 04, 2005, 06:01:29 AM »
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. 8)
« Last Edit: August 04, 2005, 06:04:09 AM by Sidewinder »
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein