Windows遠端桌面連線命令mstsc收藏

來源:互聯網
上載者:User

常用的:
1. mstsc /v: 192.168.0.1

串連數滿了之後使用的:
2. mstsc /v: 192.168.0.1 /console -admin

Mstsc 命令參考
Updated: September 28, 2007

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:<Height>] [/public] [/span]

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:<Height>
 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 across 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 Documents folder. User created .rdp files are saved by default in the user's Documents folder but can be saved anywhere.

To span across 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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.