首页 > 开发 > Javascript > 正文

服务器安全设置的几个注册表设置

2020-02-29 15:14:10
字体:
来源:转载
供稿:网友
不显示上次登录的用户名
代码如下:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa]
"restrictanonymous"=dword:00000001


3389端口号修改reg文件
代码如下:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Terminal Server/Wds/rdpwd/Tds/tcp]
"PortNumber"=dword:000021ee

[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp]
"PortNumber"=dword:000021ee

删除默认共享ipc的注册表文件
代码如下:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/lanmanserver/parameters]
"AutoShareServer"=dword:00000000
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表