mstsc 用法

mstsc -v 172.18.131.172 /console 如果超过连接数用console连接就可以.

语法 mstsc.exe {ConnectionFile | /v:ServerName[:Port]} [/console] [/f] [/w:Width/h:Height]

mstsc.exe/edit"ConnectionFile"

mstsc.exe/migrate

参数 ConnectionFile

指定用于连接的 .rdp 文件的名称。

/v: ServerName[ :Port]

指定要连接的远程计算机和(可选)端口号。

/console

连接到指定的 Windows Server 2003 家族操作系统的控制台会话。

/f

在全屏模式下启动“远程桌面”连接。

/w:Width /h:Height

指定“远程桌面”屏幕的尺寸。

/edit " ConnectionFile "

打开指定的 .rdp 文件进行编辑。

/migrate

将使用“客户端连接管理器”创建的旧的连接文件迁移到新的 .rdp 连接文件中。