Why you might need to disable antivirus temporarily

You disable antivirus software when it blocks something you actually want to install — a legitimate program, a driver update, or a file you know is safe. The antivirus flagged it as a threat because the signature matched something malicious, or the behavior looked suspicious, but you have reason to trust it anyway. Disabling protection entirely is the nuclear option; most of the time, you can work around the block without turning everything off.

The risk is real: while your antivirus is off, malware can install without resistance. A few minutes of vulnerability is usually acceptable if you know what you are installing and where it came from. Hours of vulnerability is not. The goal is to disable only what you need to, for only as long as you need to, then turn it back on when ready.

Key Takeaways

  • Most antivirus software lets you pause real-time scanning for 15 minutes to an hour without fully disabling the program.
  • Pausing is safer than disabling: the antivirus stays running and can resume automatically, and you are less likely to forget to turn it back on.
  • If you must disable it entirely, do so only for the specific task, then re-enable it before you browse the internet or read anything else.
  • Windows Defender (built into Windows) can be temporarily disabled through Settings, but re-enabling requires a restart or manual action.
  • If an antivirus repeatedly blocks legitimate software, the real solution is to whitelist the program or file, not to disable the antivirus.

Pausing real-time scanning instead of disabling

Most antivirus programs have a "pause" or "temporarily disable" option that stops real-time scanning for a set time — usually 15 minutes, 30 minutes, or an hour — then automatically resumes. This is the safest approach because the antivirus is still running and will turn itself back on. You are less likely to forget, and if something does go wrong during that window, the program can still catch it.

Look for this option in the antivirus main window, usually under a menu labeled "Protection", "Settings", or "Pause". In Windows Defender, right-click the taskbar icon and select "Virus & threat protection". In Norton, open the main window and look for a pause button. In McAfee, go to Settings and find "Real-Time Scanning". The exact location varies, but the concept is the same: you are telling the program to stop watching for threats temporarily, not to shut down entirely.

Set the pause to the shortest time that makes sense for what you are doing. If you are installing a single program, 15 minutes is usually enough. If you are updating drivers or installing multiple things, 30 minutes gives you breathing room without leaving the door open too long.

Disabling Windows Defender on Windows 10 and 11

Windows Defender is the antivirus built into Windows. It runs by default and cannot be uninstalled, but you can turn it off temporarily. The process differs slightly between Windows 10 and 11, but both require you to access the Settings app.

On Windows 10: Open Settings, go to "Update & Security", then "Virus & threat protection". Click "Manage settings" under "Virus & threat protection settings". Toggle "Real-time protection" to off. Windows will ask you to confirm. On Windows 11: Open Settings, go to "Privacy & security", then "Virus & threat protection". Click "Manage settings". Toggle "Real-time protection" to off.

Windows Defender will stay off until you manually turn it back on or until your computer restarts. If you restart before re-enabling it, Windows will turn it back on automatically. The safest approach is to disable it, do what you need to do, then when ready go back to Settings and toggle real-time protection back on. Do not leave it off and assume you will remember later.

Disabling third-party antivirus programs

Norton, McAfee, Kaspersky, Bitdefender, and other paid antivirus programs all have disable options, but the exact steps vary. Most have a main window with a settings or preferences menu. Look for an option labeled "Disable", "Turn off", "Pause protection", or "Exit".

In Norton: Open the main window, click the menu icon (three horizontal lines), go to "Settings", then find "Real-Time Threat Protection" or "Auto-Protect". Toggle it off. In McAfee: Open the main window, click the gear icon for Settings, find "Real-Time Scanning", and toggle it off. In Kaspersky: Open the main window, click the menu, go to "Settings", find "Protection", and toggle "Real-Time File Protection" off.

After you disable the antivirus, complete your task as quickly as possible. Once you are done, go back into the same settings menu and toggle protection back on. Some programs will remind you that protection is off; others will not. Do not rely on a reminder — manually verify that protection is back on before you do anything else on your computer.

Whitelisting a file or program instead of disabling antivirus

If the antivirus keeps blocking the same program or file, disabling the entire antivirus is overkill. Most antivirus software lets you whitelist (or exclude) specific files, folders, or programs so they bypass the scan. This way, protection stays on for everything else.

In Windows Defender: Go to Settings > Privacy & security > Virus & threat protection > Manage settings. Scroll down to "Exclusions" and click "Add exclusions". Choose whether you are excluding a file, folder, or process, then navigate to the item. In Norton: Open the main window, go to Settings > Scans and Risks > Exclusions, and add the file or folder. In McAfee: Go to Settings > Exclusions and add the item.

Whitelisting is permanent (or until you remove it), so the antivirus will not block that program again. This is the right solution if you use the software regularly. If you are only installing something once and you are not sure whether it is safe, disabling temporarily is more appropriate than permanently whitelisting it.

What to do if you cannot disable the antivirus

Some corporate or school networks lock antivirus settings so employees or students cannot turn them off. If you see a message saying the setting is managed by your organization or administrator, you cannot disable it without contacting IT support. Do not try to work around it — the restriction is there for a reason.

If you need to install something that the antivirus blocks, contact your IT department or help desk and explain what you are trying to install and why. They can either whitelist it, temporarily disable it for you, or tell you whether the block is a legitimate security concern. This is the proper path, even though it takes longer.

Checking that antivirus is back on

After you re-enable your antivirus, verify that it actually turned back on. Do not assume it worked. In Windows Defender, go back to Settings > Privacy & security > Virus & threat protection and confirm that "Real-time protection" is toggled on. In third-party programs, open the main window and look for a green checkmark, "Protection on", or similar indicator. If you see a warning icon or a message saying protection is off, toggle it on again.

If the antivirus will not turn back on, restart your computer. Most antivirus programs will automatically resume protection after a restart. If it still will not turn on, you may have a corrupted installation or a conflict with another program — in that case, uninstall and reinstall the antivirus, or contact the vendor's support team.

Frequently Asked Questions

Is it safe to disable antivirus while installing a program?

It is safe if you know the program is legitimate and you trust where it came from. Disable it only for the installation, then turn it back on when ready. The risk window is small if you work quickly and do not browse the internet or read anything else while protection is off.

Why does my antivirus keep blocking a program I know is safe?

The antivirus signature database may be outdated, or the program may have behavior that looks like malware even though it is not. Whitelist the program instead of disabling the antivirus. This tells the antivirus to trust it permanently without turning off protection for everything else.

Will my computer restart automatically if I disable Windows Defender?

No, Windows Defender will stay off until you manually turn it back on or until you restart your computer. If you restart before re-enabling it, Windows will turn it back on automatically. Always manually re-enable it before you restart.

What happens if malware installs while antivirus is disabled?

The malware will install without resistance. When you turn the antivirus back on, it may detect and remove the malware, or it may not if the malware is new or unknown. This is why you should disable antivirus only for short periods and only for things you trust.

Can I disable antivirus on a work or school computer?

Usually not — IT departments lock these settings to protect the network. If you need to install something that the antivirus blocks, contact your IT support team and ask them to whitelist it or temporarily disable it for you.