Turn off Windows Defender With Registry Key


The Windows Defender is antispyware software that runs by default with Security Centre. Defender alerts you when spyware or potentially unwanted software attempts to install itself or to run on your computer.

To prevent Defender from scanning for spyware or other potentially unwanted software, turn the utility off.

For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. If the subkey “Windows Defender” does not exist, create it as explained below. Then, create a string value “DisableAntiSpyware” in the right panel, and change the value to “1”.

However, if you want to get Windows Defender back in running mode, delete the subkey “Windows Defender”.

The changes take effect after a restart or logoff.


Turn off Windows Defender.reg

The '.reg' file will turn off Windows Defender.

Turn on Windows Defender(Default).reg

The '.reg' file will turn on Windows Defender.

Key Type :

Local Machine

Value Name :

Windows Defender

Data Type :


Enabled Value :


Disabled value :


Other value :


Value Action :

Add an Entry

Apply registry settings according below given steps of screenshots with related changes.

Windows Defender utility is turned off.

Windows Defender utility is turned on by default.

First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type 'regedit'.

Second, go to [HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoft] and create a new key as 'Windows Defender'.

Next, create a new DWORD value as 'DisableAntiSpyware' under the key 'Windows Defender'.

Now, right click on the DWORD value 'DisableAntiSpyware' and select 'Modify'.

Finally set the value data as '1' and click 'OK' to turn off Windows Defender.

05/01/2017 14:37:39