Unable to uninstall Windows Defender on Server 2016 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

Alasdair 21 Reputation points
2021-08-06T07:02:49.8+00:00

I'm trying to uninstall window defender..

I've tried running all the dism commands

Dism.exe /Online /Cleanup-Image /CheckHealth
Dism.exe /Online /Cleanup-Image /ScanHealth
Dism.exe /online /cleanup-image /analyzecomponentstore
Dism.exe /Online /Cleanup-Image /restoreHealth

I tried install "KB4493470" but it said it wasn't applicable to my system I also have no language packs installed here is my CBS log

2021-08-06 08:49:21, Error CSI 00000008@2021/8/5:22:49:21.488 (F) onecore\base\wcp\componentstore\csd_locking.cpp(200): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)

[gle=0x80004005]

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210801235824.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210801164302.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210801161758.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210628040452.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210627160229.cab to WER report.

2021-08-06 08:49:21, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2021-08-06 08:49:21, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2021-08-06 08:49:21, Error CSI 00000009 (F) STATUS_SXS_ASSEMBLY_MISSING #27272# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]

2021-08-06 08:49:21, Error CSI 0000000a (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #27120# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = 7170acf415767618bf3b721944c4dcff, version 10.0.14393.2848, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_6834_for_KB4493470~31bf3856ad364e35~amd64~~10.0.1.5.4493470-15016_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]

2021-08-06 08:49:21, Info CBS Failed to pin deployment while resolving Update: Package_6834_for_KB4493470~31bf3856ad364e35~amd64~~10.0.1.5.4493470-15016_neutral from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:21, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Package_1594_for_KB5004238~31bf3856ad364e35~amd64~~10.0.1.7 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:21, Info CBS CommitPackagesState: Started persisting state of packages

2021-08-06 08:49:21, Info CBS CommitPackagesState: Completed persisting state of packages

2021-08-06 08:49:21, Info CSI 0000000b@2021/8/5:22:49:21.583 CSI Transaction @0x1ca14d97280 destroyed

2021-08-06 08:49:21, Info CBS Perf: Resolve chain complete.

2021-08-06 08:49:21, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:21, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:21, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider

2021-08-06 08:49:21, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210801235824.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210801164302.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210801161758.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210628040452.log to WER report.

2021-08-06 08:49:21, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20210627160229.cab to WER report.

2021-08-06 08:49:21, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2021-08-06 08:49:21, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2021-08-06 08:49:21, Info CBS Reboot mark cleared

2021-08-06 08:49:21, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications

2021-08-06 08:49:21, Info CBS Winlogon: Deregistering for CreateSession notifications

2021-08-06 08:49:21, Info CBS FinalCommitPackagesState: Started persisting state of packages

2021-08-06 08:49:21, Info CBS FinalCommitPackagesState: Completed persisting state of packages

2021-08-06 08:49:21, Info CBS Enabling LKG boot option

2021-08-06 08:49:21, Info CBS Exec: Processing complete. Session: 30902860_410354855, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:22, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:22, Info CBS Session: 30902860_410354855 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]

2021-08-06 08:49:22, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80073701]

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,436 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Kiesel 26 Reputation points
    2021-10-06T15:17:26.763+00:00

    I also have the same issue... please help!
    Thanks!

    0 comments No comments