Windows

mstsc

SafeRemote Desktop client

mstsc /v:<host>

Launches RDP. /v: sets the target; /admin joins the console session when sessions are full.

Examples

  • mstsc /v:srv01 /adminConnect to the admin session

Syntax

mstsc [/v:host] [/admin] [/w:width /h:height]

Before you run it

Connection only; guard credentials.

Used when you see

Remote Desktop won't connect
4
Reconnect from the client to confirm
See the whole flow →

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store