起因:网络图标变成地球了
过程:
1 搜索本站的时候发现了
https://www.v2ex.com/t/806309 2 里面有人提到
https://github.com/dantmnf/NCSIOverride3 下载运行之后,并没有解决问题。网络图标也没了,系统更新也不能更新了,onedrive 也无法登录,连易升都连不上服务器,系统设置打不开“网络和 Inetrnet”(闪退)
尝试:
1 用对应 windows 版本的注册表替换回来,无效
2 删除 NCSIOverride 的文件,无效
3 安装了 Debugging Tools for Windows 并且根据 NCSIOverride 的说明手动修改偏移,无效
目前 NlaSvc 这个服务无法启动,在日志里面的信息是
Network Location Awareness 服务由于下列服务特定错误而终止:
%%3221226008
```
- <Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7024</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2023-03-05T21:06:17.4854587Z" />
<EventRecordID>57328</EventRecordID>
<Correlation />
<Execution ProcessID="648" ThreadID="17356" />
<Channel>System</Channel>
<Computer>5950X</Computer>
<Security />
</System>
- <EventData>
<Data Name="param1">Network Location Awareness</Data>
<Data Name="param2">%%3221226008</Data>
<Binary>4E006C0061005300760063000000</Binary>
</EventData>
</Event>
```
注册表
```
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc]
"DependOnService"=hex(7):4e,00,53,00,49,00,00,00,52,00,70,00,63,00,53,00,73,00,\
00,00,54,00,63,00,70,00,49,00,70,00,00,00,44,00,68,00,63,00,70,00,00,00,45,\
00,76,00,65,00,6e,00,74,00,6c,00,6f,00,67,00,00,00,00,00
"Description"="@%SystemRoot%\\System32\\nlasvc.dll,-2"
"DisplayName"="@%SystemRoot%\\System32\\nlasvc.dll,-1"
"ErrorControl"=dword:00000001
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,64,00,00,00,01,00,00,00,64,00,00,00,00,00,00,00,00,00,00,00
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,53,00,65,00,72,00,76,\
00,69,00,63,00,65,00,20,00,2d,00,70,00,00,00
"ObjectName"="NT AUTHORITY\\NetworkService"
"RequiredPrivileges"=hex(7):53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,47,\
00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\
67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,6e,\
00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,\
00,6c,00,65,00,67,00,65,00,00,00,00,00
"ServiceSidType"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000020
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\LANIds]
"WLANDllName"="WlanApi.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
6e,00,6c,00,61,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
"ServiceDllUnloadOnStop"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Cache]
"OpportunisticInternetGatewaysV4"=hex:06,00,50,56,e2,c3,bc,00,00,53,5a,02,00
"KnownProxylessGatewaysV4"=hex:06,00,50,56,e2,c3,bc,00,00,53,5a,02,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet]
"ActiveDnsProbeContent"="131.107.255.255"
"ActiveDnsProbeContentV6"="fd3e:4f5a:5b81::1"
"ActiveDnsProbeHost"="
dns.msftncsi.com"
"ActiveDnsProbeHostV6"="
dns.msftncsi.com"
"ActiveWebProbeContent"="Microsoft Connect Test"
"ActiveWebProbeContentV6"="Microsoft Connect Test"
"ActiveWebProbeHost"="
www.msftconnecttest.com"
"ActiveWebProbeHostV6"="
ipv6.msftconnecttest.com"
"ActiveWebProbePath"="connecttest.txt"
"ActiveWebProbePathV6"="connecttest.txt"
"CaptivePortalTimer"=dword:00000000
"CaptivePortalTimerBackOffIncrementsInSeconds"=dword:00000005
"CaptivePortalTimerMaxInSeconds"=dword:0000001e
"EnableActiveProbing"=dword:00000001
"PassivePollPeriod"=dword:0000000f
"StaleThreshold"=dword:0000001e
"WebTimeout"=dword:00000023
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\ManualProxies]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\NCSIOverride]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\NCSIOverride\Offsets]
"NCSI_INTERFACE_ATTRIBUTES_SetCapability"=hex(b):4c,a0,01,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Security]
"Security"=hex:01,00,04,80,98,00,00,00,a4,00,00,00,00,00,00,00,14,00,00,00,02,\
00,84,00,05,00,00,00,00,02,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,\
00,00,20,02,00,00,00,02,14,00,ff,01,0f,00,01,01,00,00,00,00,00,05,12,00,00,\
00,00,00,14,00,9d,00,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,00,14,00,\
8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,28,00,1d,00,02,00,01,\
06,00,00,00,00,00,05,50,00,00,00,44,3e,41,bb,45,ba,a8,7a,6c,bd,92,68,f4,ad,\
64,8f,d5,e6,70,e9,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,\
05,12,00,00,00
```
请问有什么办法修复系统,避免重装系统