Windows Defender is designed to protect your system, but sometimes you might need to disable it—perhaps for testing, troubleshooting, or running specialized software. While we say this with a touch of sarcasm (because who wouldn’t want to disable a tool that’s guarding your digital castle?), exercise caution when turning off your antivirus. Below is a detailed guide on how to disable Windows Defender via the command line.
Important Considerations ⚠️
- Security Warning: Disabling Windows Defender can expose your system to threats. Only proceed if you understand the risks.
- Administrator Privileges: You must run these commands as an administrator.
- Temporary Measure: Consider this a temporary solution; always re-enable Defender once you complete your tasks.
Methods to Disable Windows Defender via Command Line 🛠️
There are two popular approaches: using PowerShell and modifying registry settings. Let’s explore each.
1. Using PowerShell Commands
PowerShell provides a direct way to control Windows Defender settings. Follow these steps:
- Step 1: Open PowerShell as an administrator.
- Step 2: Execute the following command to disable real-time monitoring:
powershell
Set-MpPreference -DisableRealtimeMonitoring $true
- Step 3: Verify the change by running:
powershell
Get-MpPreference | Select-Object -Property DisableRealtimeMonitoring
This command toggles the real-time protection feature off. Remember, some updates or system changes might re-enable it automatically.
2. Using Registry Editor via Command Line
For those who prefer a more manual approach, you can alter the registry to disable Windows Defender. Here’s how:
- Step 1: Open Command Prompt as an administrator.
- Step 2: Create a backup of your registry (recommended).
- Step 3: Run the following command to add a registry key that disables Defender:
cmd
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
- Step 4: Restart your computer for the changes to take effect.
Quick Comparison Table 📊
Below is a table comparing the two methods:
Method | Ease of Use | Reversibility | Risk Level |
---|---|---|---|
PowerShell | ✔️ | ✔️ | Moderate |
Registry Modification | ✔️ | ✔️ | High (if misconfigured) |
The PowerShell approach is typically easier and less risky, while the Registry method offers a deeper level of control—at the cost of potential system instability if not done correctly.
Tips for a Smoother Process 🔍
- 👉 Document Your Changes: Keep a record of any modifications you make so you can easily revert them later.
- 👉 Test Environment: If possible, perform these changes in a virtual machine or a non-critical system.
- 👉 Stay Informed: Microsoft updates may override your settings. Always check your configuration after major updates.
Final Thoughts 🎯
Disabling Windows Defender via the command line can be a powerful tool in your troubleshooting arsenal. However, with great power comes great responsibility. Be mindful of the security risks, and always plan to re-enable your defenses when you’re done. In the world of system administration, a little irony never hurts—just make sure your digital fortress remains secure once the testing is over.
Happy configuring, and may your command line adventures be both enlightening and secure!
There are times when we want to turn off Windows Defender on Windows 10 quickly. For example, if we are installing a software which requires that the antivirus should be disabled during installation (yes there are some software which requires this).
Windows Defender is an all in one security software from Microsoft consisting of antivirus and a firewall. Windows Defender comes pre-installed with Windows 10. It gets all its updates from Windows Update.
Although you can turn Windows Defender on or off from Windows Settings, there are other quick ways to turn it on or turn off Windows Defender Windows 10 or even Windows 8/8.1. You should choose the best method according to the version of Windows you are using.
Table of Contents
Why turn off Windows Defender?
A general recommendation in terms of security is that you should always have security enabled for your PC at all times. This could be using Windows Defender, Microsoft’s own security solution built into Windows 10, or using a third-party security tool.
Sometimes you will need to disable antivirus and firewall protection in Windows. For example, when you are playing a game but the antivirus keeps on scanning the files and slows down the system. Another example can be when the antivirus detects a program as a false positive although you know that the program is completely safe to use.
Some people believe that it is safe to turn off Windows Defender and use cracking software. This includes activating Windows using illegal tools like KMSPico or the Microsoft Toolkit. These cracking tools are not safe at all. They may inject malware into the system that may not be detectable by the antivirus after installation. The malware is used for cryptomining and other hacking purposes.
There are two ways to turn off Windows Defender, either temporarily or permanently. We will discuss both ways here.
How to Turn Off Windows Defender Using Windows Settings
If you want to turn Windows Defender on or off using Windows Settings, follow the steps below:
- Open Windows Settings (Windows key + i)
- Go to Update & Security –> Windows Security
- From the right-hand pane, select Manage settings under Virus & threat protection settings.
- Toggle the switch to Off under Real-time protection.
This will turn off real-time protection while a manual scan is available at your disposal.
How To Disable Windows Defender Using Command Prompt
To turn off Windows Defender using Command Prompt, follow these steps:
-
Open command prompt with administrative privileges
-
Run the following command to disable Windows Defender:
sc stop WinDefend
-
To make sure that Windows Defender is stopped, run this command:
sc query WinDefend
To enable Windows defender again, run the following command:
sc start WinDefend
Please note that this is a temporary method to stop Windows Defender. The service will return to its original state once the system is restarted.
To disable Windows Defender permanently using the command prompt, run the following command:
sc config WinDefend start= disabled
sc stop WinDefend
To enable it again on startup, run the following commands:
sc config WinDefend start= auto
sc start WinDefend
If you want to check the current state of the Windows Defender service, run the following command:
sc query WinDefend
Check the STATE variable. It should be in RUNNING state if it is enabled.
How To Permanently Disable Windows Defender Using PowerShell
One advantage of PowerShell is that you can deploy changes to Windows Defender on multiple computers across the network.
If you prefer PowerShell way, follow the steps below:
- Run PowerShell with administrative privileges (Windows key + X + A)
- To disable real-time monitoring for Windows Defender, run the following command:
Set-MpPreference -DisableRealtimeMonitoring $true - To enable real-time monitoring, run the following command:
Set-MpPreference -DisableRealtimeMonitoring $false
The above method will only turn off real-time monitoring of Windows Defender. If you want to completely remove Windows Defender from Windows 10, use the following PowerShell command:
Uninstall-WindowsFeature -Name Windows-Defender
How To Permanently Turn Off Windows Defender Using Group Policy
If you are a network admin and want to disable Windows Defender from your network, it is wise to use Group Policy. Just follow the steps below to turn off Windows Defender using the Group Policy editor:
- Open Group Policy Editor (Run –> gpedit.msc)
- Go to Computer Configuration –> Administrative Templates –> Windows Components –> Windows Defender Antivirus
- From the right-hand pane, open Turn off Windows Defender Antivirus and select Enabled
This setting can be accessed through Local Group Policy as well as Domain Group Policy. The local policy will turn off Windows Defender for all local users while the domain policy will disable it for all systems on which the policy is applied.
How To Permanently Disable Windows Defender Using Windows Registry
You can also disable Windows Defender permanently from Windows Registry just by creating or altering a few registry keys.. Follow the steps below:
- Go to Run –> regedit. This will open the Windows Registry Editor.
- Navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender - In the right pane, right-click the empty area and create a new DWORD (32-bit) value.
- Rename the new item to DisableAntiSpyware
- Double-click DisableAntiSpyware and change its value to 1.
Windows Defender will not load after the next computer restart. To enable Windows Defender again, you can either delete the created registry key or simply change its value to 0.
Please note that you can’t completely uninstall the Windows Defender. Even if you manage to delete its service or files, it will most likely be restored on the next major Windows update.
There are a few scenarios where the user wants to disable a specific part of the Windows Defender system. We will discuss the scenarios below.
How to turn off Windows Firewall only
To turn off Windows Firewall only and keep using other Windows Defender functionality, follow the steps below:
- Open Windows Settings (Windows key + i)
- Click on Update & Security and then Windows Security
- In the right-hand pane, click on Open Windows Security
- From the left-hand pane, select Firewall & network protection
- In the right-hand pane, you will see three protection types. Domain network, Private network, Public network.
- Click on each network type and toggle it to disabled.
This will only turn off the firewall. The antivirus and other functionality of Windows Defender will keep on working.
How to turn off Windows Defender real-time antivirus only
If you want to turn off the antivirus real-time functionality only, you can follow the steps below:
- Open Windows Settings (Windows key + i)
- Click on Update & Security and then Windows Security
- From the left-hand pane, click on Virus & threat protection
- In the right-hand pane, toggle real-time protection to off.
Verdict
If you have not installed any third-party antivirus, then you should keep Windows Defender running as it will protect you from the most common virus/hacking threats while you are connected to the Internet. There should always be an anti-malware solution running on your computer at all times. These methods should be used to disable the security software temporarily.
I hope this has been informative for you. If there are any other easier ways to enable or disable Windows Defender, please let us know in the comments below!
Welcome to my blog! Today, we’ll explore how to disable Windows Defender using the Command Prompt (CMD). This powerful tool can help streamline the process and increase your device’s performance. Let’s dive in!
Disabling Windows Defender through CMD: Step-by-Step Guide to Uninstall Default Security App
Disabling Windows Defender through CMD: Step-by-Step Guide to Uninstall Default Security App
Step 1: Press Windows key + X to open the quick access menu and select Command Prompt (Admin) or Windows PowerShell (Admin) to launch the command prompt with administrator privileges.
Step 2: Type the following command in the command prompt and press Enter:
sc stop WinDefend
This command will temporarily disable Windows Defender. If you want to uninstall it completely, proceed to Step 3.
Step 3: Type the following command to remove Windows Defender from your system:
wmic_baseboard where product=”WinDefend” call uninstall
Press Enter, and Windows Defender will be uninstalled.
Note: Uninstalling Windows Defender might leave your system vulnerable to security threats. Make sure to install another reliable antivirus program after uninstalling Windows Defender. Also, be aware that some updates may reinstall Windows Defender automatically.
How to Disable or Enable Windows Defender on Windows 10/11 (2023)
✅100% FIX Windows Security Not Opening/Working On Windows 10 & 11 [5 WAYS]
How to turn on Windows Defender through cmd?
In the context of uninstalling apps, it’s essential to have a reliable antivirus program like Windows Defender to protect your system. If it’s disabled, you can enable it using the Command Prompt. Follow these steps to turn on Windows Defender through CMD:
1. Press the Windows key + X and select Command Prompt (Admin) or PowerShell (Admin) from the list.
2. In the Command Prompt window, type the following command and press Enter:
sc start WinDefend
3. After executing the command, Windows Defender should be enabled on your system. You can verify this by typing the following command and pressing Enter:
sc query WinDefend
If the “STATE” line in the output says “RUNNING,” Windows Defender is active.
Remember, it’s crucial to keep your antivirus software updated and running while uninstalling apps to ensure your computer remains secure.
How do I force Windows Defender to turn off?
To force Windows Defender to turn off in the context of uninstalling apps, follow these steps:
1. Press the Windows key and type ‘gpedit.msc’ in the search bar.
2. Click on the gpedit.msc result to open the Local Group Policy Editor.
3. In the left pane, navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.
4. Find the policy setting called ‘Turn off Microsoft Defender Antivirus’ and double-click it.
5. Select ‘Enabled’ to turn off Windows Defender and then click ‘Apply’ and ‘OK’.
Please note that turning off Windows Defender might make your computer more vulnerable to threats. Be sure to have another trusted antivirus software installed if you proceed with this action.
How to disable Windows Defender using PowerShell?
In the context of uninstalling apps, disabling Windows Defender can be necessary for various reasons, such as installing third-party security applications or troubleshooting purposes. To disable Windows Defender using PowerShell, follow the steps outlined below:
Step 1: Open PowerShell with administrative privileges
– Press the Windows key + X to open the Power Users menu.
– Select Windows PowerShell (Admin) from the list.
Step 2: Run the command to disable Windows Defender
– Type the following command into the PowerShell window:
“`
Set-MpPreference -DisableRealtimeMonitoring $true
“`
– Press Enter to execute the command.
After completing these steps, Windows Defender should now be disabled. Keep in mind that disabling your antivirus protection may expose your system to potential threats. It’s recommended to enable Windows Defender or have another security application installed as soon as possible.
If you need to re-enable Windows Defender in the future, you can do so by running the following command in PowerShell with administrative privileges:
“`
Set-MpPreference -DisableRealtimeMonitoring $false
“`
How can I disable Windows Defender using Command Prompt (CMD) in the context of uninstalling apps?
To disable Windows Defender using Command Prompt (CMD) in the context of uninstalling apps, follow these steps:
1. Press Windows key + X on your keyboard and click on Command Prompt (Admin) or Windows PowerShell (Admin) from the menu that appears. This will open a command prompt with administrative privileges.
2. In the Command Prompt, type the following command and press Enter:
sc stop WinDefend
This command stops the Windows Defender service.
3. Next, type the following command and press Enter:
sc config WinDefend start= disabled
This command disables Windows Defender from starting automatically when your computer starts.
4. To check if Windows Defender is now disabled, type the command below and press Enter:
sc query WinDefend
If you see “STATE: 1 STOPPED” and “START_TYPE: 4 DISABLED” in the output, Windows Defender has been successfully disabled.
Please note that disabling Windows Defender may expose your computer to security risks. It is recommended to have another antivirus or antimalware solution installed before disabling Windows Defender.
Is it possible to prevent Windows Defender from interfering with app uninstallation by using CMD commands?
Yes, it is possible to prevent Windows Defender from interfering with app uninstallation by using CMD commands. To do this, you can temporarily disable Windows Defender real-time protection using the following steps:
1. Press `Windows key + X` to open the Power User menu and select Command Prompt (Admin) or Windows PowerShell (Admin).
2. Type the following command to disable real-time protection:
“`
Set-MpPreference -DisableRealtimeMonitoring $true
“`
3. Press `Enter`. This will disable Windows Defender’s real-time protection, and it should not interfere with your app uninstallation process.
Remember to re-enable Windows Defender once you have uninstalled the app to ensure your system stays protected. To re-enable real-time protection, follow steps 1 and 2 again and enter this command instead:
“`
Set-MpPreference -DisableRealtimeMonitoring $false
“`
Keep in mind that disabling Windows Defender may expose your system to potential risks, so only do this if you are confident about the uninstallation process, and always remember to enable it as soon as you finish.
What are the key CMD commands for disabling Windows Defender temporarily during an app uninstallation process?
In the context of uninstall apps, it is essential to disable Windows Defender temporarily to avoid any interference during the app uninstallation process. The key Command Prompt (CMD) commands for disabling Windows Defender temporarily are as follows:
1. Open Command Prompt: Press Windows key + R, type cmd, and hit Enter to open the Command Prompt.
2. Disable Windows Defender Real-time Protection: Type the following command and press Enter:
PowerShell Set-MpPreference -DisableRealtimeMonitoring $true
Please note that after your app uninstallation process is completed, you should re-enable Windows Defender’s Real-time Protection. To do this, simply use the below command and press Enter:
PowerShell Set-MpPreference -DisableRealtimeMonitoring $false
These commands help ensure a smooth uninstallation process by temporarily disabling Windows Defender’s real-time protection. Remember to always re-enable it once the process is complete to maintain system security.
Post Views: 341
Microsoft Defender also Known as Windows Defender is an anti-malware component of Microsoft Windows. It is an official Protection Program provided by Microsoft to Protect computers running windows from Spyware and malware. Many users think that it’s a new program Which is introduced in Windows 10, but actually, it has a very long story, At first, the concept of Microsoft Defender is based on GIANT AntiSpyWare from the GIANT Company software. Then this company was acquired by Microsoft on December 16, 2004. It was first released to the public as a downloadable free antispyware program for Windows XP, then later shipped with Windows Vista and Windows 7. After it has evolved into a full antivirus program, replacing Microsoft Security Essentials as part of Windows 8. Finally, in windows 10 it is known as Windows Defender before Windows 10 November 2019 Update or Windows Defender Antivirus in Windows 10 Creators Update and later.
Windows Defender Protect Your PC by these Seven security areas mentioned below:
- Virus & threat protection – This feature runs scans, detects threats, and downloads updates to help identify new viruses and malware. On version 1709, this section also offers configuration settings for controlled folder access.
- Account Protection – When you sign in to Windows, the new Account Protection pillar protects your identity. You will be encouraged to set up Windows Fingerprint, Hello Face, or PIN sign-in. If applicable, Account Protection will also notify you if Dynamic Lock has stopped working because your PC’s Bluetooth is inactive.
- Firewall & network protection – In this area, you will be able to manage the Windows Defender Firewall settings. You can also monitor what’s happening with your Internet connections and networks.
- App & browser control – This feature allows you to use Windows Defender Smart Screen, which can protect your computer against potentially dangerous files, sites, apps, and downloads. Moreover, it provides a customization exploit protection feature.
- Device Security – You can get a better insight into the security features integrated with your Windows computer. You can access this area to manage your PC’s built-in security features. Moreover, you can use it to generate security status reports.
- Device performance & health – Access this page to get reports on your computer’s performance and health. This feature can also help you keep your PC clean and up-to-date with the latest version of your operating system.
- Family options – If you’re a parent, you can use this feature to manage your children’s online experience.
Even though Windows Defender has very good protection at some point of time if you are decided to Disable Windows Defender using command line, then this article will guide you to Disable Windows Defender using command line and PowerShell.
In this method we use windows Settings, Using windows settings we can easily Disable Windows Defender.
- Open Windows Settings by pressing Windows + I, click on Update and Security, From the Right-hand pane Click on Windows Security.
- Once you clicked, from the left-hand pane you can see open Windows security. Now you will get the Windows Security Program page.
Or
- You can directly search in the Cortana search bar for Windows defender and click on it.
- Once the windows defender program open Click on Virus and thread protection from the left-hand pane.
- Under Virus and thread protection settings, click on manage settings.
- Toggle the switch to off under Real-time protection.
- Once you turn off the Real-time Protection it Locates and stops malware from installing or running on your device automatically, But Manual scan will be available at your disposal.
Disable Windows Defender using command Prompt:
- Press Windows + X and Open Command Prompt in administrator mode.
- Now type the following command to disable Windows Defender.
sc stop WinDefend
- This command will stop the Windows Defender service, if the service is unstoppable you will receive the [SC] OpenService FAILED 5: Access is denied. Error.
To enable it back run the following command.
sc start WinDefend
- This command will enable the windows defender back, if the service is already running then you will receive the instance of the service is already running. Error.
To enable it again on startup run the following commands:
sc config WinDefend start= auto sc start WinDefend
To check the Current status of windows defender service, run the following command:
sc query Windefend
This command will check the STATE variable. If the service is already running it should show Running STATE.
Using PowerShell
PowerShell is the most advanced that Command prompt, Using Powershell we can turn off windows defender on Multiple Computers over the network. And also using PowerShell we can particularly turn off the real-time monitoring of windows defender.
Open PowerShell with administrative privileges.
Disable Using PowerShell:
Run the following command to disable windows defender
Set-MpPreference -DisableRealtimeMonitoring $true
This command will turn off the real-time monitoring of windows defender.
Enable Using PowerShell:
Run the following command to disable windows defender
Set-MpPreference -DisableRealtimeMonitoring $false
This command will turn on the real-time monitoring of windows defender. The above-mentioned command will only turn off/on real-time monitoring, if you want to disable windows defender completely, run the following command in the PowerShell admin mode.
Uninstall-WindowsFeature -Name Windows-Defender
Disable Using Group Policy
This method is for network administrators, If you are a network administrator and if you want to disable Windows defender for many systems using Group policy then this method will guide you to Disable windows defender using group policy editor.
Open run command by pressing Windows + R and type gpedit.msc and hit enter, this command will open Group Policy Editor.
Navigate to the following path
Computer Configuration –> Administrative Templates –> Windows Components –> Windows Defender Antivirus
From the right-hand pane, Search for Turn Off Windows Defender Antivirus and open and Enable the Group Policy editor.
Click apply and give OK.
Disable using Windows Registry
Registry editor is one of the best options in windows 10 to disable or enable any windows settings. In this method, we are going to use the registry editor to disable windows editor. Follow the steps below.
Open run command by pressing Windows + R and type Regedit and hit enter, this command will open the windows registry editor.
Now navigate to the following location.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
From the right-hand pane right-click on any empty area and New> DWORD 32 bit value Name the DWORD as DisableAntiSpyware.
Right-click on the new DWORD and choose modify. Modify the value to 1. And give OK, Restart the machine to make it effective.
From the next restart the Windows Defender will not load, If you want to enable it back, follow the above-mentioned steps and delete the registry key, or Modify the value to 0.
Note: Windows Defender is a security feature you can’t uninstall or remove it completely. These methods will allow you to disable it for temporarily. It will restore automatically in the next windows update.
Read Also:
How to Disable Non-critical notifications from Windows Security?
How to scan individual Files and Folders using Microsoft Defender?
How to Enable Microsoft Defender Application Guard for Office?
How to Update Windows Defender Virus signature using Command Prompt?
What is mpcache.exe? How to Delete mpcache files in Windows 11?
Post Views: 3,210
Защитник Windows (или Windows Defender) — встроенный в последние версии ОС антивирус от Microsoft — Windows 10 и 8 (8.1). Он работает по умолчанию, пока вы не установите какой-либо сторонний антивирус (а при установке, современные антивирусы отключают Защитник Windows. Правда, с недавних пор — не все) и обеспечивает, пусть не идеальную, но защиту от вирусов и вредоносных программ (хотя последние тесты говорят о том, что он стал сильно лучше, чем был). См. также: Как включить защитник Windows 10 (если он пишет, что это приложение отключено групповой политикой).
В этой инструкции — пошаговое описание того, как отключить Защитник Windows 10 и Windows 8.1, несколькими способами, а также о том, как включить его обратно при необходимости. Это может потребоваться в некоторых случаях, когда встроенный антивирус не дает установить программу или игру, считая их вредоносными, а возможно и в других ситуациях. Сначала описан способ отключения в последних версиях Windows 10 — 21H1, 2004, 1909, 1903, 1809 и 1803, а затем — в предыдущих версиях Windows 10, 8.1 и 8. Также в конце руководства приведены альтернативные способы выключения (не системными средствами). Примечание: возможно, более разумным будет добавить файл или папку в исключения защитника Windows 10. Также может быть полезным: Лучший бесплатный антивирус.
- Временное отключение Защитника Windows 10 в параметрах
- Как отключить Защитник Windows 10 в редакторе локальной групповой политики
- Отключение Защитника Windows 10 в редакторе реестра
- Отключение службы «Антивирусная программа Защитника Windows»
- Видео инструкция
- Программы, позволяющие отключить встроенный антивирус
- Как отключить Защитник в предыдущих версиях Windows 10 и 8.1
- Отключение защитника с помощью PowerShell (временное)
Как отключить Защитник Windows 10
В последних версиях Windows 10 отключение Защитника Windows несколько изменилось по сравнению с предыдущими версиями. Как и раньше, отключение возможно с использованием параметров (но в данном случае встроенный антивирус отключается лишь временно), либо с помощью редактора локальной групповой политики (только для Windows 10 Pro и Enterprise) или редактора реестра.
Временное отключение встроенного антивируса Windows 10 с помощью настройки параметров
Если вам не требуется полное отключение защитника, а необходимо лишь временно отключить его для установки какой-либо программы, вы можете сделать это следующем способом:
- Зайдите в «Центр безопасности Защитника Windows». Это можно сделать, дважды нажав мышью по значку защитника в области уведомлений справа внизу и выбрав «Открыть», либо в Параметры — Обновления и безопасность — Защитник Windows — Кнопка «Открыть Центр безопасности защитника Windows».
- В центре безопасности выберите страницу настройки защитника Windows — пункт «Защита от вирусов и угроз» (иконка с изображением щита), а затем нажмите «Управление настройками» в разделе «Параметры защиты от вирусов и других угроз».
- Отключите «Защита в режиме реального времени» и «Облачная защита».
При этом защитник Windows будет отключен лишь на некоторое время и в дальнейшем система снова задействует его. Также не забывайте о возможности добавления программы в исключения защитника. Если же требуется отключить его полностью, для этого потребуется использовать следующие способы.
Примечание: при использовании далее описанных способов, возможность настройки работы защитника Windows в параметрах станет неактивной (до тех пор, пока вы не вернете измененные в редакторе значения на значения по умолчанию).
Отключение Защитника Windows 10 в редакторе локальной групповой политики
Данный способ подойдет только для редакций Windows 10 Профессиональная и Корпоративная, если у вас Домашняя — в следующем разделе инструкции приведен способ с использованием редактора реестра.
- Нажмите клавиши Win+R на клавиатуре и введите gpedit.msc
- В открывшемся редакторе локальной групповой политики перейдите к разделу «Конфигурация компьютера» — «Административные шаблоны» — «Компоненты Windows» — «Антивирусная программа Защитник Windows».
- Дважды нажмите по параметру «Выключить антивирусную программу Защитник Windows» и выберите «Включено» (именно так — «Включено» отключит антивирус).
- Аналогичным образом отключите параметры «Разрешить запуск службы защиты от вредоносных программ» и «Разрешить постоянную работу службы защиты от вредоносных программ» (установить «Отключено»).
- Зайдите в подраздел «Защита в режиме реального времени», дважды кликните по параметру «Выключить защиту в реальном времени» и установите «Включено».
- Дополнительно отключите параметр «Проверять все загруженные файлы и вложения» (здесь следует установить «Отключено»).
- В подразделе «MAPS» отключите все параметры, кроме «Отправлять образцы файлов».
- Для параметра «Отправлять образцы файлов, если требуется дальнейший анализ» установите «Включено», а внизу слева (в том же окне настройки политики) задайте «Никогда не отправлять».
Однако, в последних версиях Windows 10 этого недостаточно, дополнительно требуется отключить службу защитника Windows, причем сделать это просто в службах не получится. О том, как именно она отключается — в соответствующем разделе сразу после следующего способа.
Как полностью отключить защитник Windows 10 с помощью редактора реестра
Параметры, настраиваемые в редакторе локальной групповой политики можно задать и в редакторе реестра, тем самым отключив встроенный антивирус. Очень важное примечание: последняя версия Windows 10 не позволяет изменять указанные параметры реестра до тех пор, пока вы не отключите Защитник Windows 10 в параметрах, как это было описано в первом разделе инструкции. При этом обязательно требуется отключить и пункт Защита от подделки в том же разделе параметров.
Порядок действий будет следующим (примечание: при отсутствии каких-то из указанных разделов, вы можете их создать, нажав правой кнопкой мыши по «папке», находящейся на уровень выше и выбрав нужный пункт в контекстном меню):
- Нажмите клавиши Win+R, введите regedit и нажмите Enter.
- В редакторе реестра перейдите к разделу
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
- В правой части редактора реестра нажмите правой кнопкой мыши, выберите «Создать» — «Параметр DWORD 32 бита» (даже если у вас 64-бит система) и задайте имя параметра DisableAntiSpyware
- После создания параметра дважды нажмите по нему и задайте значение 1.
- Там же создайте параметры AllowFastServiceStartup и ServiceKeepAlive — их значение должно быть 0 (ноль, задается по умолчанию).
- В разделе Windows Defender выберите подраздел Real-Time Protection (или создайте его), а в нем создайте параметры с именами DisableIOAVProtection и DisableRealtimeMonitoring
- Дважды кликните по каждому из этих параметров и задайте значение 1.
- В разделе Windows Defender создайте подраздел Spynet, в нем создайте параметры DWORD32 с именами DisableBlockAtFirstSeen (значение 1), LocalSettingOverrideSpynetReporting (значение 0), SubmitSamplesConsent (значение 2). Это действие отключает проверку в облаке и блокировку неизвестных программ.
С этим закончили, но не торопитесь закрывать редактор реестра: для полного отключения защитника нужно также отключить соответствующую ему службу.
Отключение службы Антивирусная программа Защитника Windows
В завершение требуется отключить службу антивирусной программы защитника Windows, причем сделать это в services.msc не получится. Отключение возможно следующим методом:
- Перезапустите Windows 10 в безопасном режиме, зайдите в редактор реестра (клавиши Win+R, ввести regedit) и перейдите к разделу
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend
- Дважды кликните мышью по параметру Start в правой панели редактора реестра и задайте для него значение 4.
- Примените настройки, закройте редактор реестра и перезагрузите компьютер в обычном режиме.
Примечание: в последних версиях Windows 10 параметр Start в этих случаях меняется на 3 автоматически, но служба сама не запускается (при желании, однако, вы можете удалить в безопасном режиме весь раздел реестра WinDefend и тогда запуск службы станет невозможным даже вручную, но настоятельно рекомендую сначала экспортировать этот раздел для быстрого возврата, либо создать точку восстановления системы). Также может иметь смысл тем же способом (изменив параметр Start на 4) отключить службу wscsvc (Центр обеспечения безопасности) и Sense, соответствующие разделы реестра находятся в том же расположении.
Готово, теперь Защитник Windows 10 не будет работать.
Дополнительно: в последних обновлениях Windows 10 значок защитника Windows по умолчанию отображается в области уведомлений панели задач. Вы можете отключить её, зайдя в диспетчер задач (через правый клик по кнопке Пуск), включив подробный вид и выключив на вкладке «Автозагрузка» пункт Windows Defender Notification icon.
При следующей перезагрузке иконка отображаться не будет (тем не менее, защитник продолжит работать, если его не отключить описываемыми способами). Чтобы избавиться от уведомления о том, что отключена защита от вирусов, используйте инструкцию: Защита от вирусов и угроз — как отключить уведомление.
Как отключить защитник Windows 10 — видео инструкция
Ввиду того, что описываемое действие в Windows 10 не такое уж и элементарное, предлагаю также к просмотру видео, в котором показано два способа отключения защитника Windows 10.
Отключение защитника Windows 10 с помощью бесплатных программ
Есть множество бесплатных программ, позволяющих, помимо прочего, отключить защитник Windows 10, среди них можно отметить очень простую бесплатную утилиту Defender Control, а также следующие:
- Winaero Tweker — бесплатная программа для настройки параметров Windows 10. Отключение Защитника доступно в разделе Windows Defender. О возможностях программы и где её скачать: Настройка и оптимизация Windows 10 в Winaero Tweaker.
- O&O ShutUp 10 — еще одна бесплатная утилита для настройки поведения ОС, где доступна такая опция.
- Утилита Dism++
- Win Updates Disabler. Программа создавалась для отключения автоматических обновлений Windows 10, но может отключить (и, что важно — включить обратно) и другие функции, включая защитник и брандмауэр. Официальный сайт программы вы можете увидеть на скриншоте ниже.
Еще один вариант — использование утилиты Destroy Windows 10 Spying или DWS, основная цель которой — отключение функций слежения в ОС, но, в настройках программы, если вкючить расширенный режим, вы можете также отключить и Защитник Windows (впрочем, он отключается в этой программе и по умолчанию).
Отключение защитника Windows 10 предыдущих версий и Windows 8.1
Необходимые действия, чтобы выключить Защитник Windows будут отличаться в двух последних версиях операционной системы от Microsoft. В общем случае, достаточно начать с выполнения следующих шагов в обеих ОС (но для Windows 10 процедура полного отключения защитника несколько сложнее, далее будет описано подробно).
Зайдите в панель управления: самым простым и быстрым способом для этого будет правый клик по кнопке «Пуск» и выбор соответствующего пункта меню.
В панели управления, переключенной в вид «Значки» (в пункте «Просмотр» справа вверху), выберите «Защитник Windows».
Запустится главное окно Защитника Windows (если вы увидите сообщение о том, что «Приложение отключено и не ведет наблюдение за компьютером», то, вероятнее всего, у вас просто установлен другой антивирус). В зависимости от того, какая версия ОС у вас установлена, выполните следующие шаги.
Windows 10
Стандартный способ (который не вполне работоспособен) отключения защитника Windows 10 выглядит таким образом:
- Зайдите в «Пуск» — «Параметры» (иконка с шестеренкой) — «Обновление и безопасность» — «Защитник Windows»
- Отключите пункт «Защита в реальном времени».
В результате защита будет отключена, но только на некоторое время: примерно через 15 минут она включится снова.
Если же такой вариант нам не подходит, то есть способы и полностью и навсегда отключить Защитник Windows 10 двумя способами — используя редактор локальной групповой политики или редактор реестра. Способ с редактором локальной групповой политики не подходит для Windows 10 Домашняя.
Для отключения с помощью редактора локальной групповой политики:
- Нажмите клавиши Win+R и введите gpedit.msc в окно «Выполнить».
- Зайдите в Конфигурация компьютера — Административные шаблоны — Компоненты Windows — Антивирусная программа Защитник Windows (в версиях Windows 10 до 1703 — Endpoint Protection).
- В правой части редактора локальной групповой политики дважды кликните по пункту Выключить антивирусную программу защитник Windows (ранее — Выключить Endpoint Protection).
- Установите «Включено» для этого параметра, если требуется отключить защитник, нажмите «Ок» и выйдите из редактора (на скриншоте ниже параметр называется Turn off Windows Defender, таково его название было в ранних версиях Windows 10. Сейчас — Выключить антивирусную программу или выключить Endpoint Protection).
В результате служба защитника Windows 10 будет остановлена (т.е. он будет полностью отключен) и при попытке запуска защитника Windows 10 вы увидите сообщение об этом.
Также вы можете выполнить то же самое действия с помощью редактора реестра:
- Зайдите в редактор реестра (клавиши Win+R, ввести regedit)
- Перейдите к разделу реестра
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
- Создайте параметр DWORD с именем DisableAntiSpyware (если он отсутствует в данном разделе).
- Установите для данного параметра значение 0, чтобы защитник Windows был включен или 1, если его требуется отключить.
Готово, теперь, если встроенный антивирус от Microsoft вас и потревожит, то только уведомлениями о том, что он отключен. При этом, до первой перезагрузки компьютера, в области уведомлений панели задач вы будете видеть иконку защитника (после перезагрузки она исчезнет). Также появится уведомление о том, что защита от вирусов отключена. Чтобы убрать эти уведомления, кликните по нему, после чего в следующем окне нажмите «Не получать больше уведомлений об антивирусной защите»
Если отключения встроенного антивируса не произошло, далее есть описание способов отключить защитник Windows 10 с помощью бесплатных программ для этих целей.
Windows 8.1
Отключение Защитника Windows 8.1 куда проще, чем в предыдущем варианте. Все, что вам требуется — это:
- Зайдите в Панель управления — Защитник Windows.
- Откройте вкладку «Параметры», а затем пункт «Администратор».
- Снимите отметку «Включить приложение»
В результате вы увидите уведомление о том, что приложение отключено и не ведет наблюдение за компьютером — то, что нам и требовалось.
Отключение защитника Windows с помощью командной строки или PowerShell
Еще один способ отключить защитник Windows 10 (правда не навсегда, а только временно — также, как и при использовании параметров) — использование команды PowerShell. Windows PowerShell следует запустить от имени администратора, что можно сделать, используя поиск в панели задач, а затем — контекстное меню по правому клику мышью.
В окне PowerShell введите команду
Set-MpPreference -DisableRealtimeMonitoring $true
Сразу после ее выполнения защита в реальном времени будет отключена.
Чтобы использовать эту же команду в командной строке (также запущенной от имени администратора), просто введите powershell и пробел перед текстом команды.
Отключение уведомления «Включение защиты от вирусов»
Если после действий по отключению защитника Windows 10 постоянно появляется уведомление «Включение защиты от вирусов. Защита от вирусов отключена», то для того чтобы убрать это уведомление, вы можете выполнить следующие шаги:
- С помощью поиска на панели задач зайдите в «Центр безопасности и обслуживания» (или найдите этот пункт в панели управления).
- В разделе «Безопасность» нажмите «Не получать больше сообщений на тему об антивирусной защите».
Готово, в дальнейшем вы не должны будете увидеть сообщений о том, что защитник Windows отключен.
Защитник Windows пишет Приложение отключено (как включить)
Обновление: подготовил обновленную и более полную инструкцию на эту тему: Как включить защитник Windows 10. Однако, если у вас установлена Windows 8 или 8.1, используйте шаги, описанные далее.
Если при входе в панель управления и выборе пункта «Защитник Windows», вы видите сообщение о том, что приложение отключено и не ведет наблюдение за компьютером, это может говорить о двух вещах:
- Защитник Windows отключен потому, что на вашем компьютере установлен другой антивирус. В этом случае ничего делать не стоит — после удаления сторонней антивирусной программы он включится автоматически.
- Вы сами выключили защитник Windows или он был отключен по какой-либо причине, тут вы можете его включить.
В Windows 10 для включения защитника Windows вы можете просто кликнуть по соответствующему сообщению в области уведомлений — все остальное система сделает за вас. За исключением того случая, когда вы использовали редактор локальной групповой политики или редактор реестра (в этом случае, следует проделать обратную операцию по включению защитника).
Для того, чтобы включить защитник Windows 8.1, зайдите в Центр поддержки (правый клик по «флажку» в области уведомлений). Вероятнее всего, вы увидите два сообщения: о том, что выключено защита от программ-шпионов и нежелательных программ и выключена защита от вирусов. Достаточно нажать «Включить сейчас», чтобы Защитник Windows снова запустился.