A great tool we found at this site www.remkoweijnen.nl


Remco 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.

Download: Here is the download of the Launch RDP program

Arguments are:

  1. Servername (string)
  2. Port (integer, usually 3389)
  3. Username (string)
  4. Domain (string)
  5. Password (string)
  6. Console (integer, specify 0 for false and 1 for true)
  7. RedirectDrives (integer, specify 0 for false and 1 for true)
  8. 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!

Annoying popup