Visio 5.0 or earlier Binary Drawings, Templates and Stencils
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy setting allows you to determine whether users can open or save Visio files with the format specified by the title of this policy setting.
If you enable this policy setting, you can specify whether users can open or save files.
The options that can be selected are below. Note: Not all options may be available for this policy setting.
- Do not block: The file type will not be blocked.
- Save blocked: Saving of the file type will be blocked.
- Open/Save blocked: Both opening and saving of the file type will be blocked.
If you disable or do not configure this policy setting, the file type will be blocked.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\security\fileblock- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : visio16/L_Visio50AndEarlierFiles
$k = 'HKCU:\software\policies\microsoft\office\16.0\visio\security\fileblock'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# File block setting
# Options possibles :
# Do not block = 0
# Open/Save blocked = 2
Set-ItemProperty -Path $k -Name 'visio50andearlierfiles' -Value 2 -Type DWordDésactiver
# Désactiver : visio16/L_Visio50AndEarlierFiles
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : visio16/L_Visio50AndEarlierFiles
$k = 'HKCU:\software\policies\microsoft\office\16.0\visio\security\fileblock'
Remove-ItemProperty -Path $k -Name 'visio50andearlierfiles' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| File block setting:L_Visio50AndEarlierFilesDropID | Liste déroulanteenum | visio50andearlierfiles | REG_DWORD | Choix par défaut (interface) : n° 1
|
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.