How to Run a Remote Command on a PC
The most recent Microsoft Windows operating systems, such as Windows 7, Vista and XP, include the capability to provide command line access over the network using the telnet service. The ability to run commands on a remote computer saves travel time, and also administration cost, requiring only a low-bandwidth connection in order to connect and issue commands.
Things You'll Need
- Microsoft Windows 7 computer with network connection and the telnet service enabled
- IP address of the computer with telnet service enabled
- Microsoft Windows 7 client computer connected to the network
- Credentials for an account that has permissions to connect using telnet
Instructions
-
-
1
Click the "Start" button on the Windows 7 client computer, and then click "Control Panel."
-
2
Double-click "Programs" in the "Control Panel" window, and then click "Turn Windows Features On or Off."
-
-
3
Click the "Telnet Client" box listed in the "Windows Features" window, and then click the "OK" button. Windows will display a progress bar and then notification when completed.
-
4
Click the "Start" button, then click "Programs," and then click "Accessories."
-
5
Right-click the command line icon listed in "Accessories" and then click "Run as Administrator."
-
6
Type "telnet x.x.x.x" substituting the "x.x.x.x" with the IP address of the computer that has the telnet service enabled. Press the "Enter" key.
-
7
Type the name of an account that has been configured with permissions to access the computer through the telnet service, and press the "Enter" key.
-
8
Type the password of the account that has permissions to access the computer through the telnet service, and press the "Enter" key.
-
9
Type "systeminfo | more" on the command line and press the "Enter" key. The command line output will display the host name of the remote computer along with details of the computer's configuration.
-
1
References
- Photo Credit typing image by kuhar from Fotolia.com