Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if it possible to initiate a RDP session in windows that is purely on the command line, that is, login, passwords, directory traversal etc. If not, is there any open source project that allows so? I do not need the GUI version of RDP.

share|improve this question

migrated from Sep 29 '11 at 11:07

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

You could use SSH for administration. That's what i usually do: Install Cygwin with a ssh service.

share|improve this answer
There are (or at least once were) security issues with Cygwin on multi-user machines. Care may be needed. – Harry Johnston Sep 29 '11 at 22:21
One alternative is psexec (available from Microsoft). – Harry Johnston Sep 29 '11 at 22:21

As Harry points out, you can run a remote command prompt using psexec:

psexec \\computername cmd.exe

A good psexec Tutorial:

share|improve this answer

You must log in to answer this question.