win2003 防止网卡本地连接被禁用的设置方法
程序员文章站
2022-03-19 08:24:38
开始运行gpedit.msc , 本地计算机策略、用户配置、管理模板、网络、网络连接: 复制代码 代码如下: 启用为管理员启用windows2000网络连接设置, 禁用启用...
开始运行gpedit.msc ,
本地计算机策略、用户配置、管理模板、网络、网络连接:
启用为管理员启用windows2000网络连接设置,
禁用启用/禁用lan连接的能力。
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
本地计算机策略、用户配置、管理模板、网络、网络连接:
复制代码 代码如下:
启用为管理员启用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
下一篇: win2003 自动注销已经断开的会话