
Looking at another server with Windows Defender installed, I can see that I have the folder "amd64_windows-defender-service_31bf3856ad364e35" at the path C:\Windows>WinSxS. 17:32:46, Info CBS Exec: Not able to find WinSxS\amd64_windows-defender-nis-service_31bf3856ad364e35_3.0_none_4b670b7c29a21bea\NisWfp.dll from directory local source 17:32:46, Info CBS Exec: Not able to find amd64_windows-defender-nis-service_31bf3856ad364e35_3.0_none_4b670b7c29a21bea\NisWfp.dll from directory local source Today, looking at the CBS logs, I found a different error:

I believe that probably there is some kind of bug with the Windows-Defender package, as mentioned at this Forum: 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:ġº - Deployed a VM from scratch with Windows Server 2016 Datacenter with GUIĢº - Executed the following command in a CMD console with admin privileges:ģº - Restarted the machine and checked that Windows Defender was uninstalled.Ĥº - 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.ĥº - Tried to use another Windows Server installation as a source, but the results were the same.Ħº - Tried creating a WIM image, using the latest Windows Server 2016 ISO, and didn't work. If I try to install any other feature using the same command above, it works properly.Īlso, I tried all these procedures without any success: The WIM image was generated using the latest Windows Server 2016 ISO downloaded from the Microsoft Portal.Įrror in operation: source for package or file not found, ResolveSource() unsuccessful.


I know this command removes the payload, so I tried to enable it with an offline image (install.wim):ĭISM.exe /Online /Enable-Feature /FeatureName:Windows-Defender /source:WIM:c:\temp\install.wim:1 /LimitAccess After I removed Windows Defender with this command, it simply won't install again:ĭism /online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /quiet
