How to disable and remove windows defender in Windows 2016? Print

  • 0

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?

  1. Log in to your windows server 2016.

  2. Click on start >> Settings.

  3. Click on Update & security.

  4. On the next page, turn off the Real-time protection. 

How to disable Windows Defender from PowerShell?

  1. Open Powershell inside your windows server. 

  2. Run the below command.

    Set-MpPreference -DisableRealtimeMonitoring $true

Second Part: How to Uninstall Windows Defender on Windows server 2016?

  1. Log in to your windows server 2016.

  2. Click on the Server Manager.

  3. Go to the Manage and click on the Remove roles and features. 

  4. Untick the Windows Defender and click on Next. In the last step, click on the remove button. 



How to remove Windows Defender from PowerShell?

  1. Open Powershell inside your windows server. 

  2. Run the below command.

    Uninstall-WindowsFeature -Name Windows-Defender

  3. Finally, reboot the server to complete the uninstallation. 


Was this answer helpful?

« Back
Sign up for a newsletter

chat