MSTSC – Windows CMD Command

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Connect and login to a remote machine using the Remote Desktop Protocol (RDP) also known as Terminal Server Connection (TSC).

To connect to a remote computer the user account must be a member of the local group ‘Remote Desktop users’ on the remote server (either directly or inherited via a global group) in addition the user account needs the privilege SeRemoteInteractiveLogonRight (allow logon through RDP/Terminal Services.)

The command CMDKEY can be used to setup/save the password credentials used by Remote Desktop.

Shortcut Keys

Shortcut keys that can be used when connected to a Remote Desktop:

Windows ShortcutRemote DesktopDescription
Ctrl+ALT+DelCtrl+ALT+ENDBring up the Windows Security dialog box.
ALT+TABALT+Page UpSwitch between programs from left to right.
ALT+Shift+TABALT+Page DownSwitch between programs from right to left.
ALT+INSERTSwitch between programs in the order they were started.
Ctrl+EscALT+HOMEDisplay the Start menu.
n/aCtrl+ALT+BREAKSwitch the client between full-screen mode and window mode.
ALT+Space BarALT+DeleteDisplays the remote window’s Control menu
ALT+Print ScreenCtrl+ALT+NumPad MINUSPlace an image of active window onto the Terminal Services clipboard.
Print ScreenCtrl+ALT+NumPad PLUSPlace an image of the entire TS client on the Terminal Services clipboard.
This is almost the same as pressing ALT+Print Screen to capute the window locally but removes the Windows chrome and so shows more of the remote window.

If the RDP shortcut keys don’t work – this is dependent on your RDP options/settings.
The window may need to be a full screen to accept shortcut keys.

All the RDP connection settings can be saved to a .rdp file, which you can then run from a shortcut:

The default settings are saved in default.rdp, you can also edit the .rdp file, the settings while scarcely documented all in plain text.

Error: “Your credentials did not work”

This error can have several causes:

If using a domain account, prefix with the domain name: f4tdom\userf4t
If the account is a non-administrator, you may need to grant login rights as described above.
If the password contains any special characters: $,/,\, Tabs, etc then copy and paste of the password to an RDP session may not work.
Specific problems: copy/paste will convert TABs into spaces and double $$’s are removed (e.g. Pa$$word1)

You may also like...

1 Response

  1. zortilonrel says:

    We’re a group of volunteers and starting a new scheme in our community. Your website provided us with valuable info to work on. You’ve done an impressive job and our whole community will be grateful to you.

Leave a Reply

Your email address will not be published. Required fields are marked *