All Processes
Tous les processus
Explanation
The MK Protocol Security Restriction policy setting reduces attack surface area by preventing the MK protocol. Resources hosted on the MK protocol will fail.
If you enable this policy setting, the MK Protocol is disabled for all processes. Any use of the MK Protocol is blocked.
If you disable or do not configure this policy setting, the MK Protocol is enabled.
Le paramètre de stratégie Restriction de sécurité du protocole MK réduit l’exposition aux attaques en empêchant l’utilisation du protocole MK. Cela se traduit par l’échec des ressources hébergées sur le protocole MK.
Si vous activez ce paramètre de stratégie, le protocole MK est désactivé pour tous les processus. Toute utilisation du protocole MK est bloquée.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le protocole MK est activé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOLHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOL- Value name
*
| State | Value written |
|---|---|
| Enabled | REG_SZ = 1 |
| Disabled | REG_SZ = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: inetres/IESF_PolicyAllProcesses_3
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOL'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '1' -Type StringDisable
# Disable: inetres/IESF_PolicyAllProcesses_3
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOL'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '0' -Type StringRevert to "Not configured"
# Revert to "Not configured": inetres/IESF_PolicyAllProcesses_3
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOL'
Remove-ItemProperty -Path $k -Name '`*' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"