mstsc 使用技巧

常用的:
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



首先,我们要在被连接的计算机上进行设置。使用鼠标右键单击“计算机”图标,选择“属性

在打开的“系统”窗口点击“远程设置”,在弹出的系统属性中的的“远程”选项窗口中选择“允许运行任意版本远程桌面的计算机连接”

下一步,我们进入“控制面板”选择“用户账户和家庭安全”,给这台需要被登录的计算机设置账户密码

点击”用户账户“这个选项

进入”用户账户“选项后,点击”为您的账户创建密码“选项

提示框中输入您想要使用的密码后,点击”创建密码“按钮。

当前面几步设置好之后,回到另外一台计算机上,点击左下角的开始图标,在搜索框中输入命令”MSTSC“,回车

在弹出的对话框中输入需要连接的计算机的IP地址,然后点击”连接“

点击连接后,又会弹出一个窗口,这时输入刚才设定好的账户密码,点击”确定“

确定后,你的计算机显示器上就出现了另外一台计算机的桌面,远程桌面连接成功了。

http://www.cnblogs.com/jacktang/archive/2009/04/21/mstsc.html  文章来源,感谢分享。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值