Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Sep 29 '11 at 11:07

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

2 Answers 2

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: http://www.howtogeek.com/school/sysinternals-pro/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.