When and why you might disable antivirus protection
You may need to turn off your antivirus software for a few specific reasons. The most common is that antivirus programs sometimes block legitimate software during installation — a game, a design tool, or older business software that the antivirus flags as suspicious even though it is safe. Another reason is testing: if your computer is running slowly and you suspect the antivirus itself is the problem, you can disable it temporarily to see if performance improves. A third reason is that you are switching to a different antivirus program and need to remove the old one cleanly.
Disabling antivirus is different from uninstalling it. Disabling means turning it off while keeping it installed — useful for temporary situations. Uninstalling removes it entirely from your computer. This guide covers both, because the steps differ depending on which antivirus program you use and what you are trying to do.
Important: do not leave your computer without antivirus protection for extended periods. If you disable it to install software, turn it back on as soon as the installation finishes. If you are uninstalling one antivirus to install another, install the new one before restarting your computer.
Key Takeaways
- Disabling antivirus temporarily (for an hour or a day) is different from uninstalling it permanently, and the steps vary by program.
- Windows Defender, the antivirus built into Windows, can be disabled through Settings or Group Policy, but re-enables itself automatically after a period of time.
- Third-party antivirus programs like Norton, McAfee, and Avast have their own control panels where you can pause protection or uninstall completely.
- Never leave your computer without antivirus running for more than a few hours, and always turn protection back on before connecting to the internet for normal use.
- If you are switching antivirus programs, uninstall the old one completely before installing the new one to avoid conflicts.
Disabling Windows Defender on Windows 10 or 11
Windows Defender is the antivirus that comes built into Windows. It runs automatically and you do not need to install anything separate. To disable it temporarily, open the Settings app by pressing the Windows key and typing "Settings", then click the Settings icon that appears.
In Settings, go to Privacy & Security on the left side, then click Windows Security. Click Virus & threat protection. Under "Virus & threat protection settings", click Manage settings. You will see a toggle for Real-time protection — click it to turn it off. Windows will ask you to confirm; click Yes. The protection is now disabled.
Windows Defender will automatically turn real-time protection back on after a few hours or when you restart your computer. This is by design — Microsoft does not want users to stay unprotected. If you need it off for longer, you can disable it again, but the same automatic re-enabling will happen. If you want to keep it off permanently, you need to use Group Policy (on Windows Pro, Enterprise, or Education editions only), which is more complex and covered in the next section.
Permanently disabling Windows Defender with Group Policy
This method works only on Windows 10 Pro, Windows 10 Enterprise, Windows 11 Pro, or Windows 11 Enterprise. If you have Windows Home edition, this option is not available to you, and you will need to use the Settings method above or switch to a third-party antivirus.
Press the Windows key and type "gpedit.msc", then press Enter. This opens Group Policy Editor. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Look for the setting called Turn off Microsoft Defender Antivirus. Double-click it, select Enabled, then click OK. Close Group Policy Editor and restart your computer.
After restart, Windows Defender will remain off. However, you should install a different antivirus program before disabling Windows Defender permanently, because your computer will have no protection otherwise. If you do disable it without a replacement, Windows will show you a warning in the notification area, but the system will not force protection back on.
Disabling third-party antivirus programs
If you use Norton, McAfee, Avast, Kaspersky, Bitdefender, or another paid antivirus, the steps are different. Each program has its own control panel. The easiest way to find it is to look in your system tray — the small icons in the bottom right corner of your taskbar. Right-click the antivirus icon (usually a shield) and look for an option like "Pause protection", "Disable", or "Turn off".
If you do not see the icon in the system tray, open the antivirus program itself by clicking its icon on your desktop or searching for it by name in the Start menu. Once the program window opens, look for a settings menu or a button that says "Pause", "Disable", or "Protection settings". Most programs let you choose how long to pause — options are usually 15 minutes, 1 hour, or until you restart. Select the duration you need.
If you cannot find a pause option and want to disable the program entirely, you will need to uninstall it. Go to Settings > Apps > Apps & features, find the antivirus program in the list, click it, and click Uninstall. Follow the prompts. Some antivirus programs ask you to restart your computer to complete the uninstall.
Uninstalling antivirus completely
If you are replacing one antivirus with another, uninstall the old one first. Go to Settings > Apps > Apps & features, scroll through the list to find your antivirus program, click it, and click Uninstall. A window will open asking you to confirm; click Uninstall again. The program will remove itself, and you may be asked to restart your computer.
Some antivirus programs leave behind files or settings even after uninstall. If you want a completely clean removal, the antivirus company often provides a removal tool on their website. For example, Norton has the Norton Removal Tool, and McAfee has the McAfee Consumer Product Removal Tool. read the tool from the company's website, run it, and it will clean up any leftover files. After this, restart your computer and then install your new antivirus program.
Do not restart your computer between uninstalling the old antivirus and installing the new one if you can avoid it. If you do restart, your computer will be unprotected until you finish installing the replacement. If you must restart, do it quickly and avoid using the internet until the new antivirus is installed and running.
What to do if antivirus is blocking software you need
Before you disable antivirus entirely, try telling it to allow the software. Most antivirus programs have an "exclusions" or "whitelist" feature. Open your antivirus program, go to Settings or Preferences, and look for "Exclusions", "Allowed apps", or "Whitelist". Click the option to add an exclusion, then navigate to the program file or folder you want to allow. The antivirus will stop blocking that specific program without disabling protection for everything else.
If the antivirus keeps blocking the software even after you add an exclusion, disable the antivirus only while you install the software, then turn it back on when ready. This limits the window of time your computer is unprotected. If the software itself is malicious, the antivirus is doing its job — in that case, do not install it.
Checking that your antivirus is actually off
After you disable antivirus, verify that it is really off. On Windows, open Settings and go to Privacy & Security > Windows Security > Virus & threat protection. If you see a red X or a message saying "Virus & threat protection is off", then Windows Defender is disabled. If you disabled a third-party program, open that program and confirm the status shows "Protection off" or "Paused".
Some antivirus programs show their status in the system tray. If the icon has a red X or a warning symbol, protection is off. If it shows a green checkmark or shield, protection is on. Hover your mouse over the icon to see a tooltip with the current status.
Frequently Asked Questions
Will my computer get infected if I disable antivirus for an hour?
Not necessarily, but the risk increases. If you avoid downloading files, clicking suspicious links, or visiting untrusted websites during that hour, your risk is very low. The danger is highest if you are actively downloading or installing software from the internet while protection is off.
Why does Windows Defender turn back on by itself?
Microsoft designed it this way to protect users from accidentally staying unprotected. The system assumes that if you disabled it, you did so temporarily. If you need it off permanently, you must use Group Policy (on Pro editions) or install a different antivirus program.
Can I have two antivirus programs running at the same time?
No. Two antivirus programs conflict with each other, slow your computer down significantly, and can cause crashes. Always uninstall the old antivirus completely before installing a new one, or disable Windows Defender before installing a third-party program.
What if I disable antivirus and then forget to turn it back on?
Windows will show you a notification in the system tray warning that your computer is unprotected. If you see this warning, turn antivirus back on when ready. If you left it off for days or weeks, run a full scan with your antivirus program after turning it back on to check for any infections that may have occurred while you were unprotected.
Is it safe to disable antivirus to install a game?
It depends on the game and where you downloaded it. If the game is from a major publisher or a trusted store like Steam, the risk is low. If it is from an unknown website, the risk is higher. Before disabling antivirus, try adding the game folder to your antivirus exclusions instead — this avoids disabling protection entirely.