Visio 5.0 or earlier Binary Drawings, Templates and Stencils: registry value visio50andearlierfilesUserHKCU\software\policies\microsoft\office\16.0\visio\security\fileblock
- Policy ID
- L_Visio50AndEarlierFiles
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Visio 2016 › Visio Options › Security › Trust Center › File Block Settings
Registry
visio50andearlierfiles
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- File block setting:
| Item | Stored value |
|---|---|
| Do not block | 0 |
| Open/Save blocked | 2 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\security\fileblock] ; Options (use only one) ; Do not block "visio50andearlierfiles"=dword:00000000 ; Open/Save blocked "visio50andearlierfiles"=dword:00000002
CMD
:: Options (use only one) :: Do not block reg add "HKCU\software\policies\microsoft\office\16.0\visio\security\fileblock" /v "visio50andearlierfiles" /t REG_DWORD /d 0 /f :: Open/Save blocked reg add "HKCU\software\policies\microsoft\office\16.0\visio\security\fileblock" /v "visio50andearlierfiles" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\security\fileblock' -Force | Out-Null # Options (use only one) # Do not block New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\security\fileblock' -Name 'visio50andearlierfiles' -PropertyType DWord -Value 0 -Force | Out-Null # Open/Save blocked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\visio\security\fileblock' -Name 'visio50andearlierfiles' -PropertyType DWord -Value 2 -Force | Out-Null