mirror of
https://github.com/microsoft/WSL.git
synced 2026-04-11 01:27:50 -05:00
* Configure defender process exceptions when running tests * Use explicit %ls * Save state * Save state * Add exceptions before the package is installed * Remove extra call
11 lines
555 B
Batchfile
11 lines
555 B
Batchfile
@echo off
|
|
|
|
rem Required to make cloudtest use our version of taef
|
|
setx /M CloudTestWorkerCustomTaefExe "%1\taef\te.exe"
|
|
|
|
mkdir %2\WexLogFileOutput
|
|
mklink /D %1\WexLogFileOutput %2\WexLogFileOutput
|
|
|
|
rem These need to run before the package is installed
|
|
powershell -NoProfile -Command "Add-MpPreference -ExclusionPath 'C:\Program Files\WSL'"
|
|
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')" |