首页 > 服务器 > Win服务器 > 正文

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

2024-09-10 00:05:14
字体:
来源:转载
供稿:网友
开始运行gpedit.msc ,
本地计算机策略、用户配置、管理模板、网络、网络连接:
代码如下:
启用为管理员启用windows2000网络连接设置,
禁用启用/禁用LAN连接的能力。

gpedit_msc_net5.jpg

gpedit_msc_net.jpg

gpedit_msc_net2.jpg

gpedit_msc_net3.jpg

gpedit_msc_net4.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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表