Click to See Complete Forum and Search --> : Running DOS commands remotely in NT 4


Dmitriy Konyayev
07-02-2001, 02:11 PM
Does anybody know a good way to run a DOS command on Server A so that it executes on Server B? I need this for NT 4.0 Server.

Thanks

Chevy
07-03-2001, 02:52 AM
Why not use the Schedule service. Using AT (or WinAT from the RK) you can schedule a batch file to run.

example: at \servername time [/INTERACTIVE] [ /EVERY:date[,...] | /NEXT:date[,...]] "command"


Chevy
------------

Dmitriy Konyayev at 7/2/01 3:11:35 PM

Does anybody know a good way to run a DOS command on Server A so that it executes on Server B? I need this for NT 4.0 Server.

Thanks

Ofir
07-05-2001, 08:16 AM
1. Install Resource Kit 4.0 on server A
2. Open a command prompt window
3. redirect into the Resource Kit directory
for example - cd C:
treskit
4. run "rsetup \target_computer_name" - this will install remote
console service (RCONSVC.EXE) on the target computer.
(the target computer can be NT/200 server or wks)
5. run "rclient \target_computer_name", now you are having a dos console
as if you were sitting at the remote computer.
6. In order to successfully establish a remote console session you must be administrator on the target computer.