Additional Script Updates
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Remediation Script: Remediate_DeviceGuard.ps1
|
||||
|
||||
# Enable Device Guard
|
||||
$regKey = "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard"
|
||||
Set-ItemProperty -Path $regKey -Name "EnableVirtualizationBasedSecurity" -Value 1
|
||||
Set-ItemProperty -Path $regKey -Name "RequirePlatformSecurityFeatures" -Value 1
|
||||
|
||||
Write-Output "Device Guard has been enabled."
|
||||
Reference in New Issue
Block a user