5mo
Hey fediverse! At one point one of my followers posted a .reg file or script that added exclude this folder from Microsoft defender to the explorer context menu. But I’ve lost it. Can anyone help? boost okay @FreakyFwoof
2
14
3
0
User avatar
Jonathan @jonathan859@someplace.social
5mo
@fastfinge @FreakyFwoof This is the content of a bat file I saved, somewhen, from somewhere...

@echo off
reg add HKLM\SOFTWARE\Classes\Directory\shell\defender\ /ve /d "Exclude from Windows Defender" /f
reg add HKLM\SOFTWARE\Classes\Directory\shell\defender\Command /ve /d "powershell start-process powershell -argumentlist '-noprofile Add-MpPreference -ExclusionPath \"\"%%V\"\"' -verb runas" /f
reg add HKLM\SOFTWARE\Classes\*\shell\defender\ /ve /d "Exclude from Windows Defender" /f
reg add HKLM\SOFTWARE\Classes\*\shell\defender\Command /ve /d "powershell start-process powershell -argumentlist '-noprofile Add-MpPreference -ExclusionPath \"\"%%V\"\"' -verb runas" /f
exit
1
1
0
0
5mo
@jonathan859 @FreakyFwoof Thank you! I just walked out the door. Andre, could you test this and stick it somewhere for the world to have and enjoy if it works?
1
0
1
0
User avatar
Andre Louis @FreakyFwoof@universeodon.com
5mo
@fastfinge @jonathan859 Looks like it does, so appreciate that. www.dropbox.com/scl/fi/0fwhnhdrl83vfwwi4lkc7/exclusions.bat?rlkey=xx6u7enqe3fjpcudbyzuc107e&dl=1
1
1
1
0
User avatar
Jonathan Rodriguez @Jonathan@dragonscave.space
5mo
@FreakyFwoof @fastfinge @jonathan859 I think this is the original source? nashcentral.duckdns.org/projects/defender.bat
1
2
1
0
5mo
@Jonathan @FreakyFwoof @jonathan859 Yes! This is it.
0
0
0
0