Update install-redteam.ps1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user