zoukankan      html  css  js  c++  java
  • XP与2003下开3389终端的方法

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
    "fDenyTSConnections"=dword:00000000
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]
    "PortNumber"=dword:00000D3D
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
    "PortNumber"=dword:00000D3D

    这样xp和2003开启终端是不用重启的如果你想改端口只需把上面的两个PortNumber对应的D3D改成相应十进制数的十六进制形式就可以了!用计算器转换吧。

    XP下不论开终端还是改终端端口都不需重启,真是太妙了~~呵呵。

    如果要关闭终闭只需把"fDenyTSConnections"=dword:00000000

    改成"fDenyTSConnections"=dword:00000001


    如果在SHELL运行

    echo Windows Registry Editor Version 5.00>>c:\3389.reg

    echo
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>>c:\3389.reg

    echo
    "fDenyTSConnections"=dword:00000000>>c:\3389.reg

    echo
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal echo Server\Wds\rdpwd\Tds\tcp]>>c:\3389.reg

    echo
    "PortNumber"=dword:00000D3D>>c:\3389.reg

    echo
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]>>c:\3389.reg

    echo
    "PortNumber"=dword:00000D3D>>c:\3389.reg

    在提权那

    cmd /c echo Windows Registry Editor Version 5.00>>c:\3389.reg

    这样每一条都提权下

    就会在C盘生成一个3389.reg

    最后就是导入注册

    cmd /c regedit /s c:\3389.reg

    这样3389就开了!

    补充:cmd /c regedit /s c:\3389.reg  在DOS下也可导入在C盘的3389.reg注册表

  • 相关阅读:
    mysql数据库表中判断字段是否存在,如果不存在则创建该字段
    PHP同时操作两个mysql数据库
    Bootstrap-分页插件Paginator
    NLP--自然语言处理与机器学习会议
    对CURL的一些研究
    Nginx完整配置说明
    SecureCRT自动登陆到服务器的脚本以及脚本编写简单说明
    Fast CGI 工作原理
    FastCGI中文规范
    Linux +apache+fastcgi运行c/c++
  • 原文地址:https://www.cnblogs.com/cdxkyz/p/xp20033389.html
Copyright © 2011-2022 走看看