Hi buddies,
After I removed Windows Defender with this command, it simply won't install again:
Dism /online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /quiet
I know this command removes the payload, so I tried to enable it with an offline image (install.wim):
DISM.exe /Online /Enable-Feature /FeatureName:Windows-Defender /source:WIM:c:\temp\install.wim:1 /LimitAccess
The WIM image was generated using the latest Windows Server 2016 ISO downloaded from the Microsoft Portal.
The error that I have is this one:
Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f)
If I try to install any other feature using the same command above, it works properly.
Also, I tried all these procedures without any success:
I replicate the error in a VM, just to check that the problem wasn't on any GPO or configuration and the results are the same:
1º - Deployed a VM from scratch with Windows Server 2016 Datacenter with GUI
2º - Executed the following command in a CMD console with admin privileges:
Dism /online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /quiet
3º - Restarted the machine and checked that Windows Defender was uninstalled.
4º - Tried to reinstall the feature using the wizard, indicating an alternative path (using the same ISO that I used to deploy the VM), and didn't work.
5º - Tried to use another Windows Server installation as a source, but the results were the same.
6º - Tried creating a WIM image, using the latest Windows Server 2016 ISO, and didn't work.
I believe that probably there is some kind of bug with the Windows-Defender package, as mentioned at this Forum:
Can anyone help me with this problem?
Thanks and BR,
Thelmo Mauleon



