Skip to content

Instantly share code, notes, and snippets.

@mark-hallman
Created January 27, 2020 02:19
Show Gist options
  • Select an option

  • Save mark-hallman/101144eb1405f077e42381db845fa18c to your computer and use it in GitHub Desktop.

Select an option

Save mark-hallman/101144eb1405f077e42381db845fa18c to your computer and use it in GitHub Desktop.
This script will completely disbale Windows Defender including related Service.
Get-Item -Path "HKLM:\Software\Policies\Microsoft\Windows Defender\" | New-ItemProperty -Name DisableAntiSpyware -Value 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment