Jump to content

SCRIPT TO DISABLE WINDOWS DEFENDER AV


MakoLogics

Recommended Posts

Hello I keep getting a ton of alerts daily for Windows Defender, they show up as important updates. I run the Web Root AV on all my clients so I would love a script to disable Windows Defender on all machines. It would take for ever to do hundreds of machines manually.

 

Thank you.

Link to comment
Share on other sites

  • 1 month later...

The best way to perform this is through Group Policy, but the following commands will perform the same:

Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DDisableOnAccessProtection /t REG_DWORD /d 1 /f
Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableScanOnRealtimeEnable /t REG_DWORD /d 1 /f

 

 

Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...