评论

收藏

[IIS] win2003 防止网卡本地连接被禁用的设置方法

web服务器 web服务器 发布于:2021-11-03 19:25 | 阅读数:468 | 评论:0

开始运行gpedit.msc ,
本地计算机策略、用户配置、管理模板、网络、网络连接:
启用为管理员启用windows2000网络连接设置, 
禁用启用/禁用LAN连接的能力。
DSC0000.jpg

DSC0001.jpg

DSC0002.jpg

DSC0003.jpg

DSC0004.jpg
让网卡禁用按钮变灰.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


关注下面的标签,发现更多相似文章