什么原因可能导致以下 Windows 更新失败?
C:\Windows\Logs\CBS\CbsPersist_20200504194920.log
2020-05-04 20:40:50, Info CBS Perf: Doqe: Install started.
2020-05-04 20:40:50, Info CBS Doqe: [Forward] Installing driver updates, Count 622
2020-05-04 20:40:51, Info CBS Progress: UI message updated. Operation type: Update. Stage: 0 out of 0. Percent progress: 7.
2020-05-04 20:40:52, Info CBS DriverUpdateInstallUpdates failed [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND]
2020-05-04 20:40:52, Info CBS Doqe: Failed installing driver updates [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND]
2020-05-04 20:40:52, Info CBS Perf: Doqe: Install ended.
2020-05-04 20:40:52, Info CBS Failed installing driver updates [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND]
2020-05-04 20:40:52, Error CBS Shtd: Failed while processing non-critical driver operations queue. [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND]
2020-05-04 20:40:52, Info CBS Shtd: Rolling back KTM, because drivers failed.
2020-05-04 20:40:52, Info CBS SetProgressMessage: progressMessageStage: 4, ExecuteState: CbsExecuteStatePrimitives, SubStage: 0
2020-05-04 20:40:52, Info CBS Progress: UI message updated. Operation type: Update. Stage: 0 out of 0. Temporary Rollback.
2020-05-04 20:40:52, Info CBS Shtd: progress thread terminating. [HRESULT = 0x00000000 - S_OK]
2020-05-04 20:40:52, Info CBS Shtd: progress thread terminated normally
2020-05-04 20:40:52, Info CBS Doqe: Unlocking driver updates, Count 1336
2020-05-04 20:40:52, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2020-05-04 20:40:52, Info CBS Shtd: Shutdown processing complete.
2020-05-04 20:40:52, Info CBS Failed to call Shutdown Processing on Worker process. [HRESULT = 0x80070003]
2020-05-04 20:40:52, Info CBS Failed to execute shutdown processing. [HRESULT = 0x80070003]
2020-05-04 20:40:52, Info CBS Ending the TrustedInstaller main loop.
2020-05-04 20:40:52, Info CBS Starting TrustedInstaller finalization.
2020-05-04 20:40:52, Info CBS Winlogon: Stopping notify server
2020-05-04 20:40:52, Info CBS Winlogon: Unloading SysNotify DLL
2020-05-04 20:40:52, Info CBS Lock: Lock removed: WinlogonNotifyLock, level: 8, total lock:6
2020-05-04 20:40:52, Info CBS Ending TrustedInstaller finalization.
目录:\Windows\INF\setupapi.dev.log
[Device Install Log]
OS Version = 10.0.18363
Service Pack = 0.0
Suite = 0x0100
ProductType = 1
Architecture = amd64
[BeginLog]
[Boot Session: 2020/05/04 19:47:49.500]
>>> [Install Driver Updates]
>>> Section start 2020/05/04 20:40:50.923
cmd: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.18362.772_none_5f13f94c58ff41d3\TiWorker.exe -Embedding
sto: Image State = Specialized
sto: Image Architecture = amd64
sto: Image OS Version = 10.0.18363
sto: Image Product Type = WinNT
sto: Transaction = CbsDriversAndPrimitives
sto: Driver Updates = 622
! inf: Unable to load INF: 'C:\WINDOWS\System32\DriverStore\FileRepository\hpsamd.inf_amd64_0784fd3ef0d7ec93\hpsamd.inf'(00000003)
! inf: Error 3: The system cannot find the path specified.
!!! inf: Invalid INF 'C:\WINDOWS\System32\DriverStore\FileRepository\hpsamd.inf_amd64_0784fd3ef0d7ec93\hpsamd.inf', parsing error on line 0. Code = 1002
!!! sto: Failed to get version info for driver update 'C:\WINDOWS\System32\DriverStore\FileRepository\hpsamd.inf_amd64_0784fd3ef0d7ec93\hpsamd.inf'. Error = 0x00000003
<<< Section end 2020/05/04 20:40:52.174
<<< [Exit status: FAILURE(0x00000003)]
答案1
我从另一台机器复制了下面的文件夹,然后 Windows 更新成功完成。
C:\WINDOWS\System32\DriverStore\FileRepository\hpsamd.inf_amd64_0784fd3ef0d7ec93
答案2
我遇到了类似的问题,只是驱动程序有所不同:
C:\WINDOWS\System32\DriverStore\FileRepository\xusb22.inf_amd64_d0f2fd4c931f4672\xusb22.inf
我查看了周围一些其他 Windows 10 PC,但它们没有那条确切的路径,而是有xusb22.inf_amd64_d80349221fa8b78c
不同的路径。
我还注意到同一C:\Windows\INF\setupapi.dev.log
日志中有以下条目:
sto: {Stage Driver Package: C:\WINDOWS\WinSxS\amd64_dual_xusb22.inf_31bf3856ad364e35_10.0.19041.1_none_06db87eae10b8df5\xusb22.inf} 18:55:32.648
! sto: Driver package already imported as 'xusb22.inf' (C:\WINDOWS\System32\DriverStore\FileRepository\xusb22.inf_amd64_d0f2fd4c931f4672\xusb22.inf).
我手动创建了该C:\WINDOWS\System32\DriverStore\FileRepository\xusb22.inf_amd64_d0f2fd4c931f4672\
文件夹并复制了其中的内容C:\WINDOWS\WinSxS\amd64_dual_xusb22.inf_31bf3856ad364e35_10.0.19041.1_none_06db87eae10b8df5\
。
这似乎帮我解决了这个问题。