From ca515405a5221ad2d16c55ebbc3bd297441bf748 Mon Sep 17 00:00:00 2001 From: Chris Long Date: Sun, 10 May 2020 12:51:32 -0700 Subject: [PATCH] Update install-redteam.ps1 --- Vagrant/scripts/install-redteam.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrant/scripts/install-redteam.ps1 b/Vagrant/scripts/install-redteam.ps1 index b26ce34..4399c20 100644 --- a/Vagrant/scripts/install-redteam.ps1 +++ b/Vagrant/scripts/install-redteam.ps1 @@ -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