Forum Discussion
Windows Defender cannot be started on Windows Server 2012/2016 - must be manually started
- Nov 24, 2020
SOLUTION FOUND: Remove Defender AV role on server. Add it again and the service starts.
SOLUTION FOUND: Remove Defender AV role on server. Add it again and the service starts.
Appreciate this is a pretty old post now and you found a solution, but I was running across a similar issue to you when trying to start Defender on Server 2016 - interacting with the WinDefend service just errored every time. This post started me on the road to the ultimate solution, so many thanks!
Eventually I found success by running:
& 'C:\Program Files\Windows Defender\MpCmdRun.exe' -wdenable
I used Process Monitor to see what Windows was up to when clicking the button - and this was one of the commands that were traced. I confirmed it in one of the MS articles - though it took some digging!
Enable Defender if it was Disabled
The above got everything going. Hopefully this will help someone else in a similar situation where GUI interaction is impractical/undesirable.