::  ::  ::  ::  :: 管理

注册表开启3389端口方法

Posted on 2008-10-19 10:53 nt05 阅读(774) 评论(0)  编辑 收藏 引用 所属分类: windows nt
echo Windows Registry Editor Version 5.00>>c:\RECYCLER\3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>>c:\RECYCLER3389.reg
echo "fDenyTSConnections"=dword:00000000>>c:\RECYCLER\3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]>>c:\RECYCLER\3389.reg
echo "PortNumber"=dword:00000d3d>>c:\RECYCLER\3389.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]>>c:\RECYCLER\3389.reg
echo "PortNumber"=dword:00000d3d>>c:\RECYCLER\3389.reg
regedit /s c:\RECYCLER\3389.reg