Open in the explorer

Establish ActiveX installation policy for sites in Trusted zones

Définir la stratégie d’installation ActiveX pour les sites faisant partie des zones de confiance

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › ActiveX Installer Service FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Service d’installation ActiveX
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
ActiveXInstallService.admx
Internal name
ActiveXInstallService/AxISURLZonePolicies

Explanation

This policy setting controls the installation of ActiveX controls for sites in Trusted zone.

If you enable this policy setting, ActiveX controls are installed according to the settings defined by this policy setting.

If you disable or do not configure this policy setting, ActiveX controls prompt the user before installation.

If the trusted site uses the HTTPS protocol, this policy setting can also control how ActiveX Installer Service responds to certificate errors. By default all HTTPS connections must supply a server certificate that passes all validation criteria. If you are aware that a trusted site has a certificate error but you want to trust it anyway you can select the certificate errors that you want to ignore.

Note: This policy setting applies to all sites in Trusted zones.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de gérer l’installation des contrôles ActiveX pour les sites qui figurent dans une zone de confiance.

Si vous activez ce paramètre de stratégie, les contrôles ActiveX sont installés selon le paramétrage défini par ce paramètre de stratégie.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les contrôles ActiveX demandent confirmation à l’utilisateur avant l’installation.

Si le site de confiance utilise le protocole HTTPS, ce paramètre de stratégie permet également de contrôler la façon dont le service d’installation ActiveX répond aux erreurs de certificat. Par défaut, toutes les connexions HTTPS doivent fournir un certificat de serveur répondant à tous les critères de validation. Si vous savez qu’un site de confiance présente une erreur de certificat mais que vous voulez tout de même l’approuver, vous pouvez sélectionner les erreurs de certificat que vous souhaitez ignorer.

Remarque : ce paramètre de stratégie s’applique à tous les sites figurant dans des zones de confiance.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\AxISURLZonePolicies
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: ActiveXInstallService/AxISURLZonePolicies
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\AxISURLZonePolicies'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Installation Policy for ActiveX control signed by trusted publisher
# Possible options:
#   Don't install = 0
#   Prompt the user = 1
#   Silently install = 2
Set-ItemProperty -Path $k -Name 'InstallTrustedOCX' -Value 2 -Type DWord
# Installation Policy for signed ActiveX control
# Possible options:
#   Don't install = 0
#   Prompt the user = 1
#   Silently install = 2
Set-ItemProperty -Path $k -Name 'InstallSignedOCX' -Value 1 -Type DWord
# Installation Policy for unsigned ActiveX control
# Possible options:
#   Don't install = 0
#   Prompt the user = 1
Set-ItemProperty -Path $k -Name 'InstallUnSignedOCX' -Value 0 -Type DWord
# Unknown certifcation authority (CA)
# unchecked: 0
Set-ItemProperty -Path $k -Name 'IgnoreUnknownCA' -Value 1 -Type DWord
# Invalid certificate name (CN)
# unchecked: 0
Set-ItemProperty -Path $k -Name 'IgnoreInvalidCN' -Value 1 -Type DWord
# Expired certificate validation date
# unchecked: 0
Set-ItemProperty -Path $k -Name 'IgnoreInvalidCertDate' -Value 1 -Type DWord
# Wrong certificate usage
# unchecked: 0
Set-ItemProperty -Path $k -Name 'IgnoreWrongCertUsage' -Value 1 -Type DWord

Disable

# Disable: ActiveXInstallService/AxISURLZonePolicies
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": ActiveXInstallService/AxISURLZonePolicies
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\AxISURLZonePolicies'
Remove-ItemProperty -Path $k -Name 'InstallTrustedOCX' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'InstallSignedOCX' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'InstallUnSignedOCX' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IgnoreUnknownCA' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IgnoreInvalidCN' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IgnoreInvalidCertDate' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IgnoreWrongCertUsage' -ErrorAction SilentlyContinue

Options (7)

LabelControlRegistry valueREG typeConstraints / details
Installation Policy for ActiveX control signed by trusted publisherStratégie d’installation des contrôles ActiveX signés par un éditeur approuvéInstallTrustedOCXDrop-down listenumInstallTrustedOCXREG_DWORD
Required · Default choice (UI): #2
LabelValue
Don't installREG_DWORD = 0
Prompt the userREG_DWORD = 1
Silently installREG_DWORD = 2
Installation Policy for signed ActiveX controlStratégie d’installation des contrôles ActiveX signésInstallSignedOCXDrop-down listenumInstallSignedOCXREG_DWORD
Required · Default choice (UI): #1
LabelValue
Don't installREG_DWORD = 0
Prompt the userREG_DWORD = 1
Silently installREG_DWORD = 2
Installation Policy for unsigned ActiveX controlStratégie d’installation des contrôles ActiveX non signésInstallUnSignedOCXDrop-down listenumInstallUnSignedOCXREG_DWORD
Required · Default choice (UI): #0
LabelValue
Don't installREG_DWORD = 0
Prompt the userREG_DWORD = 1
Unknown certifcation authority (CA)Autorité de certification inconnueIgnoreUnknownCACheck boxbooleanIgnoreUnknownCAREG_DWORD
Default (UI): false
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Invalid certificate name (CN)Nom de certificat non valideIgnoreInvalidCNCheck boxbooleanIgnoreInvalidCNREG_DWORD
Default (UI): false
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Expired certificate validation dateDate de validation du certificat expiréeIgnoreInvalidCertDateCheck boxbooleanIgnoreInvalidCertDateREG_DWORD
Default (UI): false
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Wrong certificate usageUtilisation incorrecte du certificatIgnoreWrongCertUsageCheck boxbooleanIgnoreWrongCertUsageREG_DWORD
Default (UI): false
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0

Availability