Additional Microsoft Defender tools and services that provide security across various platforms and environments
Repair the Windows component store first, then remove both the Windows-Defender and Windows-Defender-Gui features required for Windows Server 2016.
Error 0x80073701 means a referenced side-by-side assembly is missing and typically indicates a component left partially installed in the component store; retrying the same feature-removal command before repairing that store will continue to fail.^1^
1. Repair the component store
Schedule a maintenance window and ensure another antivirus product is installed and operational before removing Defender if this server requires continuous malware protection.
Open Command Prompt as administrator, then run:
DISM.exe /Online /Cleanup-Image /ScanHealth
DISM.exe /Online /Cleanup-Image /RestoreHealth
SFC.exe /Scannow
RestoreHealth normally obtains replacement files through Windows Update. These repair steps apply to Windows Server 2016 and later.^2^
Expected results:
- DISM reports The restore operation completed successfully.
- SFC reports either no integrity violations or that damaged files were repaired.
Restart the server after both commands finish.
2. Remove both Windows Server 2016 Defender features
After the restart, open PowerShell as administrator and check the current feature state before changing it:
Get-WindowsFeature Windows-Defender*
Then remove the antivirus engine and its GUI component:
Uninstall-WindowsFeature Windows-Defender
Uninstall-WindowsFeature Windows-Defender-Gui
Restart-Computer
Windows Server 2016 requires removal of both features, whereas the command you already attempted addressed only Windows-Defender. Manually changing Defender service or driver startup types is not supported.^3^
After rebooting, verify the feature state:
Get-WindowsFeature Windows-Defender*
Get-Service WinDefend,WdNisSvc -ErrorAction SilentlyContinue
The Defender features should show as not installed. Defender services might be absent after successful removal.
If DISM cannot repair the store
If RestoreHealth reports that source files cannot be found, use a known-good Windows repair source that matches the same operating-system version. Microsoft documents using another matching Windows installation as follows:^2^
DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:\\ServerName\c$\Windows /LimitAccess
SFC.exe /Scannow
Replace ServerName with the matching repair-source server. Restart afterward, and then run the two Defender feature-removal commands.
If this also fails:
- Review
%windir%\Logs\CBS\CBS.logfor missing package, manifest, or payload entries. DISM records detected and repaired component-store problems there.^2^ - Do not manually delete files from
WinSxSor alter Defender service/driver startup types. - For persistent servicing corruption, collect the CBS and DISM logs and open a Microsoft Support case. An in-place repair upgrade is the documented escalation path for repeated servicing corruption when normal repair does not succeed.^4^
If the non-Microsoft antivirus is later removed, reinstall or re-enable Defender so the server is not left without antivirus protection.^3^
References