What is REXEC?

John Savill

January 2, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Windows NT/2000 ships with a command REXEC.EXE which when usedin conjunction with a REXEC daemon (REXECD) can run commands on remote systems,hence the name, Remote EXECution.

C:>rexec 10.129.210.71 -l [email protected] dir
Password (10.129.210.71:):
> rexec:connect:Connection refused
rexec: can't establish connection

The -l is the name to use on the remote system, here I've used the Windows200 format, [email protected], however you could also use the older domainameformat.

Notice in the example the command failed, this is because the remote machinedid not have the REXEC daemon installed. This is actually a problem, WindowsNT/2000 does not have a REXEC daemon, only the client. REXEC does not only workfor NT servers, but also Unix, VMS and anything else that supports REXEC.

There are 3rd party solutions, see 'Q. What REXEC daemons (REXECD) are available for NT/2000?'

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like