Windows Remote Desktop Connection command mstsc favorites

Source: Internet
Author: User
Tags windows remote desktop mstsc

Common:
1. mstsc/V: 192.168.0.1

Used when the number of connections is full:
2. mstsc/V: 192.168.0.1/console-Admin

Mstsc command reference
Updated: September 28,200 7

Creates connections to terminal servers or other remote computers, edits an existing Remote Desktop Connection (. RDP) configuration file, and migrates legacy connection files that were created with Client Connection Manager to new. RDP connection files.

For examples of how to use this command, see examples.

Syntax

Mstsc.exe [<connection File>] [/V: <Server> [: <port>] [/admin] [/F] [/W: <width>/h:

Mstsc.exe/edit <connection File>

Mstsc.exe/migrate

Parameters
 
Parameter description
<Connection File>
Specifies the name of an. RDP file for the connection.
 
/V: <server [: <port>]
Specifies the remote computer and, optionally, the port number to which you want to connect.
 
/Admin
Connects you to a session for administering the server.
 
/F
Starts Remote Desktop Connection in full-screen mode.
 
/W: <width>
Specifies the width of the Remote Desktop window.
 
/H: Specifies the height of the Remote Desktop window.
 
/Public
Runs Remote Desktop in public mode. In public mode, passwords and bitmaps are not cached.
 
/Span
Matches the Remote Desktop width and height with the local virtual desktop, spanning implements SS multiple monitors if necessary.
 
/Edit <connection File>
Opens the specified. RDP file for editing.
 
/Migrate
Migrates legacy connection files that were created with Client Connection Manager to new. RDP connection files.
 
/?
Displays help at the command prompt.
 

Remarks
Default. RDP is stored for each user as a hidden file in the user's orders ents folder. user Created. RDP files are saved by default in the user's documents folder but can be saved anywhere.

To span internal SS monitors, the monitors must use the same resolution and must be aligned horizontally (that is, side by side ). there is currently no support for spanning multiple monitors vertically on the client system.

Examples
To connect to a session in full-screen mode, type:

Mstsc/F
To open a file called filename. RDP for editing, type:

Mstsc/edit filename. RDP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.