TechBuzzPro

How to Fully Disable Windows Security

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can fully disable Windows Security (formerly Windows Defender), but it is strongly discouraged for general use. Doing so removes real-time protection against malware, viruses, and ransomware, leaving your system vulnerable. This process is typically only necessary for advanced users running specific third-party antivirus software that conflicts with Windows Defender, or for testing purposes in isolated environments. Before proceeding, ensure you have an alternative security solution active or a clear reason for removing this critical layer of defense.

What You'll Need

  • A Windows PC running Windows 10 or Windows 11
  • Administrator privileges on the device
  • Patience, as some settings require registry edits or policy changes

Step-by-Step

  1. Turn off Real-time Protection: Open the Start menu and type "Windows Security". Click to open the app. In the left sidebar, select "Virus & threat protection". Under the "Virus & threat protection settings" section, click "Manage settings". Toggle the switch for "Real-time protection" to Off. Note: Windows may automatically turn this back on after a short period if no other antivirus is detected.
  2. Disable Cloud-delivered Protection: On the same "Manage settings" page, scroll down and toggle "Cloud-delivered protection" to Off. This prevents Windows from sending suspicious file samples to Microsoft for analysis.
  3. Turn off Automatic Sample Submission: Still within the "Manage settings" page, toggle "Automatic sample submission" to Off. This stops Windows from uploading potentially unwanted files to Microsoft.
  4. Disable Tamper Protection: Scroll further down the list until you see "Tamper protection". Toggle this switch to Off. This is crucial because Tamper Protection prevents third-party tools and scripts from changing security settings. If this is On, steps 6 and 7 may fail.
  5. Install Alternative Antivirus (Recommended): If you are disabling Windows Security to use another program, install and activate your preferred third-party antivirus now. Windows often requires a recognized competitor to keep its own protections disabled permanently.
  6. Edit Group Policy (For Pro/Enterprise Editions): Press Win + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Double-click "Turn off Microsoft Defender Antivirus". Select "Enabled", click "Apply", then "OK". This forces the system to keep Defender disabled at a policy level.
  7. Edit Registry (For Home Editions or Persistent Disabling): Press Win + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender. If the "Windows Defender" key does not exist, right-click the parent folder, select New > Key, and name it "Windows Defender". Inside this key, create a new DWORD (32-bit) Value named "DisableAntiSpyware". Double-click it and set the value data to "1". Restart your computer for changes to take effect.
  8. Verify Status: Return to the Windows Security app. The main dashboard should indicate that your PC is protected by another antivirus or show warnings about missing protection, confirming that Windows Defender is no longer active.

Common Mistakes

The most frequent error is forgetting to disable Tamper Protection before attempting to change other settings. Without turning off Tamper Protection first, Windows will reject any attempts to modify core security configurations via Group Policy or Registry. Another common mistake is assuming that turning off Real-time Protection is permanent; without additional steps like Group Policy or Registry edits, Windows will reactivate it automatically to protect the system. Users also often overlook the need to install an alternative antivirus; Windows is designed to detect the absence of third-party protection and will re-enable its own defenses to prevent the system from remaining exposed.

Tips

If you only need to disable protection temporarily for installing a specific application, simply toggling Real-time Protection in the Windows Security app is sufficient. It will revert automatically once the task is complete or after a reboot. For permanent disabling, always verify that your alternative security software is fully operational before completing the process. Keep in mind that menu labels may differ slightly between Windows 10 and Windows 11, though the logical paths remain similar. Always restart your computer after making Registry or Group Policy changes to ensure they apply correctly.

Troubleshooting

If Windows Security re-enables itself despite your changes, check that Tamper Protection was truly disabled. If it remains stubbornly active, try booting into Safe Mode and performing the Registry edit again. Ensure that your Group Policy editor is accessible; if you are using Windows Home Edition, gpedit.msc is not available by default, so rely solely on the Registry method. If the Registry key cannot be created due to permission errors, run the Registry Editor as Administrator by right-clicking the icon and selecting "Run as administrator". If all else fails, consider resetting the Group Policy cache by opening Command Prompt as Admin and running gpupdate /force, followed by a restart.

Frequently Asked Questions

Is it safe to disable Windows Security?

No, it is not safe unless you have an alternative antivirus actively running. Leaving Windows without any protection exposes it to immediate threats from malware and ransomware.

Will Windows Defender come back on its own?

Yes, if you only toggle the settings manually, Windows will likely re-enable them after a short period or upon reboot. Permanent disabling requires Registry or Group Policy changes.

Can I disable Windows Security on Windows 11?

Yes, the process is nearly identical to Windows 10. The main difference is the visual interface of the Settings app, but the underlying options and Registry paths remain the same.

Does disabling Windows Security affect performance?

Disabling it may free up minor system resources, but modern antivirus software is highly optimized. The performance gain is negligible compared to the security risk involved.

How do I re-enable Windows Security?

To re-enable it, reverse the Registry change by setting "DisableAntiSpyware" to "0" or deleting the key. Remove any third-party antivirus, then go to Windows Security settings and turn Real-time Protection back on.