Update install-redteam.ps1

This commit is contained in:
Chris Long
2020-05-10 12:51:32 -07:00
committed by GitHub
parent bb134623b6
commit ca515405a5

View File

@@ -8,7 +8,7 @@ If ($hostname -eq "win10") {
# Adding Defender exclusions just in case
Set-MpPreference -ExclusionPath "C:\Tools"
Add-MpPreference -ExclusionPath "C:\Users\vagrant\AppData\Local\Temp"
Add-MpPreference -DisableRealtimeMonitoring $true
Set-MpPreference -DisableRealtimeMonitoring $true
}
# Windows Defender should be disabled already by the GPO, sometimes it doesnt work