Specify use of ActiveX Installer Service for installation of ActiveX controls
Spécifier l’utilisation du service de l’installateur ActiveX pour l’installation des contrôles ActiveX
Explanation
This policy setting allows you to specify how ActiveX controls are installed.
If you enable this policy setting, ActiveX controls are installed only if the ActiveX Installer Service is present and has been configured to allow the installation of ActiveX controls.
If you disable or do not configure this policy setting, ActiveX controls, including per-user controls, are installed through the standard installation process.
Ce paramètre de stratégie vous permet de spécifier la façon dont les contrôles ActiveX sont installés.
Si vous activez ce paramètre de stratégie, les contrôles ActiveX sont installés uniquement si le service de l’installateur ActiveX est présent et s’il a été configuré pour permettre l’installation des contrôles ActiveX.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les contrôles ActiveX, y compris les contrôles par utilisateur, sont installés via le processus d’installation standard.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AxInstallerHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\AxInstaller- Value name
OnlyUseAXISForActiveXInstall
| 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.
Computer (HKLM)
Enable
# Enable: inetres/OnlyUseAXISForActiveXInstall
$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 'OnlyUseAXISForActiveXInstall' -Value 1 -Type DWordDisable
# Disable: inetres/OnlyUseAXISForActiveXInstall
$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 'OnlyUseAXISForActiveXInstall' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/OnlyUseAXISForActiveXInstall
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AxInstaller'
Remove-ItemProperty -Path $k -Name 'OnlyUseAXISForActiveXInstall' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"