修改windows server 2003注册表防止网卡本地连接被禁用(图文)

发布时间:2020-11-04编辑:脚本学堂
修改windows server 2003注册表防止网卡本地连接被禁用,包括禁用启用Lan连接、网卡禁用按钮变灰,恢复禁用网卡按钮为正常三部分内容。下面来看具体的操作步骤吧。

修改windows server 2003注册表防止网卡本地连接被禁用,包括禁用启用Lan连接、网卡禁用按钮变灰,恢复禁用网卡按钮为正常三部分内容。
下面来看具体的操作步骤吧。

开始--->运行gpedit.msc ,本地计算机策略、用户配置、管理模板、网络、网络连接
启用为管理员启用windows2003网络连接设置,

1、启用/禁用LAN连接的能力

 

组策略编辑

 

启用/禁用Lan连接的能力

 

为管理员启用windows 2000 网络连接

 

本地连接

 

本地连接

2、网卡禁用按钮变灰.reg
 

复制代码 代码如下:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWinlogonGPExtensions{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"LastPolicyTime"=dword:00F331EF
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects{196B212E-98A8-4959-BFAA-21CD12502D1C}UserSoftware]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects{196B212E-98A8-4959-BFAA-21CD12502D1C}UserSoftwarePolicies]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects{196B212E-98A8-4959-BFAA-21CD12502D1C}UserSoftwarePoliciesMicrosoft]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects{196B212E-98A8-4959-BFAA-21CD12502D1C}UserSoftwarePoliciesMicrosoftWindows]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects{196B212E-98A8-4959-BFAA-21CD12502D1C}UserSoftwarePoliciesMicrosoftWindowsNetwork Connections]
"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup PolicyHistory{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup PolicyHistory{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"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:WINDOWSSystem32GroupPolicyUser"
"DSPath"="LocalGPO"
"Version"=dword:00120012
"Options"=dword:00000000
[HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindows]
[HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsNetwork Connections]
"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionReliability]
"LastAliveUptime"=dword:0000101B
"LastAliveStamp"=hex:DA,07,04,00,03,00,15,00,01,00,34,00,03,00,94,00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionGroup PolicyStateS-1-5-21-3934700730-29681591-1336677231-500Extension-List{00000000-0000-0000-0000-000000000000}]
"EndTimeLo"=dword:36D08DE0
"StartTimeLo"=dword:36C2CD30

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionGroup PolicyStateS-1-5-21-3934700730-29681591-1336677231-500GPO-List]
"Version"=dword:00120012

3、恢复网卡禁用按钮到正常.reg
 

复制代码 代码如下:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWinlogonGPExtensions{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
"LastPolicyTime"=dword:00F331EE
[-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup Policy Objects{196B212E-98A8-4959-BFAA-21CD12502D1C}UserSoftware]
[-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionGroup PolicyHistory{35378EAC-683F-11D2-A89A-00C04FBBCFA2}]
[-HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindows]

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionReliability]
"LastAliveUptime"=dword:00000FDF
"LastAliveStamp"=hex:DA,07,04,00,03,00,15,00,01,00,33,00,03,00,8D,00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionGroup PolicyStateS-1-5-21-3934700730-29681591-1336677231-500Extension-List{00000000-0000-0000-0000-000000000000}]
"EndTimeLo"=dword:04403890
"StartTimeLo"=dword:04370D70

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionGroup PolicyStateS-1-5-21-3934700730-29681591-1336677231-500GPO-List]
"Version"=dword:000F000F