Windows

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 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.

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

[wpdm_package id='5141′]

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.

Windows Registry Editor Version 5.00

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

[wpdm_package id='5143′]

Notes

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

This post was last modified on 20 marca, 2016 12:24

Przemyslaw Klys

System Architect with over 14 years of experience in the IT field. Skilled, among others, in Active Directory, Microsoft Exchange and Office 365. Profoundly interested in PowerShell. Software geek.

Share
Published by
Przemyslaw Klys

Recent Posts

Active Directory Replication Summary to your Email or Microsoft Teams

Active Directory replication is a critical process that ensures the consistent and up-to-date state of…

2 tygodnie ago

Syncing Global Address List (GAL) to personal contacts and between Office 365 tenants with PowerShell

Hey there! Today, I wanted to introduce you to one of the small but excellent…

5 miesięcy ago

Active Directory Health Check using Microsoft Entra Connect Health Service

Active Directory (AD) is crucial in managing identities and resources within an organization. Ensuring its…

7 miesięcy ago

Seamless HTML Report Creation: Harness the Power of Markdown with PSWriteHTML PowerShell Module

In today's digital age, the ability to create compelling and informative HTML reports and documents…

8 miesięcy ago

How to Efficiently Remove Comments from Your PowerShell Script

As part of my daily development, I create lots of code that I subsequently comment…

8 miesięcy ago

Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects

Today I saw an article from Christian Ritter, "PowerShell: Creating an "empty" PSCustomObject" on X…

9 miesięcy ago