Windows Defender - Add exclusion folder programmatically

后端 未结 5 2065
醉梦人生
醉梦人生 2021-01-31 11:56

I was checking out different keyloggers for research purposes and stumbled upon Refog:

https://www.refog.com/keylogger/

This program could catch a lot of system

5条回答
  •  情话喂你
    2021-01-31 12:39

    Run in elevated shell (search cmd in Start menu and hit Ctrl+Shift+Enter).

    powershell -Command Add-MpPreference -ExclusionPath "C:\tmp"
    powershell -Command Add-MpPreference -ExclusionProcess "java.exe"
    powershell -Command Add-MpPreference -ExclusionExtension ".java"
    
    powershell -Command Remove-MpPreference -ExclusionExtension ".java"
    
    • Add an exclusion to Windows Security
    • Modifies settings for Windows Defender from PowerShell
    • Removes exclusions or default actions

提交回复
热议问题