Command line args in Msrdc.exe (Microsoft Remote Desktop Client).

Copper Contributor

Is there any information where you can find all command line Parameters for MSRDC?

For example:





2 Replies
Hi @Christoffer_1984 Microsoft Remote Desktop Connection (RDC), also known as "mstsc.exe," is a utility for connecting to remote computers using the Remote Desktop Protocol (RDP). Below is a list of common command-line parameters you can use with the Microsoft Remote Desktop Connection client: /v:<server[:port]> - Specifies the remote computer and, optionally, the port number to which you want to connect. /admin - Connects you to the session for administering a remote computer. /f - Starts Remote Desktop in full-screen mode. /w:<width> - Specifies the width of the Remote Desktop window. /h:<height> - Specifies the height of the Remote Desktop window. /public - Runs Remote Desktop in public mode. /span - Spans the Remote Desktop window across multiple monitors. /multimon - Configures the Remote Desktop Services session monitor layout to be identical to the current client-side configuration. /edit "ConnectionFile" - Opens the specified .rdp connection file for editing. /migrate - Migrates legacy connection files that were created with earlier versions of Remote Desktop Connection to new file format. However, the specific command-line parameters you mentioned (/l:, /p:, /r:, and /n:) are not standard parameters for the Microsoft Remote Desktop Connection client (mstsc.exe). If you are looking for information on a different command-line tool or a third-party RDP client, please provide more details or clarify your question, and I will do my best to help.