Open in the explorer

Approved Installation Sites for ActiveX Controls

Sites d’installation approuvés pour les contrôles ActiveX

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/ApprovedActiveXInstallSites

Explanation

This policy setting determines which ActiveX installation sites standard users in your organization can use to install ActiveX controls on their computers. When this setting is enabled, the administrator can create a list of approved Activex Install sites specified by host URL.

If you enable this setting, the administrator can create a list of approved ActiveX Install sites specified by host URL.

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

Note: Wild card characters cannot be used when specifying the host URLs.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine quels sites d’installation ActiveX les utilisateurs standard de votre organisation peuvent utiliser pour installer des contrôles ActiveX sur leur ordinateur. Lorsque ce paramètre est activé, l’administrateur peut créer une liste des sites d’installation ActiveX approuvés spécifiés par l’URL hôte.

Si vous activez ce paramètre, l’administrateur peut créer une liste des sites d’installation ActiveX approuvés spécifiés par l’URL hôte.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les contrôles ActiveX invitent l’utilisateur à spécifier des informations d’identification d’administration avant l’installation.

Remarque : vous ne pouvez pas utiliser de caractères génériques pour indiquer des URL hôtes.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AxInstaller
Value name
ApprovedList
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: ActiveXInstallService/ApprovedActiveXInstallSites
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ApprovedList' -Value 1 -Type DWord
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\ApprovedActiveXInstallSites'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Host URLs
$items = @{
    '<name1>' = '<value1>'
    '<name2>' = '<value2>'
}  # Replace the values with your own
$items.GetEnumerator() | ForEach-Object { Set-ItemProperty -Path $k -Name $_.Key -Value $_.Value -Type String }

Disable

# Disable: ActiveXInstallService/ApprovedActiveXInstallSites
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ApprovedList' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": ActiveXInstallService/ApprovedActiveXInstallSites
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller'
Remove-ItemProperty -Path $k -Name 'ApprovedList' -ErrorAction SilentlyContinue
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AxInstaller\ApprovedActiveXInstallSites'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Host URLsURL hôtesApprovedActiveXInstallSiteslistList (table)listSOFTWARE\Policies\Microsoft\Windows\AxInstaller\ApprovedActiveXInstallSitesName = value pairs · additiveREG_SZ (values under the key)

Availability