If you are looking to uninstall Windows Defender on Windows Server 2016, the steps covered in this post will help you. But the question is why do you have to uninstall Windows Defender ?. If you have a third party antivirus solution, you may not require Windows Defender. In addition to that, running multiple antivirus products on same machine can cause problems. Well, you should never install two AV products on a single machine.
When you install Windows Server 2016, Windows Defender is installed by default. Windows Defender can be easily installed/uninstalled using a PowerShell command. Probably that’s much easier than using the Remove Roles and Features wizard. As per Microsoft, you can also remove Windows Defender AV completely via Remove Roles and Features Wizard. In the wizard you can deselect the Windows Defender Features option at the Features step. However in my case, the option to deselect Windows Defender feature was greyed out. So in my opinion you can easily achieve this task using PowerShell commands.
Uninstall Windows Defender on Windows Server 2016
Here are the steps to uninstall Windows Defender on Windows Server 2016.
- Login to the Windows Server 2016.
- First of all ensure Windows Defender is running. You can run sc query Windefend in command prompt.
- Run the PowerShell command to uninstall Windows Defender on Windows Server 2016.
When you run sc query Windefend, if you see the state as RUNNING, that means Windows Defender is present and service is active on the machine.
To uninstall the defender, open PowerShell and run the below command. Note that a server reboot is required once you uninstall the Windows Defender.
Uninstall-WindowsFeature -Name Windows-Defender
In future if you decide to use Windows Defender, you can install it using a PowerShell command. Run the PowerShell as administrator and run the below command.
Install-WindowsFeature -Name Windows-Defender