Windows Defender is the free antivirus software that Microsoft includes on every installation of Windows 10 (and Windows 8.1). The security software is meant to offer the first line of defense to protect your computer against viruses, rootkits, spyware, and other types of malicious code.
The antivirus runs automatically on your computer and can cause major issues while using automatic bots and emulators. Even if you disable it once, it will turn itself back on randomly and after restart - You should disable it permanently before using an auto bot.
How to disable Windows Defender Temporarily
In the case, you're only looking to disable Windows Defender temporarily; you can do the following.
- Open Settings.
- Click on Update & security.
- Click on Windows Defender.
- Turn off the toggle switch for Real-time protection.
While Windows Defender doesn't specify how long you can disable real-time protection, "temporary" usually means until the next time you reboot your computer.
How to disable Windows Defender Permanently using Local Group Policy
If you're using Windows 10 Pro or any other enterprise variant, such as Windows 10 Enterprise or Windows 10 Education, you can use the Local Group Policy Editor to disable Windows Defender from your computer permanently.
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type gpedit.msc and click OK to open the Local Group Policy Editor.
Browse the following path:
Computer Configuration > Administrative Templates > Windows Components > Windows Defender
On the right, double-click Turn off Windows Defender.
- Select Enabled to disable Windows Defender.
- Click Apply.
- Click OK.
Once you complete the above steps, you will notice the Windows Defender shield icon will continue to run in the system tray. To get rid of the icon, simply restart your computer.
At any time, if you want to re-enable Windows Defender, you only need to follow the same steps, but this time, on step 5 select the option Not configured. Then restart your computer to complete reverting the changes.
How to disable Windows Defender Permanently using the Registry
If you're running Windows 10 Home, you won't have access to the Local Group Policy Editor, as it's only available for enterprise versions of the operating system. However, you can modify the registry to accomplish the same result.
- Use the Windows key + R keyboard shortcut to open the Run command, type regedit, and click OK to open the registry.
Browse the following path:
- If you don't see DWORD DisableAntiSpyware, right-click on an empty space, select New, and click on DWORD (32-bit) Value.
- Name the key DisableAntiSpyware.
- Restart your computer to complete the task.
At any time, if you want to re-enable Windows Defender, you only need to follow the same steps, but this time, change the value on step 5 from 1 to 0. Then restart your computer to complete reverting the changes.