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? #windows#win11 boost okay @FreakyFwoof
Andre Louis reshared this.
Jonathan
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •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
🇨🇦Samuel Proulx🇨🇦
in reply to Jonathan • • •Andre Louis
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦 likes this.
🇨🇦Samuel Proulx🇨🇦 reshared this.
Jonathan Rodriguez
in reply to Andre Louis • • •🇨🇦Samuel Proulx🇨🇦 likes this.
🇨🇦Samuel Proulx🇨🇦 reshared this.
🇨🇦Samuel Proulx🇨🇦
in reply to Jonathan Rodriguez • • •Jay Pellis
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to Jay Pellis • • •