Allow local activation security check exemptions
Autoriser les exemptions locales de vérification de la sécurité à l’activation
Explanation
Allows you to specify that local computer administrators can supplement the "Define Activation Security Check exemptions" list.
If you enable this policy setting, and DCOM does not find an explicit entry for a DCOM server application id (appid) in the "Define Activation Security Check exemptions" policy (if enabled), DCOM will look for an entry in the locally configured list.
If you disable this policy setting, DCOM will not look in the locally configured DCOM activation security check exemption list.
If you do not configure this policy setting, DCOM will only look in the locally configured exemption list if the "Define Activation Security Check exemptions" policy is not configured.
Vous permet d’indiquer que les administrateurs d’ordinateurs locaux peuvent modifier la liste Définir les exemptions de vérification de la sécurité à l’activation.
Si vous activez ce paramètre de stratégie et si DCOM ne trouve aucune entrée explicite d’identificateur d’application serveur DCOM (AppId) dans la stratégie Définir les exemptions de vérification de la sécurité à l’activation (si celle-ci est activée), DCOM recherche une entrée dans la liste configurée localement.
Si vous désactivez ce paramètre de stratégie, DCOM n’interroge pas la liste d’exemptions DCOM locale.
Si vous ne configurez pas ce paramètre de stratégie, DCOM n’interroge la liste d’exemptions locale que si la stratégie Définir les exemptions de vérification de la sécurité à l’activation n’est pas configurée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DCOM\AppCompat- Value name
AllowLocalActivationSecurityCheckExemptionList
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 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.
Enable
# Enable: DCOM/DCOMActivationSecurityCheckAllowLocalList
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DCOM\AppCompat'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowLocalActivationSecurityCheckExemptionList' -Value 1 -Type DWordDisable
# Disable: DCOM/DCOMActivationSecurityCheckAllowLocalList
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DCOM\AppCompat'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowLocalActivationSecurityCheckExemptionList' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": DCOM/DCOMActivationSecurityCheckAllowLocalList
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DCOM\AppCompat'
Remove-ItemProperty -Path $k -Name 'AllowLocalActivationSecurityCheckExemptionList' -ErrorAction SilentlyContinue