How to Turn Off Windows Defender (Temporarily and Permanently)

Holly Hunt Holly Hunt  |  January 14, 2020

Is your Windows Defender security driving you crazy as you try to Google harmless things?

You're not alone. Windows Defender is free with Windows 10 and it's meant to be a useful tool that prevents malware and harm coming to your device. But it can be a little too protective, like an overbearing parent peering over your shoulder and asking "what's that?" every time you look at a new page.

If Windows Defender is slowing down your productivity at work, it might be time to turn it off.

How to turn off Windows Defender

There are easy methods to turn off Windows Defender temporarily or "permanently" — although it's not truly permanent because you can manually turn it back on whenever you wish. Let's get into each method, and you can choose the one that works best for you!

TIP: Interested in a different security solution? Check out the firewall software that you can choose from — an

See the Highest-Rated Firewall Software, Free →

Turn off Windows Defender using the Security Center

Using the Security Center will disable Windows Defender temporarily. This means that if your computer appears to be at risk, Windows Defender can turn itself back on automatically.

1. Click on your Windows Start menu

It's the Windows logo located in the bottom left of your screen.

2. Select 'Settings'

It's the gear icon in the menu that appears.


3. Click 'Update & Security'

In the new window that pops up, select 'Update & Security.' It's the bottom left option.


4. Select 'Windows Security'

In the sidebar that appears on the right, click on the second option.


5. Choose 'Virus & threat protection'

In the new menu that appears, select the first option under Protection areas.


6. Click 'Virus & threat protection settings'

A new window will appear. Click on 'Virus & threat protection settings.'


7. Turn Real-time protection 'Off'

You'll notice a toggle button under 'Real-time protection,' the first thing on that page. Click on it so it now says 'Off.'


You've successfully turned off Windows Defender!

Turn off Windows Defender using registry

If you're looking for a more permanent solution to that pesky Windows Defender, use your registry. This will shut Windows Defender off for good until you manually turn it back on again.

Note: Tread lightly when poking around the registry. A wrong edit to the registry can cause irreversible damage to your system. Back-up your information before continuing down this path.

1. Open the registry

Open the Run command using the keyboard shortcut: Windows key + R. Type in "regedit" and click 'OK.'


A pop-up window may appear asking if you want to allow this app to make changes to your device. Click 'Yes.'

2. Browse the below path

Copy and paste the below address path into the search bar at the top of the window and hit enter:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

3. Right-click on Windows Defender folder, select 'New' on the drop-down menu and choose 'DWORD (32-bit) Value'

Only do this if you do not see DisableAntiSpyware in the folder. If you do see it, you can skip to step 5.


4. Name it DisableAntiSpyware and hit Enter

A new item will appear in the folder, with the text highlighted. Delete out the current text and type in 'DisableAntiSpyware.' Then press Enter. The item should now be saved in the folder.


5. Double click DisableAntiSpyware and change '0' to '1'

Double-click on the new DisableAntiSpyware item. A window will pop-up to edit the DWORD. In the 'Value data' field, enter '1.' Click 'OK.'


6. Restart your device

Restart your Windows device to install the new edits. Your Windows Defender should now be permanently disabled.

Note: If you do want to turn on Windows Defender in the future, follow steps 1-2, and then right-click on 'DeleteAntiSpyware' and select 'Delete.' A warning will appear — click 'Yes.' Restart your computer. Windows Defender should now be turned back on.

You have disabled Windows Defender!

Now you can peruse the web without any interruptions. However, make sure you do proceed carefully because, despite its sometimes obnoxious, over-protective behavior, Windows Defender was protecting you. Without it, you only have yourself to depend upon.


Holly Hunt

Holly is a team lead on the content marketing team. An avid reader and writer, Holly graduated from the University of Missouri with a dual major in Journalism and English. Prior to joining G2, she lived in Madison, WI, ate a horrifying amount of cheese curds, and then found her way to Chicago for a content writing gig. (she/her/hers)

Never miss a post.

Subscribe to keep your fingers on the tech pulse.

By submitting this form, you are agreeing to receive marketing communications from G2.