Problems uninstalling Windows Defender feature from Server 2016

A

alig69

Hi

I'm having issues with removing features from my Server 2016 installation. I wish to remove Windows Defender, but am getting errors while removing it:-

uninstall-windowsfeature -name Windows-Defender gives me:-

1451503.jpg

I've tried doing the the sfc /scannow and

Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /checkHealth


CBS.LOG as below has several packages corrupt, including the Windows Defender one. How do I fix this? Any ideas?


Ali

2019-06-18 15:04:43, Info CBS Appl: detectParent (exact match): Parent: Windows-Defender-Server-Core-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.14393.0, parent state: Staged
2019-06-18 15:04:43, Info CBS Appl: Evaluating package applicability for package Windows-Defender-Server-Core-Group-amcore-Package~31bf3856ad364e35~amd64~en-US~10.0.14393.0, applicable state: Staged
2019-06-18 15:04:43, Info CBS Plan: Merge into existing execution package for Package: Windows-Defender-Server-Core-Group-amcore-Package~31bf3856ad364e35~amd64~en-US~10.0.14393.0, existing TargetedState: Staged, new TargetedState: Staged
2019-06-18 15:04:43, Info CBS Plan: Package: Windows-Defender-Server-Core-Group-amcore-Package~31bf3856ad364e35~amd64~en-US~10.0.14393.0, current: Installed, pending: Default, start: Staged, applicable: Staged, targeted: Staged, limit: Staged
2019-06-18 15:04:43, Info CBS Plan: Package: Windows-Defender-Server-Core-Group-amcore-Package~31bf3856ad364e35~amd64~en-US~10.0.14393.0, Update: 71115920af47b625f1ff7a4f3d8c9131, current: Installed, pending: Default, start: Staged, applicable: Installed, targeted: Staged, limit: Staged, selected: Default
2019-06-18 15:04:43, Info CBS Store corruption, manifest missing for package: Package_5855_for_KB4048953~31bf3856ad364e35~amd64~~10.0.1.3
2019-06-18 15:04:43, Error CBS Failed to resolve package 'Package_5855_for_KB4048953~31bf3856ad364e35~amd64~~10.0.1.3' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Info CBS Mark store corruption flag because of package: Package_5855_for_KB4048953~31bf3856ad364e35~amd64~~10.0.1.3. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Info CBS Failed to resolve package [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

2019-06-18 15:04:43, Info CBS Failed to check whether this is the real child: Package_5855_for_KB4048953~31bf3856ad364e35~amd64~~10.0.1.3 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Info CBS Failed to collect affected dependent package for package: Windows-Defender-Server-Core-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Info CBS Failed to process package watchlist. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Info CBS Failed to plan execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Error CBS Failed to process single phase execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:43, Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0, status: 0x800f0831, failure source: CBS Other, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2019-06-18 15:04:43, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2019-06-18 15:04:43, Info CBS Added C:\Windows\Logs\CBS\CBS.log to WER report.
2019-06-18 15:04:43, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20190618131112.log to WER report.
2019-06-18 15:04:43, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20190519141547.cab to WER report.
2019-06-18 15:04:43, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20190519125014.cab to WER report.
2019-06-18 15:04:43, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20190512143600.cab to WER report.
2019-06-18 15:04:43, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20190511142333.cab to WER report.
2019-06-18 15:04:43, Info CBS Not able to add %windir%\winsxs\poqexec.log to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2019-06-18 15:04:43, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2019-06-18 15:04:43, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2019-06-18 15:04:43, Info CBS Reboot mark cleared
2019-06-18 15:04:43, Info CBS Winlogon: Simplifying Winlogon CreateSession notifications
2019-06-18 15:04:43, Info CBS Winlogon: Deregistering for CreateSession notifications
2019-06-18 15:04:43, Info CBS FinalCommitPackagesState: Started persisting state of packages
2019-06-18 15:04:43, Info CBS FinalCommitPackagesState: Completed persisting state of packages
2019-06-18 15:04:43, Info CBS Enabling LKG boot option
2019-06-18 15:04:43, Info CBS Exec: Processing complete. Session: 30746078_3279874475, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:44, Error CBS Failed to perform operation. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:44, Info CBS Session: 30746078_3279874475 finalized. Reboot required: no [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2019-06-18 15:04:44, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x800f0831]
2019-06-18 15:06:45, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2019-06-18 15:06:45, Info CBS TiWorker signaled for shutdown, going to exit.
2019-06-18 15:06:45, Info CBS CbsCoreFinalize: ExecutionEngineFinalize
2019-06-18 15:06:45, Info CBS Ending the TiWorker main loop.
2019-06-18 15:06:45, Info CBS Starting TiWorker finalization.
2019-06-18 15:06:45, Info CBS CbsCoreFinalize: ManifestCacheFinalize
2019-06-18 15:06:45, Info CBS CbsCoreFinalize: ExecutionEngineFinalize

Continue reading...
 
Back
Top Bottom