Your antivirus software is designed to protect Windows from malware, suspicious downloads, unsafe applications, and other security threats. Most of the time, you want that protection running. However, there are situations where you may need to temporarily disable antivirus protection to troubleshoot an application, install trusted software, test a program, or determine whether your security software is interfering with something.
Windows 11 and Windows 10 include Microsoft Defender Antivirus, while many computers also have third-party security programs such as Norton, McAfee, Bitdefender, Avast, or other antivirus products.
The exact process depends on which antivirus program you use. If you are using Microsoft Defender Antivirus, you can temporarily turn off its real-time protection through Windows Security. If you use a third-party antivirus, you normally need to open that program and use its temporary protection setting.
It is important to remember that disabling antivirus protection reduces your computer’s security. For that reason, only turn it off when necessary, keep the disabled period as short as possible, and turn protection back on immediately afterward.
Disable Antivirus Temporarily in Windows 11/10

To temporarily disable Microsoft Defender Antivirus in Windows 11 or Windows 10,
- Open Windows Security and select Virus & threat protection.
- Select Manage settings under the Virus & threat protection settings section.
- Turn Real-time protection off and confirm the Windows security prompt if one appears.
- Complete the task that required antivirus protection to be temporarily disabled.
- Return to Windows Security > Virus & threat protection > Manage settings and turn Real-time protection back on.
- If you use a third-party antivirus, open its application and temporarily pause or disable its protection using the program’s own settings.
Before you disable anything, make sure you understand what you are changing. Real-time protection continuously checks files, applications, downloads, and other activity for potential threats. Turning it off means Windows Defender may not immediately inspect new activity in the same way.
This does not mean you should uninstall your antivirus. In most cases, you only need to temporarily turn off real-time scanning. Once you finish troubleshooting or installing the trusted application, protection should be restored.
Also, do not disable antivirus protection simply because a website, pop-up, email, or unknown program tells you to. A legitimate troubleshooting situation should have a clear reason for temporarily changing your security settings.
Step 1: Open Windows Security
The first step is to open Windows Security, which is where Windows provides access to several security features, including Microsoft Defender Antivirus.
On Windows 11, select Start > Settings > Privacy & security > Windows Security. Then select Virus & threat protection. You can also open the Start menu and type Windows Security, then select the application from the search results.
On Windows 10, go to Start > Settings > Update & Security > Windows Security. Select Virus & threat protection to continue.
You should now see the main antivirus section. Take a moment to check whether Windows identifies Microsoft Defender Antivirus as the active antivirus provider. If another antivirus application is managing your protection, the available settings may look different.
Step 2: Open Virus & Threat Protection Settings
Once you are inside Virus & threat protection, look for the Virus & threat protection settings section.
Select Manage settings. This opens the controls for Microsoft Defender’s security features.
You may see several options, including Real-time protection, Cloud-delivered protection, Automatic sample submission, and other security controls. For a temporary antivirus shutdown, you generally only need to change Real-time protection.
Do not turn off multiple security features unless you have a specific troubleshooting reason to do so. Keeping unnecessary protections enabled reduces the amount of time your computer is exposed.
Step 3: Turn Off Real-Time Protection
Find the Real-time protection option and select its toggle to turn it off.
Windows may display a User Account Control prompt asking whether you want to allow the change. If you are making this change yourself and understand why it is necessary, approve the prompt.
Afterward, Windows should indicate that real-time protection is off.
At this point, Microsoft Defender is no longer providing its normal continuous real-time scanning. Other security protections may remain active, depending on your configuration.
Keep this period as short as possible. Avoid browsing unfamiliar websites, opening unknown email attachments, downloading random files, or running untrusted applications while protection is disabled.
Step 4: Perform the Task That Required Antivirus to Be Disabled
Now complete the specific task that led you to temporarily disable antivirus protection.
For example, you may be troubleshooting a trusted application, testing whether antivirus scanning is causing an installation problem, or checking whether a known program is being incorrectly blocked.
Only proceed with software or files that you trust. Disabling antivirus protection does not make an unsafe file safe. If a program came from an unknown website or an unofficial download source, it is better to investigate the file before running it.
If the task finishes quickly, there is no reason to leave antivirus protection disabled. The goal is to restore your security settings as soon as possible.
Step 5: Turn Real-Time Protection Back On
When you finish, return to Windows Security > Virus & threat protection > Manage settings.
Find Real-time protection and turn the toggle back on.
Confirm that Windows now reports that real-time protection is active. This is an important step because leaving antivirus protection disabled can increase your exposure to malware.
If Windows automatically restores protection after a period of time, do not assume that will always happen. It is better to manually verify the setting rather than relying on automatic behavior.
Step 6: If You Use a Third-Party Antivirus
If your computer uses third-party antivirus software, the Windows Security steps may not control the active antivirus program.
Open your antivirus application from the Start menu, desktop shortcut, or notification area. Look for a setting such as Real-Time Protection, Web Protection, Virus Protection, Protection, Shield, Pause Protection, or Disable Protection.
Different antivirus products use different names and menus. Some programs allow you to pause protection for a specific amount of time, such as 10 minutes, 30 minutes, one hour, or until the next restart.
If a time-based option is available, choosing the shortest appropriate period is generally preferable to disabling protection indefinitely.
After completing your task, reopen the antivirus application and confirm that its protection status has returned to normal.
Step 7: Check Your Protection Status
After re-enabling antivirus protection, it is worth checking the security status in Windows.
Open Windows Security > Virus & threat protection and review the displayed status. If Microsoft Defender is your active antivirus, verify that Real-time protection is enabled.
If a third-party antivirus is installed, check that program as well. Windows may show that another security provider is managing antivirus protection.
If Windows displays a warning that your device is not protected, do not ignore it. Open the relevant security settings and determine which protection component has been disabled.
Important Safety Considerations
Temporarily disabling antivirus protection should be treated as a troubleshooting step, not a permanent solution.
If Windows or your antivirus program repeatedly blocks a particular file, do not immediately assume the security software is wrong. The warning may indicate a legitimate threat.
Before allowing blocked software to run, check where it came from, whether you recognize the publisher, and whether the file is digitally signed when applicable. You can also scan suspicious files using appropriate security tools before opening them.
Never disable antivirus protection simply to bypass a security warning from an unknown program. If something is being detected as malware, investigate the detection rather than automatically turning off protection.
FAQs
Can I temporarily disable Microsoft Defender in Windows 11?
Yes. You can temporarily turn off Real-time protection through Windows Security > Virus & threat protection > Manage settings. Microsoft Defender may also automatically restore protection depending on system behavior and configuration.
Does turning off Real-Time Protection disable all Windows security?
No. Turning off Real-time protection does not necessarily disable every Windows security feature. Other components, such as firewall protections and other security mechanisms, can remain active.
Why can’t I turn off Microsoft Defender?
If the setting is unavailable, another antivirus program may be managing your protection. Organizational policies, security configurations, or other Windows settings can also restrict changes.
Will Windows Defender turn itself back on?
It can restore protection automatically in certain situations. However, you should not rely on that behavior. After completing your task, manually check Real-time protection and confirm that it is enabled.
Should I disable antivirus while installing software?
Only if there is a legitimate troubleshooting reason and you trust the software and its source. Most legitimate applications should not require you to permanently disable antivirus protection.
Can I disable antivirus permanently?
Technically, some antivirus programs provide ways to change their protection settings, but permanently running a computer without antivirus protection is not recommended. Keeping appropriate security protection enabled provides an important layer of defense against malware.
What should I do if my antivirus keeps blocking a trusted program?
First, verify that the program really is trustworthy. Check its source and publisher and investigate the specific detection. If you are certain it is a false positive, use the antivirus program’s exclusion or allow-list feature rather than leaving all antivirus protection disabled.
Is it safe to browse the internet with antivirus disabled?
It is not recommended. Without active antivirus protection, your computer may have less protection against malicious downloads and other threats. If you must temporarily disable protection, finish the necessary task quickly and restore protection immediately.
Bottom Lines
Temporarily disabling antivirus protection in Windows 11 or Windows 10 is relatively straightforward, especially when you are using Microsoft Defender Antivirus. The usual path is Windows Security > Virus & threat protection > Manage settings, followed by turning Real-time protection off.
The key word here is temporarily. Antivirus protection plays an important role in protecting your files, applications, and personal information. Only disable it when there is a genuine reason, avoid untrusted websites and files during that period, and turn protection back on as soon as your task is complete.
If a trusted application continues to be blocked after antivirus protection is restored, investigate the specific security detection instead of repeatedly disabling your entire antivirus. That approach keeps your computer protected while helping you identify the actual cause of the problem.