mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
11 lines
331 B
PowerShell
11 lines
331 B
PowerShell
#Requires -RunAsAdministrator
|
|||
|
|
|
||
|
|
$ErrorActionPreference = 'Stop'
|
||
|
|
|
||
|
|
Update-MpSignature
|
||
|
|
|
||
|
|
Set-MpPreference -DisableRealtimeMonitoring $false
|
||
|
|
Set-MpPreference -DisableBehaviorMonitoring $false
|
||
|
|
Set-MpPreference -PUAProtection Enabled
|
||
|
|
Set-MpPreference -EnableControlledFolderAccess Enabled
|
||
|
|
Set-MpPreference -EnableNetworkProtection Enabled
|