1,391 views +0 -0

Enable SEHOP

Ensure 'Enable Structured Exception Handling Overwrite Protection (SEHOP)' is set to 'Enabled'.

$RegistryPath = 'HKEY_LOCAL_MACHINE:SYSTEM\CurrentControlSet\Control\Session Manager\kernel' $Name = 'DisableExceptionChainValidation' $Value = '0'
If (-NOT (Test-Path $RegistryPath)) { New-Item -Path $RegistryPath -Force | Out-Null }
New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -PropertyType DWORD -Force