Why you might need to disable antivirus temporarily
You disable antivirus software when a legitimate program won't install or run because your antivirus is blocking it. This happens most often with older software, specialized tools, or programs your antivirus incorrectly flags as dangerous. The key word is temporarily — you turn it off for the specific task, then turn it back on when ready after.
Antivirus software sometimes blocks things it shouldn't. A video editor, a game launcher, or a driver update might trigger a false alarm. Rather than uninstall your protection entirely, you disable it long enough to complete what you need, then re-enable it. This takes minutes, not hours.
The risk is real: leaving antivirus off while you browse the internet or read files is how infections happen. Disabling it to install one specific program from a source you trust is manageable. Leaving it off "just in case" you need it later is not.
Key Takeaways
- Disable antivirus only for the specific task that needs it, then turn it back on when ready — do not leave it off while you work on other things.
- Windows Defender (built into Windows) disables itself temporarily through Settings or the taskbar icon; third-party antivirus programs have their own disable buttons in their main window.
- If a program is blocked repeatedly, add it to your antivirus whitelist instead of disabling the entire antivirus.
- Restart your computer or manually re-enable antivirus after you finish, because some antivirus programs do not automatically turn back on.
How to disable Windows Defender on Windows 10 and 11
Windows Defender is the antivirus built into Windows. To turn it off temporarily, open Settings (press Windows key + I), then go to Privacy & Security on the left side. Click Windows Security, then Virus & threat protection. You will see a toggle for Virus & threat protection — click it to turn it off.
Windows will warn you that your device is not protected. This is accurate. Complete your task — install the program, run the file, whatever you needed to do — then return to the same screen and toggle it back on. The whole process takes less than a minute each way.
Alternatively, click the Windows Security icon in your system tray (bottom right of the taskbar), open Virus & threat protection, and toggle it off from there. Both routes do the same thing.
How to disable third-party antivirus programs
If you use Norton, McAfee, Kaspersky, Bitdefender, or another paid antivirus, the disable button is in the program's main window. Open the antivirus process, look for a menu or settings button (often three horizontal lines or a gear icon), and find the option to disable protection, pause protection, or turn off. The exact wording varies by program.
Most third-party antivirus programs ask you to choose how long to disable protection — 15 minutes, 30 minutes, 1 hour, or until you manually turn it back on. Choose the shortest time that covers your task. If you choose 1 hour and finish in 5 minutes, you still have 55 minutes of unprotected time you do not need.
Some programs hide the disable option in a submenu labeled Protection, Real-Time Scanning, or Active Protection. If you cannot find it in the main window, check the program's settings or preferences menu. Your antivirus manual or help section will show you exactly where it is.
Whitelisting: a safer alternative to disabling
If the same program keeps getting blocked, add it to your antivirus whitelist instead of disabling the entire antivirus. A whitelist tells your antivirus "this program is safe, do not block it." Your antivirus still protects you from everything else.
In Windows Defender, go to Settings > Privacy & Security > Windows Security > Virus & threat protection > Manage settings. Scroll down to Exclusions and click Add or remove exclusions. Click Add an exclusion, choose File or Folder, and select the program or folder you want to whitelist.
Third-party antivirus programs have similar options, usually labeled Exclusions, Whitelist, or Trusted Programs. Once you add a program, your antivirus will never block it again, and you will not need to disable anything.
What to do if antivirus won't turn back on
Some antivirus programs, especially Windows Defender, do not automatically re-enable themselves after a set time. If you disabled it for 30 minutes and then forgot about it, you could be unprotected for hours. Check your antivirus status before you move on to other tasks.
If you disabled Windows Defender and it did not turn back on automatically, return to Settings > Privacy & Security > Windows Security > Virus & threat protection and toggle it back on manually. For third-party antivirus, open the program and look for a Turn on or Resume button.
The safest approach is to set a phone alarm or timer for when you plan to re-enable it. This takes the guesswork out and ensures you do not accidentally leave yourself unprotected.
Signs your antivirus is blocking something legitimate
Your antivirus blocks a program when it detects behavior that looks suspicious — unsigned code, modifications to system files, or network activity that resembles malware. Legitimate programs sometimes trigger these alarms, especially older software or tools designed for advanced users.
Before you disable antivirus, check whether your antivirus logged the block. In Windows Defender, go to Virus & threat protection > Protection history. You will see a list of blocked items with timestamps. If the program you are trying to install appears there, your antivirus definitely blocked it.
If you see the block logged, you know disabling antivirus will let the program through. If you do not see it logged, the problem might be something else — a corrupted installer, missing permissions, or a different security tool. Disabling antivirus will not help in that case.
When not to disable antivirus
Do not disable antivirus to read files from untrusted websites, to open email attachments from unknown senders, or to run programs you found on random forums. These are exactly the situations where antivirus protects you. If antivirus blocks something in these scenarios, trust it.
Do not disable antivirus and then leave your computer unattended or connected to the internet while you do other work. The moment you disable it, you are vulnerable. Complete your task, re-enable it, and verify it is running before you do anything else.
If a program you need keeps getting blocked and you cannot whitelist it, the safer choice is to research whether a newer version exists or whether the program is actually safe. Disabling antivirus is a last resort, not a first step.
Frequently Asked Questions
Will my computer get infected if I disable antivirus for 5 minutes?
Not necessarily. The risk depends on what you do during those 5 minutes. If you install a program from the official website, the risk is very low. If you browse random websites or read files from untrusted sources, the risk is high. Keep the window short and focused on one task.
Can I disable antivirus without opening the antivirus program itself?
For Windows Defender, yes — you can disable it through Settings without opening Windows Security. For third-party antivirus, you usually need to open the program to find the disable button, though some allow you to right-click the system tray icon and disable from there. Check your antivirus documentation.
What happens if I restart my computer while antivirus is disabled?
Windows Defender automatically re-enables when you restart. Most third-party antivirus programs do the same, though some may stay disabled. After restarting, check your antivirus status to confirm it is running again before you use your computer normally.
Is it safer to uninstall antivirus than to disable it?
No. Uninstalling removes your protection entirely until you reinstall it, which takes much longer than disabling and re-enabling. Disabling is temporary and reversible in seconds. Uninstall only if you are replacing one antivirus with another, not as a workaround for a blocked program.
Can I disable just the real-time scanning part of antivirus?
Yes. Most antivirus programs let you disable real-time scanning while keeping other features active. In Windows Defender, this is called Real-time protection and is a separate toggle from the main antivirus switch. Disabling only real-time scanning is slightly safer than disabling everything, but still leaves you vulnerable to downloads and file access.