Microsoft Remote Desktop Command Line

In this article. Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012. Learn about the available Remote Desktop Services (Terminal Services) command-line tools, with descriptions and links for more detailed information. Enable Multimon using one of the three methods described below: a. Click “Use all monitors for the remote session” in the client (mstsc.exe) window. Use the “/multimon” switch on the mstsc.exe command line. Add “Use Multimon:i:1” to the RDP file. Connect to a computer running Windows 7 or Windows Server 2008 R2.

  1. Microsoft Remote Desktop Connection Manager Command Line
  2. Windows Remote Desktop Command Prompt

MSTSC is the command that you need to use to open Windows Remote Desktop in the command prompt.

You can type MSTSC directly in to the search box on Windows 10 (or click on Start > Run in earlier Windows versions).

You can also use the MSTSC command directly from the command line as well. There are a few different switches which you can use.

Connect to the console session using RDP

This command will connect you to the console session on a server rather than starting a new session

mstsc / console

Microsoft Remote Desktop Connection Manager Command Line

Line

Command to open Remote Desktop in full screen mode

mstsc /f

Windows Remote Desktop Command Prompt

Microsoft

Specify the computer you want to connect to using the command prompt to open RDP

mstsc /v:computername

[Total: 0 Average: 0]