fr-FR office user

Block loading of COM/VSTO add-ins registered in HKCU

Vérifié avec Microsoft 365/Office 5568.1000 — mis à jour le 10 juillet 2026 Pris en charge sur : Au moins Windows Server 2016, Windows 10

Microsoft 365/Office 5568.1000

Chemin dans la console GPO

Configuration utilisateur\Modèles d'administration\Microsoft Office 2016\Paramètres de sécurité

Registre

HKCU software\policies\microsoft\office\16.0\common\security
Nom de valeur :
restrictcucomaddin REG_DWORD
Activé :
1
Désactivé :
0

Description

This policy setting controls whether COM/VSTO add-ins registered only in HKEY_CURRENT_USER (HKCU) are blocked from loading. Standard users can install add-ins through ClickOnce deployment or the Office Add-ins settings, which typically register add-ins in HKCU rather than HKEY_LOCAL_MACHINE (HKLM). If you enable this policy setting, all COM/VSTO add-ins registered only in HKCU will be blocked from loading, preventing users from running add-ins they have installed without administrator privileges. If you disable or don't configure this policy setting, COM/VSTO add-ins registered in HKCU are allowed to load normally. Note: Add-ins registered in HKLM (typically installed by administrators) are not affected by this policy setting.

Générateur d'exports

BETA

Configurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.

Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ

Fichier .reg

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Block loading of COM/VSTO add-ins registered in HKCU
; State: Enabled
; Supported on: Au moins Windows Server 2016, Windows 10

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security]
"restrictcucomaddin"=dword:00000001
Autres formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Block loading of COM/VSTO add-ins registered in HKCU
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\software\policies\microsoft\office\16.0\common\security'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'restrictcucomaddin' -Value 1 -Type DWord

Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).

Ouvrir le Builder

Intégrer cette GPO sur votre site

Contenu à intégrer
Thème

Ajoute une ligne de script : le thème suit l’apparence de votre site et la hauteur s’ajuste au contenu. Si votre site bloque les scripts, l’intégration suit le thème du système du visiteur.

Aperçu