Method 1: Registry Editor (Applies to all versions of Windows 10) Press Win + R to open the "Run" dialog, type regedit, and press Enter. In the Registry Editor window, navigate to the following key: If the Windows Defender key does not exist, you will need to create it. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Right-click on the Windows Defender key, select "New -> DWORD (32-bit) Value," and name it DisableAntiSpyware. Double-click on DisableAntiSpyware, set the "Value data" to 1, and click OK. Close the Registry Editor and restart your computer.