Exclude the start menu folder from defender (#40670)
Blue committed
May 29, 2026 at 15:44 UTC
83db4a8a020afb52de20ac49ea6e71b1765a531a
1 file changed
+1
tools/test/CloudTest-Setup.bat
+1
@@ -8,4 +8,5 @@ mklink /D %1\WexLogFileOutput %2\WexLogFileOutput
8
9
rem These need to run before the package is installed
10
powershell -NoProfile -Command "Add-MpPreference -ExclusionPath 'C:\Program Files\WSL'"
11
+powershell -NoProfile -Command "Add-MpPreference -ExclusionPath \"%appdata%\Microsoft\Windows\Start Menu\""
12
powershell -NoProfile -Command "Add-MpPreference -ExclusionProcess @('wsl.exe', 'wslg.exe', 'wslconfig.exe', 'wslrelay.exe', 'wslhost.exe', 'msrdc.exe', 'wslservice.exe', 'msal.wsl.proxy.exe', 'te.processhost.exe')"
\ No newline at end of file