# Windows 10 – How to permanently disable Windows Defender

Windows 10 was released by Microsoft on July 29th of 2015. Even though several months has already passed, millions of users…

blog

30 Oct 2015 pl

![Windows 10 – How to permanently disable Windows Defender](/wp-content/uploads/2015/10/Windows-Defender-Disable-Permanently-in-Windows-10.jpg)

Windows 10 was released by Microsoft on July 29th of 2015. Even though several months has already passed, millions of users using it, it's not entirely prime time ready. One of the features that is pretty annoying is Windows Defender which seems to be incompatible with some applications (namely VPN) and causes CPU spikes up to 100% constantly. Fortunately there is a way to disable it.

### 💡 Solution

**Disabling Windows Defender** in **Windows 10** can be done from **GUI**, but the problem is it can be quickly restarted by some apps again. To **permanently disable** it's functionality one can add those simple registry entries.

To **disable**** built-in antivirus** simply save this code into file and run it, or go into **Registry Editor** and modify it manually.

```plain
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection]
"DisableBehaviorMonitoring"=dword:00000001
"DisableOnAccessProtection"=dword:00000001
"DisableScanOnRealtimeEnable"=dword:00000001
```

If you would like to revert those settings, simply delete those entries or save below entries into .REG file and run it again. It should cleanup the settings for you.

```plain
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
```

### 📝 Notes

Please note that **Windows Defender** is security software. Before **disabling** **it** be sure what you are doing.

## Powiązane projekty

Projekty powiązane z tagami, kategoriami i treścią tego wpisu.

[Wszystkie projekty](/projekty/)

Trwa dopasowywanie projektów...

[Powrót do bloga](/blog/)

## Powiązane wpisy

- [Check an API write after a PowerShell timeout](/blog/verify-uncertain-api-outcomes-powershell/)
- [Inspect and convert mixed Office archives with PSWriteOffice](/blog/inspect-and-convert-mixed-office-archives-pswriteoffice/)
- [Compose PDF reports and automate page workflows with PSWriteOffice](/blog/automate-pdf-reports-and-page-workflows-pswriteoffice/)

<!-- PowerForge markdown artifact sha256:8CE0635CCB6732094FE6E4CAC400519A8A2AF1FD83409F78D19F2EA743CA20CC -->
