作業系統是Windows Server 2022 Standard 21H2
下面的指令都執行過了,新增功能的時候還是會出現錯誤,不知道還有沒有什麼解決方式,謝謝。
sfc /scannow
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
底下是CBS.log
2024-12-13 11:30:49, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-12-13 11:30:49, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-12-13 11:30:49, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #1588070# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2024-12-13 11:30:49, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #1587936# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = Microsoft-Windows-TerminalServices-RAPWebPart-Deployment, version 10.0.20348.2227, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Microsoft-Windows-TerminalServices-WebAccess-Package~31bf3856ad364e35~amd6410.0.20348.2227.WebAccess', rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2024-12-13 11:30:49, Info CBS Failed to pin deployment while resolving Update: Microsoft-Windows-TerminalServices-WebAccess-Package~31bf3856ad364e35~amd6410.0.20348.2227.WebAccess from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Microsoft-Windows-KpsServer-Package~31bf3856ad364e35~amd6410.0.20348.2849 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Info CBS CommitPackagesState: Started persisting state of packages
2024-12-13 11:30:49, Info CBS CommitPackagesState: Completed persisting state of packages
2024-12-13 11:30:49, Info CSI 0000000b@2024/12/13:03:30:49.407 CSI Transaction @0x2bd300befc0 destroyed
2024-12-13 11:30:49, Info CBS Perf: Resolve chain complete.
2024-12-13 11:30:49, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd6410.0.20348.1, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2024-12-13 11:30:49, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-12-13 11:30:49, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2024-12-13 11:30:49, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20241213024944.log to WER report.
2024-12-13 11:30:49, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20241213023956.cab to WER report.
2024-12-13 11:30:49, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20241213022936.cab to WER report.
2024-12-13 11:30:49, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20241211110923.cab to WER report.
2024-12-13 11:30:49, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20241211102534.cab to WER report.
2024-12-13 11:30:49, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-12-13 11:30:49, Info CBS FinalCommitPackagesState: Started persisting state of packages
2024-12-13 11:30:49, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2024-12-13 11:30:49, Info CBS Exec: Will not run corruption repair because no store corruption found.
2024-12-13 11:30:49, Info CBS Exec: Processing complete. Session: 31149327_1575006882, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.20348.1, Identifier: Windows Foundation [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Info CBS Session: 31149327_1575006882 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2024-12-13 11:30:49, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]
2024-12-13 11:30:49, Info CBS Deleting directory: \?\C:\Windows\CbsTemp\31149327_1575006882\
2024-12-13 11:30:49, Info CBS Moving directory from \?\C:\Windows\CbsTemp\31149327_1575006882\ to \?\C:\Windows\CbsTemp{2F5B3201-8ADC-4C8F-AA7D-22B1C87C6790}
2024-12-13 11:30:49, Info CBS Deletion of: \?\C:\Windows\CbsTemp{2F5B3201-8ADC-4C8F-AA7D-22B1C87C6790} successful