zoukankan      html  css  js  c++  java
  • Windows远程桌面连接命令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

  • 相关阅读:
    收藏网站制作常用经典css.div.布局.设计实例打包下载2
    下拉菜单 效果
    鼠标放在一个连接上,会显示图片(类似tooltip)
    收藏网站制作常用经典ajax.prototype.javascript实例打包下载2
    开发速查手册
    Visual Studio 2005 的 101 个示例(转)
    多行文本框限制输入字符长度(跳出窗体提示)
    发一个不用图片实现圆角代码,非常经典
    收藏网站制作常用经典css.div.布局.设计实例打包下载1
    Linux下php动态添加扩展
  • 原文地址:https://www.cnblogs.com/scoluo/p/6756016.html
Copyright © 2011-2022 走看看