Remote command-prompt on a Windows systemWhile Windows offers a Telnet Server solution, we typically do not recommend this solution for security reasons. Instead, we prefer the use of PsExec from SysInternals. This utility allows you to execute any command-line program on a remote system or under a different security context (even the System account). By using PsExec to execute cmd on a remote system, you can create a remote command prompt. PsExec creates a service on the remote system, then removes it when it's finished, meaning not setup is required on the host system, nor is a port open always listening for connections. If your account has Admin privileges on the remote system, creating a remote command-prompt session is as simple as: psexec \\COMPUTER cmd Note that if you use CTRL-C to break out of a program while in a PsExec'd command prompt, you will actually close the PsExec session -- we frequently run into this while trying aborting a ping! Author: ASAK Created: Dec 1 2005 Categories: Windows TechByte #102 Warning: By visiting this site and/or by using any information contained herein, you agree to the Techbytes.ca terms of use.
Add a comment about this TechByteIf you wish to add a comment regarding this TechByte, please use the form below. Please note that by submitting comments using this form you are allowing all of the information submitted to be visible on this website. Any comments submitted using this form will only be shown on the website if they are approved by the administrators of this site. IF APPROVED, COMMENTS MAY TAKE SEVERAL DAYS TO BE POSTED. Other TechBytes: |
|

