Windows defender is an in-build anti-virus and anti-malware protection service in Windows 2016 server. However, if you want to use any third-party anti-virus or anti-malware service on your server, you might require to disable and remove it. Following are the steps to disable and remove windows defender service from Windows server 2016.
First Part: How to Disable Windows Defender on Windows server 2016?
- Log in to your windows server 2016.
- Click on start >> Settings.
- Click on Update & security.
- On the next page, turn off the Real-time protection.
How to disable Windows Defender from PowerShell?
- Open Powershell inside your windows server.
- Run the below command.
Set-MpPreference -DisableRealtimeMonitoring $true
Second Part: How to Uninstall Windows Defender on Windows server 2016?
- Log in to your windows server 2016.
- Click on the Server Manager.
- Go to the Manage and click on the Remove roles and features.
- Untick the Windows Defender and click on Next. In the last step, click on the remove button.
How to remove Windows Defender from PowerShell?
- Open Powershell inside your windows server.
- Run the below command.
Uninstall-WindowsFeature -Name Windows-Defender - Finally, reboot the server to complete the uninstallation.