Enable protection for speculative execution side-channel vulnerabilities

Adds the required registry keys to enable the mitigations on the target computer.
Requires the relevant Microsoft patch installed on the target computer.
For more inforrmation: https://support.microsoft.com/en-us/help/4072698
Version 2.2.15
Created on 2018-01-04
Modified on 2018-01-11
Created by Rotem Agmon
Downloads: 74

The Script Copy Script Copied to clipboard
powershell.exe -Command "Set-ItemProperty -Path Registry::'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management' -Name FeatureSettingsOverride -Value 0"
powershell.exe -Command "Set-ItemProperty -Path Registry::'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management' -Name FeatureSettingsOverrideMask -Value 3"
powershell.exe -Command "Set-ItemProperty -Path Registry::'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization' -Name MinVmVersionForCpuBasedMitigations -Value '1.0'"