Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initiating Batch on Remote Server

Status
Not open for further replies.

sohtnax

IS-IT--Management
Apr 24, 2003
130
US
How can I trigger a batch file to run on a server remotely, without actually executing the batch on the machine I am using?

For example, I have create testbatch on Server A. At any given moment, I want to be able to triger the script testbatch script to run locally on Server A, from ServerB.

 
Get yourself a copy of SysInternals PSEXEC. It is a free download.

I hope you find this post helpful.

Regards,

Mark
 
Did you try and right click on another computer's "My Computer", select manage, and right click on Computer Management and select connect to another computer. Connect to the remote server and run the batch file. Good luck.

Glen A. Johnson
To get the best awnsers to your questions, check out faq950-5848
If your from the Chicagoland area, check out Tek-Tips in Chicago IL
 
There is a remote command prompt utility in the Windows 2000 Support Tools called Remote.exe which allows you to "Run commandline programs on remote computers using named pipes. "

It should be in your install CD or if you have the latest service pack, check the Support\Tools\Support.cab file on the Windows 2000 SP. Not sure when the last update was but the one on the install CD should work fine.



Claudius (What certifications??)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top