当前位置:网站首页>update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
2022-06-24 14:29:00 【shawyang】
这是一篇实践经验的分享,很多人遇到系统崩溃就放弃了,实在无从下手,最多把数据备份出来就重装系统了,但有些数据要备份得在顺利进入系统、业务软件运行正常的情况下备份,光拿硬盘上的文件是不行的。此时,这篇文档就是福音。
为了文档嫩被搜到,我标题有点奇葩了,但能方便遇到问题的人通过这些关键词搜到文档。
系统宕机过一次,recovery模式,从winpe修复启动引导后发现丢失了drivers目录大量关键驱动,一开始替换了一个,然后又继续报 ,干脆从正常系统拿来drivers目录(自然是从winpe里去拿的)整体替换,替换后又报critical service failed,禁用驱动程序强制签名后不报critical service failed了但又报另一个错0xc000021a
0xc000021a,一般是catroot 、catroot2目录有异样
我通过winpe进到windows目录按时间倒序排列发现最上面的是WindowsUpdate.log,时间是6月21日 上午11:20,当时winevt(C:\Windows\System32\winevt\Logs)里的日志的时间也是11:20,我猜测宕机可能跟update有关,而catroot*目录跟update有密切关系,我跟正常系统对比了下,发现问题机器的C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} 丢得就剩十来个oem*.cat,从正常系统拿来文件替换后顺利进入系统。
虽然顺利进入系统了,但是发现远程桌面有异常。进入系统后,termservice虽是运行状态,但是依赖页签点过去是报错的,不止termservice一个服务,还有其他一些服务也这样,后来发现winmgmt是禁止启动的,我弄好winmgmt服务后,依赖页签的报错就消失了。
同时还发现每次重启后,termservice是正常运行的,3389端口监听也正常,但是mstsc远程到了证书弹窗界面点"是"后立即就报错并伴随termservice立即停止运行。另外还发现wireshark功能异常,不清楚是否跟远程异常殊途同因,wireshark的问题我单独解决了,另记录了一个文档:https://cloud.tencent.com/developer/article/2029138。
event id 226 RDPClient_SSL: An error was encountered while transitioning from TsSslStateHandshakeInProgress to TsSlStateDisconnecting in response to 9 (error code 0x80004005).
event id 226 RDPClient_DTLS: An error was encountered while transitioning from TsDtlsStateHandshakeComplete to TsSlStateDisconnecting in response to 5 (error code 0x80004005).
远程证书界面失败的报错我研究了,查了很多资料都没能解决,procmon抓不到有用的信息,找不到突破口。不过我清理了证书,重新联网下载了一份最全的证书还是无济于事。
最后用nirsoft.net里的UninstallView看了下软件列表,发现6月19日12:05安装的wireshark,因为wireshark自带vc库,我查了资料,说vc库依赖KB2999226这个补丁,所以当时应该是触发了补丁安装,从eventvwr的setup里看到了。
替换文件修复系统时,找相同镜像购买的其他正常机器,后来发现那个正常机器并没有安装wireshark,为了排除6月19日安装wireshark的影响,在那台正常机器安装了相同版本的wireshark,没出现异常,此时又拿了catroot目录,C:\Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} 目录里比没安装wireshark时多了5个文件
因为问题机器是安装过wireshark的,所以我就想再多这5个文件再在winpe里替换一次试试,替换后,每次重启机器后termservice不能自动运行了,手动也启动不起来,在替换这5个文件之前,原本虽然远程会报错并伴随termservice自动停止运行,但至少每次重启后termservice是自动运行的。
而这5个文件,oem12.cat是wireshark自带的npcap相关的,其他4个是KB2999226相关的。反向证明系统异常跟wireshark安装引入的update有直接关系(因为是安装wireshark才引入了安装vc库、vc库又依赖KB2999226,安装wireshark又会引入npcap)。
另外还发现servermanager拉不出角色列表,安装拉不出,卸载也拉不出,右上侧红色旗子那个地方点一下会看到
Performance counter refresh failed
Role and feature refresh failed
The remote procedure call failed
查了很多资料,所说的方案试了很多种都解决不了
https://docs.microsoft.com/en-us/answers/questions/157874/server-2012-r2-server-manager-refresh-faild.html
https://social.technet.microsoft.com/Forums/en-US/99d37f05-3b74-4318-9b28-1a372bdc86e7/server-2016-server-manager-refresh-error?forum=winservermanager
修复命令也报错
sfc /scannow
DISM.exe /Online /Cleanup-image /Scanhealth
好在替换catroot和drivers目录修复进入系统后,业务程序运行一切正常,最后只能备份业务后重装系统了。
这个问题我会继续关注、深究,如果最终修复了远程问题、servermanager的问题、wireshark的npcap安装报错问题,我会及时分享出来。
边栏推荐
- 根据前序&中序遍历生成二叉树[左子树|根|右子树的划分/生成/拼接问题]
- Some basic database operations (providing the original database information)
- MySQL log management, backup and recovery
- In the eyes of the universe, how to correctly care about counting East and West?
- Brief discussion on the implementation framework of enterprise power Bi CI /cd
- 10_那些格調很高的個性簽名
- 从pair到unordered_map,理论+leetcode题目实战
- `Thymeleaf ` template engine comprehensive analysis
- leetcode:1504. 统计全 1 子矩形的个数
- Database considerations
猜你喜欢

Research on MySQL composite index

laravel 8 实现Auth登录

Linux Installation cenos7 MySQL - 8.0.26

laravel下视图间共享数据

Go language concurrency model mpg model

动作捕捉系统用于地下隧道移动机器人定位与建图

ES mapping之keyword;term查询添加keyword查询;更改mapping keyword类型

如何避免下重复订单

Brief discussion on the implementation framework of enterprise power Bi CI /cd

【比特熊故事汇】6月MVP英雄故事|技术实践碰撞境界思维
随机推荐
[deep learning] storage form of nchw, nhwc and chwn format data
测试 H5 和小程序的区别,你真的知道吗?
从pair到unordered_map,理论+leetcode题目实战
R语言构建回归模型诊断(正态性无效)、进行变量变换、使用car包中的powerTransform函数对目标变量进行Box-Cox变换(Box–Cox transform to normality)
Port conflict handling method for tongweb
IList of PostgreSQL
R language plot visualization: the visualization model creates a grid in the classification contour (contour) and meshgrid of the entire data space, in which the distance between each point is determi
June training (day 24) - segment tree
[untitled]
The "little giant" specialized in special new products is restarted, and the "enterprise cloud" digital empowerment
Unit contour creation method
Some basic database operations (providing the original database information)
Maximum path sum in binary tree [handle any subtree, then handle the whole tree]
根据前序&中序遍历生成二叉树[左子树|根|右子树的划分/生成/拼接问题]
A review of text contrastive learning
09_ An efficient memory method
ASCII code table extracted from tanhaoqiang's C program design (comparison table of common characters and ASCII codes)
v-for 中 key的作用和原理
阿里OSS对象存储服务
Development of digital Tibetan product system NFT digital Tibetan product system exception handling source code sharing