win2003 防止网卡本地连接被禁用的设置方法
更新时间:2011年01月14日 22:04:30 作者:
远程管理服务器有时候不小心会禁用网卡,那么就需要找机房的人来登录系统帮忙开启,无疑为我们增加了许多麻烦。
开始运行gpedit.msc ,
本地计算机策略、用户配置、管理模板、网络、网络连接:
启用为管理员启用windows2000网络连接设置,
禁用启用/禁用LAN连接的能力。
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"LastPolicyTime"=dword:00F331EF
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies\Microsoft]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies\Microsoft\Windows]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies\Microsoft\Windows\Network Connections]
"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}\0]
"lParam"=dword:00000000
"GPOLink"=dword:00000001
"GPOName"="Local Group Policy"
"Link"="Local"
"Extensions"="[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}]"
"DisplayName"="Local Group Policy"
"FileSysPath"="C:\\WINDOWS\\System32\\GroupPolicy\\User"
"DSPath"="LocalGPO"
"Version"=dword:00120012
"Options"=dword:00000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]
"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]
"LastAliveUptime"=dword:0000101B
"LastAliveStamp"=hex:DA,07,04,00,03,00,15,00,01,00,34,00,03,00,94,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\Extension-List\{00000000-0000-0000-0000-000000000000}]
"EndTimeLo"=dword:36D08DE0
"StartTimeLo"=dword:36C2CD30
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\GPO-List\0]
"Version"=dword:00120012
恢复网卡禁用按钮到正常.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"LastPolicyTime"=dword:00F331EE
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]
"LastAliveUptime"=dword:00000FDF
"LastAliveStamp"=hex:DA,07,04,00,03,00,15,00,01,00,33,00,03,00,8D,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\Extension-List\{00000000-0000-0000-0000-000000000000}]
"EndTimeLo"=dword:04403890
"StartTimeLo"=dword:04370D70
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\GPO-List\0]
"Version"=dword:000F000F
本地计算机策略、用户配置、管理模板、网络、网络连接:
复制代码 代码如下:
启用为管理员启用windows2000网络连接设置,
禁用启用/禁用LAN连接的能力。
让网卡禁用按钮变灰.reg
复制代码 代码如下:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"LastPolicyTime"=dword:00F331EF
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies\Microsoft]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies\Microsoft\Windows]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software\Policies\Microsoft\Windows\Network Connections]
"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}\0]
"lParam"=dword:00000000
"GPOLink"=dword:00000001
"GPOName"="Local Group Policy"
"Link"="Local"
"Extensions"="[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}]"
"DisplayName"="Local Group Policy"
"FileSysPath"="C:\\WINDOWS\\System32\\GroupPolicy\\User"
"DSPath"="LocalGPO"
"Version"=dword:00120012
"Options"=dword:00000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]
"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]
"LastAliveUptime"=dword:0000101B
"LastAliveStamp"=hex:DA,07,04,00,03,00,15,00,01,00,34,00,03,00,94,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\Extension-List\{00000000-0000-0000-0000-000000000000}]
"EndTimeLo"=dword:36D08DE0
"StartTimeLo"=dword:36C2CD30
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\GPO-List\0]
"Version"=dword:00120012
恢复网卡禁用按钮到正常.reg
复制代码 代码如下:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"LastPolicyTime"=dword:00F331EE
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{196B212E-98A8-4959-BFAA-21CD12502D1C}User\Software]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]
"LastAliveUptime"=dword:00000FDF
"LastAliveStamp"=hex:DA,07,04,00,03,00,15,00,01,00,33,00,03,00,8D,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\Extension-List\{00000000-0000-0000-0000-000000000000}]
"EndTimeLo"=dword:04403890
"StartTimeLo"=dword:04370D70
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\S-1-5-21-3934700730-29681591-1336677231-500\GPO-List\0]
"Version"=dword:000F000F
相关文章
Windows Server 2016远程桌面服务配置和授权激活(2个用户)
Server 2016默认远程桌面连接数是2个用户,如果多余两个用户进行远程桌面连接时,系统就会提示超过连接数,可以通过添加远程桌面授权解决2021-01-01Windows Server 2022 超融合部署(图文教程)
本文主要介绍了Windows Server 2022 超融合部署,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧2022-06-06详解CentOS 7 下安装 Docker 及操作命令的方法
这篇文章主要介绍了CentOS 7 下安装 Docker 及操作命令的方法,需要的朋友可以参考下2016-10-10Windows server 2019搭建证书服务器的实现步骤
本文将指导您如何使用Windows Server 2019搭建证书服务器,涵盖了安装证书服务、配置证书以及管理证书等步骤,具有一定的参考价值,感兴趣的可以了解一下2023-10-10win2003 administrator 内置系统管理员账号名称修改方法
为了安全考虑,我们的服务器一般都将administrator改名,这个可以一定程度上,躲过黑客的暴力拆解。2009-08-08
最新评论