The mstsc command enables us to establish a remote desktop connection to a desktop machine or server, we call this as RDP session earlier it was the terminal services.
Open the run command and type in the mstsc and hit enter, it will bring below window.
Once it is opened you can provide the desktop hostname or server name and click on connect to get the authentication prompt when you get through the authentication, then you will be able to login to desktop or server.
MSTSC Parameters
/f: This parameter is used for Starting Remote Desktop connection in full-screen mode.
/w:width /h:height : This parameter is used for adjust the dimensions of the Remote Desktop screen.
/edit: This parameter is used for Opening the specified .rdp file for changes.
/migrate: This parameter is used for Migrating legacy connection files that were created with Client Connection Manager to new .rdp connection files.
/admin: This parameter is used to Log in as admin to the server
/v:server: This parameter is used for providing the remote computer to which you want to connect.
For all desktop workstations, it allows only a single RDP session, for all server operating systems it allows multiple sessions as one has to configure the RDS license to enable the feature.
Thank you for reading this article, if you have any questions please let us know.
Thank you for visiting my site, for any scripts in these articles you are testing please make sure you have tested this script in our lower environment before you run in production.
Leave a Reply Cancel reply