Disable Antivirus Temporarily in Windows 11/10
Your antivirus software plays an important role in protecting your computer from viruses, malware, ransomware, and other online threats. It constantly scans files, monitors downloads, and blocks suspicious programs before they can harm your system. Because of this, you should leave your antivirus enabled whenever possible.
However, there are situations where you may need to temporarily disable antivirus protection. For example, you might be installing trusted software that is being incorrectly flagged, troubleshooting a program that refuses to launch, or testing a script in a secure environment. In these cases, turning off your antivirus for a short time can help you determine whether it is causing the issue.
In Windows 11 and Windows 10, you can easily temporarily disable Microsoft Defender Antivirus. If you use a third-party antivirus program, most of them also provide a simple option to pause protection for a specific amount of time.
Let’s learn the process in detail!
Disable Antivirus Temporarily in Windows 11 & 10

Before you begin, make sure you disconnect from untrusted websites and avoid downloading files while your antivirus is turned off. Only disable protection if you completely trust the application or file you are working with.
1: Open the Windows Security App
The first step is opening the built-in Windows Security application. This is where Microsoft Defender Antivirus settings are managed.
Click the Start button and type Windows Security into the search box. When Windows Security appears in the search results, click it to open the application.
You can also open it by pressing Windows + I to launch Settings. Select Privacy & Security on Windows 11 or Update & Security on Windows 10, then choose Windows Security and click Open Windows Security.
Once the application opens, you will see several security sections, including Virus and threat protection, Firewall and network protection, Device security, and App and browser control.
2: Open Virus and Threat Protection
Inside the Windows Security window, click Virus & threat protection.
This section displays the current antivirus status, recent scan results, and available protection settings. If Microsoft Defender Antivirus is running, you will see a message indicating that your device is protected.
Scroll down until you find Virus & threat protection settings. Under this section, click Manage settings.
This page allows you to enable or disable several security features that work together to protect your computer.
3: Turn Off Real-Time Protection
Locate the real-time protection switch.
Click the toggle to change it from On to Off.
Windows may display a User Account Control confirmation window asking whether you want to allow Windows Security to make changes to your device. Click Yes to continue.
Once disabled, Microsoft Defender will temporarily stop scanning files as they are opened, downloaded, or executed.
Keep in mind that Windows automatically turns Real-time protection back on after a short period or after restarting your computer. This helps prevent your PC from remaining unprotected for an extended time.
If your only goal is installing trusted software or troubleshooting a program, this temporary setting is usually all you need.
4: Disable Tamper Protection if Required
Some advanced changes require Tamper Protection to be turned off first.
On the same settings page, scroll until you find Tamper Protection.
If you plan to modify advanced Defender settings using administrative tools or Group Policy, temporarily switch Tamper Protection to Off.
Most users do not need to disable this feature. Leave it enabled unless a trusted guide or Microsoft support specifically instructs you to turn it off.
When you finish your work, return to the same page and turn Tamper Protection back on.
5: Pause a Third-Party Antivirus Program
If your computer uses antivirus software from another company instead of Microsoft Defender, the steps will be slightly different.
Look for the antivirus icon in the notification area near the system clock. Right-click the icon to open its shortcut menu.
Most antivirus programs include options such as Pause Protection, Disable Protection, Turn Off Antivirus, or Stop Real-Time Scanning.
Select the temporary option if available. Many antivirus applications allow you to pause protection for 10 minutes, 30 minutes, one hour, or until the next restart.
Choose the shortest time that allows you to complete your task. This reduces the amount of time your computer remains unprotected.
If you cannot find the option, open the antivirus program itself and look in the protection or security settings.
6: Complete Your Task While Protection Is Disabled
Now perform the task that requires antivirus protection to be temporarily disabled.
For example, you might install a trusted application, update software, troubleshoot an error, or test a program that was being blocked incorrectly.
Avoid browsing unfamiliar websites, downloading random files, opening email attachments, or connecting unknown USB drives while your antivirus is turned off.
Keeping your activity limited reduces the chances of malware entering your system during this temporary period.
7: Turn Antivirus Protection Back On
After completing your work, immediately restore antivirus protection.
If you disabled Microsoft Defender, return to Windows Security, open Virus & threat protection, select Manage settings, and switch Real-time protection back to On.
If you also disabled Tamper Protection, enable it again before closing Windows Security.
For third-party antivirus software, reopen the application or use its notification area icon to resume protection.
Once enabled, your antivirus will continue monitoring files, downloads, and applications in real time.
8: Run a Quick Antivirus Scan
As a final safety step, perform a Quick Scan.
Open Windows Security, select Virus & threat protection, and click Quick scan.
The scan checks commonly targeted system locations for potential threats. It only takes a few minutes on most computers and helps verify that your device remains secure.
If your antivirus detects any suspicious files, follow the recommended actions before continuing to use your computer normally.
FAQs
Is it safe to disable antivirus temporarily?
Yes, it is generally safe if you disable it only for a short time while performing a trusted task. Turn it back on immediately after finishing.
Will Microsoft Defender automatically turn back on?
Yes. Microsoft Defender Antivirus usually re-enables Real-time protection automatically after some time or after restarting your computer.
Why would I need to disable antivirus?
You may need to temporarily disable antivirus when installing trusted software, troubleshooting application conflicts, testing programs, or resolving false positive detections.
Can I permanently disable Microsoft Defender?
Windows is designed to keep antivirus protection active for your safety. Permanent changes are generally not recommended because they leave your computer vulnerable to malware and other security threats.
Does installing another antivirus disable Microsoft Defender?
In most cases, yes. Windows automatically adjusts Microsoft Defender when a compatible third-party antivirus program is installed and active.
What should I do if I cannot turn off Real-Time Protection?
If the option is unavailable, your organization may manage your computer, Tamper Protection may be preventing changes, or another antivirus program may already be controlling security settings.
