en-US windows computer

Establish ActiveX installation policy for sites in Trusted zones

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows Vista

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\ActiveX Installer Service

Description

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.

Registry

HKLM SOFTWARE\Policies\Microsoft\Windows\AxInstaller\AxISURLZonePolicies

More options available

Options

Installation Policy for ActiveX control signed by trusted publisher
InstallTrustedOCX enum
  • Don't install -> 0
  • Prompt the user -> 1
  • Silently install -> 2 (default)
Installation Policy for signed ActiveX control
InstallSignedOCX enum
  • Don't install -> 0
  • Prompt the user -> 1 (default)
  • Silently install -> 2
Installation Policy for unsigned ActiveX control
InstallUnSignedOCX enum
  • Don't install -> 0 (default)
  • Prompt the user -> 1
Unknown certifcation authority (CA)
IgnoreUnknownCA boolean - default: 0
Invalid certificate name (CN)
IgnoreInvalidCN boolean - default: 0
Expired certificate validation date
IgnoreInvalidCertDate boolean - default: 0
Wrong certificate usage
IgnoreWrongCertUsage boolean - default: 0

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/ADMX_ActiveXInstallService/AxISURLZonePolicies
Device Since Windows 10, version 2004 with KB5005101 [10.0.19041.1202] and later | Windows 10, version 20H2 with KB5005101 [10.0.19042.1202] and later | Windows 10, version 21H1 with KB5005101 [10.0.19043.1202] and later | Windows 11, version 21H2 [10.0.22000] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Establish ActiveX installation policy for sites in Trusted zones
; State: Enabled
; Supported on: At least Windows Vista

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\AxISURLZonePolicies]
"InstallTrustedOCX"=dword:00000002
"InstallSignedOCX"=dword:00000001
"InstallUnSignedOCX"=dword:00000000
"IgnoreUnknownCA"=dword:00000000
"IgnoreInvalidCN"=dword:00000000
"IgnoreInvalidCertDate"=dword:00000000
"IgnoreWrongCertUsage"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Establish ActiveX installation policy for sites in Trusted zones
# State: Enabled
# Supported on: At least Windows Vista

$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\AxISURLZonePolicies'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'InstallTrustedOCX' -Value 2 -Type DWord
Set-ItemProperty -Path $path -Name 'InstallSignedOCX' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'InstallUnSignedOCX' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'IgnoreUnknownCA' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'IgnoreInvalidCN' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'IgnoreInvalidCertDate' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'IgnoreWrongCertUsage' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview