Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » Set Microsoft Defender AV to Passive mode on a Windows Server
  • Screenshot 2020 05 14 at 17.47.09
    Configure OpenSSH Server: A Quick Guide Linux
  • greywireshark
    How to install WireShark on a Linux Ubuntu System Linux
  • How to Convert a Distribution Group to a Security Group
    How to convert distribution group to security group Windows Server
  • ReasonsforBitLockerRecovery
    Reasons for BitLocker Recovery Prompt: Query the number of BitLocker recovery request Windows
  • Private and Public networks in Windows to VPN
    The differences between Private and Public networks in Windows to VPN? Network | Monitoring
  • ip adress 1555395782 1024x576 1
    How to create and delete a DHCP reservation in Windows Server Windows Server
  • Error during connect in the default daemon configuration on Windows
    Preparation failed: The docker client must be run with elevated privileges Version Control System
  • wds and dns l
    What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS Windows Server

Set Microsoft Defender AV to Passive mode on a Windows Server

Posted on 21/11/202424/06/2025 Matthew By Matthew No Comments on Set Microsoft Defender AV to Passive mode on a Windows Server
Set Microsoft Defender AV to Passive mode on a Windows Server
Set Microsoft Defender AV to Passive mode on a Windows Server

Managing security tools can get a bit tricky when you’re running multiple solutions on the same server. Let’s say you’ve got a setup using a third-party antivirus as your primary security suite, but Windows Defender is still active. This can create conflicts, and the best way to address this is to switch Microsoft Defender Antivirus (AV) into passive mode.In this article, we shall discuss the steps to Set Microsoft Defender AV to Passive mode on a Windows Server. Please see how to Change the number of MachineAccountQuota a user can add to AD.

Also, see how to set Set Microsoft Defender AV to Passive mode on a Windows Server, How to Create a User and Custom Domain in Entra ID, and how to Block IP Addresses Using Group Policy (GPO) in Active Directory.

Why Use Passive Mode?

When running a non-Microsoft antivirus product as your primary defense on Windows Server, it’s essential to prevent conflicts by switching Microsoft Defender AV to passive mode or disabling it manually. Here’s the key:

  • Passive Mode: Use this when your server is onboarded to Microsoft Defender for Endpoint. Defender AV will work quietly in the background without interfering.
  • Disabled / Uninstalled Mode: If Defender for Endpoint isn’t in use, disable Defender AV entirely to avoid redundancy and save system resources.

Pro Tip: If you uninstall your third-party antivirus, don’t forget to re-enable Microsoft Defender AV. It’s your safety net!

Please see “Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding“, and “how to fix The Group Policy settings for BitLocker startup options are in conflict and cannot be applied“.

Prerequisites

Your server must be onboarded to Microsoft Defender for Endpoint. Why? Because passive mode requires the device to be integrated with Defender for Endpoint to continue monitoring threats without active scanning.

For detailed steps on onboarding to Defender for Endpoint, check out the official Microsoft documentation.

Managing Defender AV on Windows Server

Here’s a detailed breakdown of how to configure Microsoft Defender AV to passive mode or disable it completely.

Please see how to install and configure an FTP Server on Windows Server, and how to “Connect to a FileZilla Server: How to install and configure a FileZilla Server on Windows“.

1. Set Microsoft Defender AV to Passive Mode (Registry Method)

Let’s start by figuring out how Defender is currently behaving. Open PowerShell as administrator and run:

Launch PowerShell as an Administrator
Launch PowerShell as an Administrator

Type the following command and hit Enter:

Get-Service -Name windefend

If the Status says “Running,” that means Defender is actively running.

Check Windows defender status
Check Windows defender status

Now, let’s set Defender to passive mode. Press Windows + R and type regedit to open the registry editor.

Launch registry editor
Launch registry editor

Navigate to the following registry path:

HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection

Edit or create a DWORD (32-bit) key named ForceDefenderPassiveMode.

Modify registry key
Modify registry key

Right click the reg_word, select modify and set its value to 1.

Set value data to 1
Set value data to 1

Restart your server to apply changes.

2. Disable Defender AV Using Group Policy

Alternatively, if you prefer using Group Policy, configure the following setting. Press Windows + R and type gpedit.msc to launch the group Policy editor.

Open Group policy editor
Open Group policy editor

Navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Windows Defender ATP

Locate Turn on Microsoft Defender Antivirus passive mode, set it to Enabled, and click OK.

Enable Windows Defender AV passive mode
Enable Windows Defender AV passive mode

3. Uninstall Microsoft Defender AV (PowerShell Method)

If you need to get rid of Defender AV entirely, enter the following command:

Uninstall-WindowsFeature -Name Windows-Defender
Uninstall Windows Defender
Uninstall Windows Defender

This completely removes Microsoft Defender Antivirus from the server.

Please, see how to shrink and create new partition on Windows Server, how to Fix long path names to files on SQL Server installation media error, and how to Install SQL Server Management Studio 21 on Windows Server.

Determine if you are running in a Passive mode

You can determine if Microsoft Defender Antivirus is running in Passive Mode especially on a Windows Server. In scenarios where other antivirus or endpoint protection platforms are installed (e.g., Trellix, Symantec, CrowdStrike).

You can use PowerShell to determine if the server is running in a passive mode as shown below. This helps you avoid any conflict whatsoever with the primary antivirus solution installed on your device.

Get-MpComputerStatus | Select-Object AMRunningMode
Device not running in passive mode

As you can see above, Windows Defender Anti Virus is currently not running and it is in the passive mode. You could also use the registry key as shown below. Where the Passive Mode disabled value is 0 for disable and Passive Mode enabled value is 1.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender

Here is how to fix Unable to run downloaded Programs due to Defender SmartScreen, how to Manage Microsoft Defender Antivirus with Argon ACMP, and What you need to know about Microsoft Defender Antivirus

Conclusion

Switching Microsoft Defender to passive mode ensures smooth operation alongside third-party antivirus solutions. With passive mode enabled, your server benefits from the monitoring capabilities of Defender for Endpoint without interfering with your primary security suite.

I hope you find this post helpful on how to Set Microsoft Defender AV to Passive mode on a Windows Server. If you have any questions, feel free to leave them in the comment section below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Security | Vulnerability Scans and Assessment, Windows Server Tags:Microsoft Windows, Windows Defender, Windows Defender Antivirus, Windows Server 2016

Post navigation

Previous Post: How to create Microsoft 365 Account
Next Post: Change the number of MachineAccountQuota a user can add to AD

Related Posts

  • schedulepythontasksinWindows
    Task Scheduler shows task still running despite successful Windows
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • Featured image Windows Security
    How to clear Cache and Manually Update Microsoft Defender Anti-Virus Solution
  • original 1
    Install Wim: How to Add Packages to Windows image Using the DISM Tool Windows Server
  • allthings.how how to download and install winget windows package manager windows 10 winget cli
    How to install Winget CLI on Windows Windows Server
  • Featured image new
    How to find out who restarted Windows Server Windows

More Related Articles

schedulepythontasksinWindows Task Scheduler shows task still running despite successful Windows
article 1280x720.192a2586 1 2 Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
Featured image Windows Security How to clear Cache and Manually Update Microsoft Defender Anti-Virus Solution
original 1 Install Wim: How to Add Packages to Windows image Using the DISM Tool Windows Server
allthings.how how to download and install winget windows package manager windows 10 winget cli How to install Winget CLI on Windows Windows Server
Featured image new How to find out who restarted Windows Server Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Screenshot 2020 05 14 at 17.47.09
    Configure OpenSSH Server: A Quick Guide Linux
  • greywireshark
    How to install WireShark on a Linux Ubuntu System Linux
  • How to Convert a Distribution Group to a Security Group
    How to convert distribution group to security group Windows Server
  • ReasonsforBitLockerRecovery
    Reasons for BitLocker Recovery Prompt: Query the number of BitLocker recovery request Windows
  • Private and Public networks in Windows to VPN
    The differences between Private and Public networks in Windows to VPN? Network | Monitoring
  • ip adress 1555395782 1024x576 1
    How to create and delete a DHCP reservation in Windows Server Windows Server
  • Error during connect in the default daemon configuration on Windows
    Preparation failed: The docker client must be run with elevated privileges Version Control System
  • wds and dns l
    What happens when WDS and DNS are installed on the same Windows Server? DNS issues with WDS Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,832 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.