A little while ago I wrote a little commandline tool that starts an RDP connection (with mstsc.exe) because mstsc doesn’t allow you to use the login credentials (username, password) as commandline arguments.
- Servername (string)
- Port (integer, usually 3389)
- Username (string)
- Domain (string)
- Password (string)
- Console (integer, specify 0 for false and 1 for true)
- RedirectDrives (integer, specify 0 for false and 1 for true)
- RedirectPrinters (integer, specify 0 for false and 1 for true)
LaunchRDP MyServer 3389 User Domain Password 0 0 0
For v6 Terminal Server client it also fixes the annoying “do you trust the computer dialog” (shown below) by adding a registry key for the computer you connect to. So next time you connect you won’t be bothered!LaunchRDP (15961)
Note: Well, lot’s of people have asked for minimize/maximize buttons and/or the connection bar. No one has made a donation (through the Paypal donate button in the right most sidebar).
So I decided to make this a little challenge: when I receive at least 5 donations I will create an update with the connection bar in it!
/Update: An updated version is here