[服务器软件] 开启 3389 端口

204 0
狼毛 2023-3-24 19:25:32 | 显示全部楼层 |阅读模式
在 Windows Server 2003 中,使用 cmd 命令开启 3389 端口,示例如下。
wmic path win32_terminalservicesetting where (__CLASS != “”) call setallowtsconnections 1
在 Windows Server 2008/7/Server 2012 中,使用 cmd 命令开启 3389 端口,示例如下。
1
wmic /namespace:\\root\cimv2\terminalservices path
win32_terminalservicesetting where (__CLASS != “”) call setallowtsconnections 1
2
wmic /namespace:\\root\cimv2\terminalservices path win32_tsgeneralsetting where (TerminalName =’RDP-Tcp’) call setuserauthenticationrequired 1
3 reg add “HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fSingleSessionPerUser /t REG_DWORD /d 0 /f
在 Windows Server 2012 和 Windows 7 中只需要使用前两条命令。


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

狼毛

精英红客

关注
  • 203
    主题
  • 2
    粉丝
  • 1
    关注
这家伙很懒,什么都没留下!

中国红客联盟公众号

联系站长QQ:5520533

admin@chnhonker.com
Copyright © 2001-2025 Discuz Team. Powered by Discuz! X3.5 ( 粤ICP备13060014号 )|天天打卡 本站已运行