How to switch off windows defender

Follow these steps to temporarily turn off real-time Microsoft Defender antivirus protection in Windows Security. However, keep in mind that if you do, your device may be vulnerable to threats.

  1. Select Start  and type «Windows Security» to search for that app.

  2. Select the Windows Security app from the search results, go to Virus & threat protection, and under Virus & threat protection settings select Manage settings.

  3. Switch Real-time protection to Off. Note that scheduled scans will continue to run. However, files that are downloaded or installed will not be scanned until the next scheduled scan.

Notes: 

  • If you just want to exclude a single file or folder from antivirus scanning you can do that by adding an exclusion. This is safer than turning the entire antivirus protection off. See Add an exclusion to Windows Security.

  • If you install a compatible non-Microsoft antivirus program Microsoft Defender antivirus will automatically turn itself off.

  • If Tamper Protection is turned on, you’ll need to turn Tamper Protection off before you’ll be able to turn Real-time protection off.

How malware can infect your PC 

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

The Windows Defender can do a good job be keeping your data safe from all sorts of foreign threats even without installing any 3rd party anti-virus programs.

While Windows Defender protects your computer from various malicious threats, it could also prevent the computer from running certain programs. Especially the ones created by unknown or lesser-known 3rd parties. In such a case, disabling the Windows Defender is necessary to smoothly run the desired programs. 

Table of Contents

Windows Defender can be easily turned off and it won’t take more than a few minutes. In case the simple methods aren’t working out for you, we’ve listed the more in-depth ways how you can turn off Windows Defender on your computer. 

Turn Off Windows Defender on Windows 10 / 11 

Turning off the Windows Defender will put your computer at risk if you don’t have any 3rd-party anti-virus program installed on your computer. But, if you do have it, turning off Windows Defender is safe. To turn off the real-time protection of Windows Defender on Windows 10 or 11, perform the following steps:

  1. Go to Settings.
  2. Click on Updates & Security.
  3. Click on Windows Security from the left pane.
  4. Click on “Virus & Threat Protection” and choose “Manage Settings” from the menu.
    manage-settings
  5. Switch off the Real-time protection and the Windows Defender will be turned off. 
    real-time-protection-off

But, upon restarting your computer, Windows Defender would start on its own and will continue to protect the computer from any threats. And in the meantime, if any malicious files are detected, they will be quarantined and the users will have the option to either recover them or remove them permanently.

Turn Off Windows Defender on Windows 7/8

Windows Defender is made available for Windows 7/8 as well and it protects the computer from various malware and Spywares. But if you want to disable Windows Defender on Windows 7, you will have to perform the following steps:

  1. Press start and click on ‘Control Panel’ from the menu.
  2. Search for ‘Windows Defender’ and double click on it.
  3. If the real-time protection is on, click on ‘Tool’ located on the ‘Menu Bar’ on top of the window.
  4. Click on Options.
  5. Navigate to the ‘Administrator’ section and uncheck the box that says ‘Use this Program’ and click on save
    uncheck-use-this-program

Permanently Turn off Windows Defender on Windows 

The method discussed above temporarily disables Windows Defender until the computer is restarted, but it is not a long-term solution. If the users want to permanently turn off the Windows Defender on Windows, they will have to disable it through the Registry Editor. To permanently turn off Windows Defender, perform these steps:

  1. Press ‘Windows + R.
  2. Write ‘regedit’ and press Enter.
  3. From the listed folder, navigate to:
    HKEY_LOCAL_MACHINE > Software > Policies > Microsoft > Windows Defender
  4. Once you’ve selected the “Windows Defender” folder on the Registry Editor, right-click on the screen and create a “New > DWORD (32-bit) value file. 
    create-new-dword-32-bit-file
  5. Name the file “DisableAntiSpyware.”
  6. Afterward, double-click on the “DisableAntiSpyware” file and set “Value Data to 1.”
    set-value-to-disable-antispyware-to-1
  7. Click ‘Ok’ and reboot the computer. 

With this method, you will permanently disable the Windows Defender from your computer. Upon rebooting the computer, the services of Windows Defender will be suspended. Furthermore, if you want to turn on the Windows Defender again, you will have to delete the “DisableAntiSpyware” file from the Registry Editor. 

On some computers, users have to disable the “Tamper Protection” to make edits in the Registry Editor. If you can’t seem to create/edit the Windows Defender file in Registry Editor, make sure that the “Tamper Protection” is turned off. To turn off the “Tamper Protection”, perform the following steps:

  1. Go to Settings.
  2. Go to “Updates & Security” and navigate to “Virus & threat protection.”
  3. Scroll down the window and find the section that says “Tamper Protection.”
  4. Switch off the Tamper Protection. 
    Tamper-protection-off

It is now possible to edit the Registry Editor if you had previously been unable to do so.

Turn Off Windows Defender on Windows Through Group Policy 

An alternative method that could be used to turn off Windows Defender is by turning it off from the Windows group policy. Using this method would also permanently disable the Windows Defender on your computer. All real-time protection would be turned off and the scheduled scans will also stop running.

To turn off Windows Defender on Windows, perform these steps:

  1. Press “Windows + R”  and type “gpedit.msc” in the search bar and press Enter.
  2. The window for ‘Local Group Policy Editor’ will appear.
  3. Afterward, navigate to:
    Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus (Windows Defender on Windows 7)
  4. Once you’ve successfully navigated to the “Windows Defender Antivirus” folder, double-click on “Turn off Windows Defender Antivirus.”
    turn-off-windows-defender-antivirus
  5. From the window, check the box for ‘Enable’ and click on ‘Apply.’
    check-enabled
  6. Close the window and restart the computer. 

Turn Off Windows Defender From Services 

Windows Defender can be turned off from the services section as well. Users can use this option to temporarily or permanently turn off the services of Windows Defender, depending on their preferences. To turn off Windows Defender from the ‘Services’ section, perform the following section:

  1. Press “Windows + R
  2. Type “services.msc” and press Enter.
  3. From the services section, find and double-click on “Windows Defender.”
  4. Choose the “Disabled” option from the ‘Startup Type’ menu.
  5. Click on “Apply.”
    windows-defender-antivirus-services
  6. Reboot the computer and check if the service is running or not. 

To restart the service of Windows Defender, choose “Automatic (Delayed Start)” from the ‘Startup Type’ menu. 

Turn Off Windows Defender Using Windows Powershell 

Windows built-in tool Powershell can also be used to turn off Windows Defender. To use this method, follow these instructions:

  1. Press start and search for “Windows Powershell” and run it as administrator.
  2. Run this command: 
    Set-MpPreference -DisableRealtimeMonitoring $true
    disable-realtime-monitoring
    (Using the command will turn off the real-time protection of Windows Defender and any scheduled scans will also stop.)
  3. And once you’ve decided to turn on the Windows Defender using Windows Powershell, type this command into the Windows Powershell:
    Set-MpPreference -DisableRealtimeMonitoring $false
    enable-realtime-monitoring

Furthermore, if you completely want to uninstall Windows Defender using the Windows Powershell, you will need to follow these steps:

  1. Open Windows Powershell with administrator privileges. 
  2. Type and run this command:
    Uninstall-WindowsFeature -Name Windows-Defender
    uninstall-windows-defender

Turn Off Windows Defender Using Command Prompt

Command Prompt or CMD could also be used to turn off Windows Defender and can also be used to check its real-time status. Aside from disabling Windows Defender, CMD could also disable it permanently as well. To turn off Windows Defender using Command Prompt, perform these steps:

  1. Press Start and search for ‘CMD’ and run it as administrator. 
  2. Type and run this command:
    sc stop WinDefend
  3. To make sure that Windows Defender is stopped, run this command:
    sc query WinDefend

The status of Windows Defender will be displayed. If it has stopped working then the status would appear as stopped. Moreover, to permanently turn off Windows Defender using CMD, perform these steps:

  1. Run this command:
    sc config WinDefend start= disabled
    disable-windows-defender-antivirus
  2. Then this command:
    sc stop WinDefend
  3. Reboot the computer.
  4. Run the query command again to see the status of Windows Defender:
    sc query WinDefend

Время на прочтение
3 мин

Количество просмотров 952K

В Windows 10 имеется встроенный антивирус Windows Defender («Защитник Windows»), защищающий компьютер и данные от нежелательных программ: вирусов, шпионских программ, программ-вымогателей и многих других типов вредоносных программ и действий хакеров.

И хотя встроенного решения для защиты достаточно для большинства пользователей, бывают ситуации, в которых вы можете не захотеть пользоваться этой программой. К примеру, если вы настраиваете устройство, которое не будет выходить в сеть; если вам необходимо выполнить задачу, блокируемую этой программой; если вам нужно уложиться в требования политики безопасности вашей организации.

Единственная проблема связана с тем, что полностью удалить или отключить Windows Defender у вас не выйдет – эта система глубоко интегрирована в Windows 10. Однако есть несколько обходных путей, при помощи которых вы можете отключить антивирус – это использование локальной групповой политики, реестра или настроек Windows в разделе «Безопасность» (временно).

Как отключить Защитник Windows через настройки безопасности Windows

Если вам нужно выполнить определённую задачу, и не нужно отключать Защитника полностью, вы можете сделать это временно. Для этого при помощи поиска в кнопке «Пуск» найдите раздел «Центр безопасности Защитника Windows», и выберите в нём пункт «Защита от вирусов и угроз».

Там перейдите в раздел «Параметры защиты от вирусов и других угроз» и кликните по переключателю «Защита в режиме реального времени».

После этого антивирус отключит защиту компьютера в реальном времени, что позволит вам устанавливать приложения или выполнять определённую задачу, которая была недоступна вам из-за того, что антивирус блокировал необходимое действие.

Чтобы снова включить защиту в реальном времени, перезапустите компьютер или заново пройдите все этапы настроек, но на последнем шаге включите переключатель.

Это решение не является постоянным, но лучше всего подходит для отключения антивируса Windows 10 для выполнения определённой задачи.

Как отключить Защитник Windows через групповые политики

В версиях Windows 10 Pro и Enterprise вам доступен редактор локальных групповых политик, где можно навсегда отключить Защитника следующим образом:

Через кнопку «Пуск» запустите исполняемый скрипт gpedit.msc. Откроется редактор политик. Перейдите по следующему пути: Конфигурация компьютера > Административные шаблоны > Компоненты Windows > Антивирусная программа «Защитник Windows».

Двойным нажатием откройте пункт «Выключить антивирусную программу „Защитник Windows“». Выберите настройку «Включено» для включения этой опции, и, соответственно, отключения Защитника.

Нажмите «ОК» и перезапустите компьютер.

После этого антивирус будет навсегда отключён на вашем устройстве. Но вы заметите, что иконка со щитом останется в панели задач – так и должно быть, поскольку эта иконка принадлежит к приложению «Безопасность Windows», а не самому антивирусу.

Если вы передумаете, вы всегда можете заново включить Защитника, повторив эти шаги, и на последнем шаге выбрав вариант «Не задано», после чего снова нужно будет перезагрузить компьютер.

Как отключить Защитник Windows через реестр

Если у вас нет доступа к редактору политик, или у вас установлена Windows 10 Home, вы можете отредактировать реестр Windows, отключив тем самым Защитника.

Напоминаю, что редактировать реестр рискованно, и ошибки в этом деле могут нанести непоправимый ущерб текущей установленной копии Windows. Лучше сделать резервную копию системы перед тем, как начинать редактирование.

Чтобы полностью отключить Защитиника через реестр, запустите через кнопку «Пуск» программу regedit, и перейдите в ней по следующему пути:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

Совет: этот путь можно скопировать и вставить в адресную строку редактора реестра.

Затем правой клавишей нажмите на ключ (каталог) Windows Defender, выберите «Новый» и DWORD (32-bit) Value. Назовите новый ключ DisableAntiSpyware и нажмите «Ввод». Затем двойным щелчком откройте редактор ключа и задайте ему значение 1.

Нажмите ОК, и перезапустите компьютер.

После этого Защитник Windows уже не будет защищать вашу систему. Если вы захотите отменить эти изменения, повторите все шаги, но в конце удалите этот ключ или назначьте ему значение 0.

Рекомендации

Несмотря на наличие нескольких методов отключения Защитника Windows, мы не рекомендуем использовать компьютер вообще без антивирусных программ. Однако вы можете столкнуться с ситуациями, в которых отключение этой функции будет лучшим вариантом. А если вы устанавливаете стороннюю программу-антивирус, вам не нужно отключать Защитника вручную, поскольку во время установки он отключится автоматически.


Download Article

Easy step-by-step guide to disable Defender antivirus protection


Download Article

  • Disabling Defender Temporarily
  • |

  • Disabling Permanently with Other Antivirus Software
  • |

  • Disabling with Group Policy Editor
  • |

  • Q&A
  • |

  • Tips
  • |

  • Warnings

This wikiHow guide will show you how to turn off Microsoft Defender (formerly Windows Defender) in Windows 10. Microsoft Defender can be disabled in Settings, but will turn back on automatically when you restart your computer. If you want to turn off Defender permanently, you’ll need to install a different antivirus program. You can also use the built-in Group Policy Editor to permanently turn off Defender. Keep in mind that turning off Defender without having another antivirus installed will open up your PC to security threats.

Things You Should Know

  • Go to Settings > Update & Security > Windows Security > Virus & threat protection to turn off Defender temporarily.
  • Download a 3rd-party antivirus software to automatically turn off Defender.
  • Use the Local Group Policy Editor to permanently turn off Defender.
  • Note that the Group Policy Editor is only available on Windows Pro, Ultimate, and Enterprise.
  1. Image titled Turn Off Windows Defender in Windows 10 Step 1

    1

    Open your Windows Settings

    Windows Settings

    . Click the gear-shaped Settings icon in the lower-left side of the Start menu. Doing so opens the Settings window.

    • This method turns off Microsoft Defender’s real-time antimalware protection temporarily, which can be helpful if you need to install trusted software that Defender improperly flags as harmful. Defender will turn back on automatically after you restart your PC.
  2. Image titled Turn Off Windows Defender in Windows 10 Step 2

    2

    Click

    Windows Update = Windows

    Update & Security. It’s in the bottom row of Settings options.

    Advertisement

  3. Image titled Turn Off Windows Defender in Windows 10 Step 3

    3

    Click Windows Security. This tab is in the upper-left side of the window.

  4. Image titled Turn Off Windows Defender in Windows 10 Step 4

    4

    Click Virus & threat protection. It’s the first option below the «Protection areas» heading near the top of the page. Doing so opens the Windows Defender window.

  5. Image titled Turn Off Windows Defender in Windows 10 Step 5

    5

    Click Virus & threat protection settings. You’ll find this option in the middle of the page.

  6. Image titled Turn Off Windows Defender in Windows 10 Step 6

    6

    Disable Microsoft Defender’s real-time scanning. Turning off real-time protection will mean your device is vulnerable until it turns back on.[1]

    • Click the blue «On» switch
      Windows Switch On

      below the «Real-time protection» heading.

    • Click Yes when prompted. This will turn off the real-time scanning feature of Microsoft Defender.
    • You can also disable Microsoft Defender’s cloud-based protection by clicking the blue «On» switch below the «Cloud-delivered protection» heading and then clicking Yes when prompted.
    • Microsoft Defender will turn itself back on the next time you restart your computer.
  7. Advertisement

  1. Image titled Turn Off Windows Defender in Windows 10 Step 7

    1

    Go to the website for your preferred 3rd-party antivirus program. To turn off Microsoft Defender permanently, you can install a 3rd party antivirus software like Bitdefender, McAfee Antivirus Plus, or Malwarebytes Premium.

    • For more general info, check out our guide on protecting your computer with antivirus software.
  2. Image titled Turn Off Windows Defender in Windows 10 Step 8

    2

    Download the setup file for the 3rd-party antivirus. The download location on the website will vary depending on your selected software.

    • For example, Bitdefender Antivirus Free for Windows is available through the FOR HOME tab on their website. The button says FREE DOWNLOAD FOR WINDOWS.
    • Make sure your computer meets the minimum specifications for the software.
  3. Image titled Turn Off Windows Defender in Windows 10 Step 9

    3

    Double-click the setup file. This is the file downloaded from the antivirus’s website. The installer will open to begin installing the antivirus on your computer.

  4. Image titled Turn Off Windows Defender in Windows 10 Step 10

    4

    Complete the installation. Follow the instructions provided by the installer to finish installing the antivirus. You may be required to restart your computer during the process. Once you’ve installed a different antivirus program, Microsoft Defender will automatically turn off.

    • For additional computer safety, make sure to password protect your Windows PC.
  5. Advertisement

  1. Image titled Turn Off Windows Defender in Windows 10 Step 11

    1

    Turn off Tamper Protection. If you’re using Windows 10 Pro or Enterprise, you can use the built-in Group Policy Editor to permanently turn off Microsoft Defender. Note that your computer will be vulnerable to malware after turning off Defender. You’ll need to turn off Tamper Protection to turn off Microsoft Defender:[2]

    • Open the Windows Security app.
    • Click Virus & threat protection.
    • Click Manage settings.
    • Switch Tamper Protection to “Off”.
  2. Image titled Turn Off Windows Defender in Windows 10 Step 12

    2

    Press Win+R. The Run menu will open.

  3. Image titled Turn Off Windows Defender in Windows 10 Step 13

    3

    Type gpedit.msc in the Run window and press Enter. This will open the Group Policy Editor menu.[3]

  4. Image titled Turn Off Windows Defender in Windows 10 Step 14

    4

    Navigate to the policy to turn off Microsoft Defender. Take these steps in the Group Policy Editor to find this option:

    • Computer Configuration
    • Administrative Templates
    • Windows Components
    • Microsoft Defender Antivirus
    • In the policy list, look for “Turn off Microsoft Defender Antivirus”.
  5. Image titled Turn Off Windows Defender in Windows 10 Step 15

    5

    Double-click “Turn off Microsoft Defender Antivirus”. This will open an options menu for the policy.

  6. Image titled Turn Off Windows Defender in Windows 10 Step 16

    6

    Click Enabled.

  7. Image titled Turn Off Windows Defender in Windows 10 Step 17

    7

    Click OK. This will confirm the choice to turn off Microsoft Defender and close the window.

  8. Image titled Turn Off Windows Defender in Windows 10 Step 18

    8

    Restart your computer. Microsoft Defender will be turned off.

    • Change the “Turn off Microsoft Defender Antivirus” to Not Configured in the Group Policy Editor to turn Microsoft Defender back on.
  9. Advertisement

Add New Question

  • Question

    I did not order Microsoft Defender, how do I delete it?

    R2_d2000

    Microsoft Defender comes with Windows 10, and, unfortunately, it cannot be deleted.

  • Question

    Is there a way to turn it off without admin privileges?

    Community Answer

    No, you need to be an administrator to disable Windows Defender. This is a security measure to prevent viruses from turning Windows Defender off. However, if you know what you are doing and are certain of the safety of a third party app, it is possible to turn it off by using third party operating systems or startup disks which can access system settings of this system or user account, and disabling services with help of third party apps.

  • Question

    It keeps getting switched back to on. Why?

    R2_d2000

    This is because Microsoft Defender automatically turns itself back on whenever Windows restarts.

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

  • Installing a third-party antivirus will not delete Microsoft Defender, but it will deactivate it so that they don’t conflict.

Thanks for submitting a tip for review!

Advertisement

  • Disabling Microsoft Defender may also disable any other antivirus programs, such as Norton or McAfee.

  • Disabling Microsoft Defender may open your computer up to security threats. You should not do this unless you know what you are doing.

Advertisement

About This Article

Article SummaryX

1. Open the Start menu.
2. Click Settings.
3. Click Update & Security.
4. Click Windows Security.
5. Click Virus & threat protection.
6. Click Virus & threat protection settings.
7. Toggle off «Real-time protection.»
For more information on how to disable Microsoft Defender, read on!

Did this summary help you?

Thanks to all authors for creating a page that has been read 1,976,233 times.

Is this article up to date?

Why should I turn Windows Defender off?

In general, if you want to make sure your PC is safe, you should always have security turned on. This could be done by using Windows Defender, which is built into Windows 10 by Microsoft, or by using a security tool from a company other than Microsoft.

You may need to turn off Windows’ antivirus and firewall protections at times. For example, when you are playing a game but the antivirus keeps scanning the files, which slows down the system. Another example is when your antivirus finds a program as a false positive, even though you know it’s safe to use.

Some people think it’s safe to turn off Windows Defender and use software that can break security. This includes using illegal tools like KMSPico or the Microsoft Toolkit to activate Windows. These tools for cracking are not safe in any way. They might put malware into the system that the antivirus might not be able to find after it is installed. The malware is used to hack and mine for cryptocurrency.

Windows Defender can be turned off either temporarily or permanently. We will talk about both here.

1. How to use Windows Settings to turn off Windows Defender

Follow these steps to turn Windows Defender on or off using Windows Settings:

  1. Open Windows Settings (Windows key + i)
  2. Go to Update & Security –> Windows Security
  3. From the right-hand pane, select Manage settings under Virus & threat protection settings.
  4. Toggle the switch to Off under Real-time protection.

When you do this, automatic protection will be off, but you may still run a scan manually.

2. Turn off Windows Defender quickly with Defender Control

See details and download Defender Control here

3. How To Permanently Turn Off Windows Defender Using Group Policy

If you are in charge of a network and want to get rid of Windows Defender from it, you should use Group Policy. Just follow the steps below to use the Group Policy editor to turn off Windows Defender:

  1. Open Group Policy Editor (Run –> gpedit.msc)
  2. Go to Computer Configuration –> Administrative Templates –> Windows Components –> Windows Defender Antivirus

3. Open Turn off Windows Defender Antivirus from the right-hand pane and choose Enabled.

Both Local Group Policy and Domain Group Policy can be used to change this setting. Windows Defender will be turned off for all local users by the local policy, while it will be turned off for all systems where the domain policy is applied by the domain policy.

4. How To Permanently Disable Windows Defender Using Windows Registry

By adding or changing a few registry keys, you may also permanently disable Windows Defender via the Windows Registry. The steps are as follows:

  1. Go to Run –> regedit. This will open the Windows Registry Editor.
  2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  3. In the right pane, right-click the empty area and create a new DWORD (32-bit) value.
  4. Rename the new item to DisableAntiSpyware
  5. Double-click DisableAntiSpyware and change its value to 1.

After the next restart, Windows Defender will not load. To turn Windows Defender back on, you can either delete the key you made or change its value to 0.

Please keep in mind that you can’t get rid of Windows Defender completely. Even if you delete its service or files, it will probably come back with the next big Windows update.

There are a few times when a user might want to turn off a certain part of Windows Defender. We will talk about the following situations.

5. How to turn off Windows Firewall only

To disable the Windows Firewall while still using other Windows Defender features, follow the instructions below:

  1. Open Windows Settings (Windows key + i)
  2. Click on Update & Security and then Windows Security
  3. In the right-hand pane, click on Open Windows Security
  4. From the left-hand pane, select Firewall & network protection
  5. In the right-hand pane, you will see three protection types. Domain network, Private network, Public network.
  6. Click on each network type and toggle it to disabled.

Only the firewall will be turned off. Windows Defender’s antivirus and other features will continue to work.

6. How to turn off Windows Defender real-time antivirus only

If you only want to turn off the real-time protection, you can do so by following these steps:

  1. Open Windows Settings (Windows key + i)
  2. Click on Update & Security and then Windows Security
  3. From the left-hand pane, click on Virus & threat protection
  4. In the right-hand pane, toggle real-time protection to off.

  • How to switch language on windows 10
  • How to stop windows update
  • How to stop windows defender
  • How to stop updates on windows
  • How to speed up windows 10