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
@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
Jonathan Rodriguez @Jonathan@dragonscave.space
5mo
1
2
1
0
User avatar
Jay Pellis @jpellis2008@dragonscave.space
5mo
@fastfinge @FreakyFwoof I would love the same.
1
0
1
0
@jpellis2008 @FreakyFwoof Check the thread. It was found. :-)
0
0
0
0