运维开发网

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

运维开发网 https://www.qedev.com 2020-02-25 19:25 出处:网络 作者: 网络整理
远程管理服务器有时候不小心会禁用网卡,那么就需要找机房的人来登录系统帮忙开启,无疑为我们增加了许多麻烦。
开始运行gpedit.msc ,

本地计算机策略、用户配置、管理模板、网络、网络连接:

复制代码 代码如下:

启用为管理员启用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

0

精彩评论

暂无评论...
验证码 换一张
取 消