三叶草 发表于 2021-11-3 19:25:05

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

开始运行gpedit.msc ,
本地计算机策略、用户配置、管理模板、网络、网络连接:

启用为管理员启用windows2000网络连接设置,
禁用启用/禁用LAN连接的能力。






让网卡禁用按钮变灰.reg

Windows Registry Editor Version 5.00


"LastPolicyTime"=dword:00F331EF





"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000


"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


"NC_EnableAdminProhibits"=dword:00000001
"NC_LanConnect"=dword:00000000
"NC_ChangeBindState"=dword:00000000


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


"EndTimeLo"=dword:36D08DE0
"StartTimeLo"=dword:36C2CD30


"Version"=dword:00120012

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

Windows Registry Editor Version 5.00


"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]


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


"EndTimeLo"=dword:04403890
"StartTimeLo"=dword:04370D70


"Version"=dword:000F000F


https://www.uoften.com/serverhost/winhost/20180415/80553.html
页: [1]
查看完整版本: win2003 防止网卡本地连接被禁用的设置方法