Select a product
- Select a category.
Show file save warnings
Indicates whether a warning message is displayed when you save files that contain errors such as invalid XML code.
Registry Information
| Vendor | Microsoft |
|---|---|
| Product | Microsoft Visio 2016 |
| Category | Microsoft Visio 2016 › Visio Options › Advanced › Save/Open |
| Applies to | User Configuration |
| Supported on | Windows7 |
| Registry Key | [HKCU]softwarepoliciesmicrosoftoffice16.0visioapplication |
| Value Name | showxmlsavewarnings |
| Type | REG_SZ |
| Enabled value | 1 |
| Disabled value | 0 |
Registry File (.reg)
Windows Registry Editor Version 5.00
; Enable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0visioapplication]
"showxmlsavewarnings"="1"
; Disable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0visioapplication]
"showxmlsavewarnings"="0"PowerShell
# Enable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0visioapplication" -Name "showxmlsavewarnings" -Value "1" -Type String
# Disable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0visioapplication" -Name "showxmlsavewarnings" -Value "0" -Type String