TLDRBins TLDRBins / Windows Defender


Usage Tips:

  • Click on a keyword to enable inline editing.
  • Click inside a code block to copy (excludes comments).
  • Use the button to view examples.
  • Click outside to collapse all examples.

Check Exclusion Path

.\SharpExclusionFinder.exe '<PATH>'
Sample Output: TO-DO

Ref: SharpExclusionFinder

Add Exclusion Path

Add-MpPreference -ExclusionPath '<PATH>'
Sample Output: TO-DO

Disable Defender

# Disable realtime monitoring Set-MpPreference -DisableRealtimeMonitoring $true
Sample Output: TO-DO
# Completely disable defender New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender" -Name DisableAntiSpyware -Value 1 -PropertyType DWORD -Force
Sample Output: TO-DO