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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a command on a remote machine...

Status
Not open for further replies.

rstubbington

Technical User
May 14, 2001
13
GB
Anyone know how I can run a command remotely.

I.E. I am sat at my desk and want to run a command on a users machine without having to go to their machine.

I've just tried REXEC and RSH but these won't give me a connection. Anyone know any other way I can do this.

( I want to connect ot a machine to run a 'net use' command on that machine from my desk - can this be done ??)

Maybe there is a way to open a command prompt for a remote machine - if so I don't know how - can anyone help ?
 
you can connect to their machine using telnet which is internal to windows:

go to admin tools on the target pc and open Telnet Server Administration. enter option 4. close admin program (you only need to do that once)

on your box
-----------
type telent at the prompt
type 'open' (without quotes)
type 'ip address of the target pc' (without quotes)
enter any username and password (probably sys admin account).

you not have a remote command prompt.
 
Not without a telnet server running on the computer you want to dial into you won't... Nate Gagne
nathan.gagne@verizon.net

Like my post? Let me know it was helpful!
 
Remote Command Service
The Remote Command Service (Rcmd.exe) provides a secure, robust way to remotely administer and run command-line programs. Remote Command Service consists of client and server components. The client is a command-line program, Rcmd.exe. The server end, Rcmdsvc.exe, is installed and run as a service. A command session, or "virtual console," is created when a client connects to the server. It is not visible on the desktop, and does not in any way interfere with it. Up to 10 clients may be simultaneously connected to the remote command server on a computer, all operating securely and independently of each other.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top