Allow loading of XPS files
Autoriser le chargement des fichiers XPS
Explanation
This policy setting allows you to manage the loading of XPS files. These files contain a fixed-layout representation of paginated content and are portable across platforms, devices, and applications.
If you enable this policy setting and set the drop-down box to Enable, XPS files are automatically loaded inside Internet Explorer. The user cannot change this behavior. If you set the drop-down box to Prompt, the user is prompted for loading XPS files.
If you disable this policy setting, XPS files are not loaded inside Internet Explorer. The user cannot change this behavior.
If you do not configure this policy setting, the user can decide whether to load XPS files inside Internet Explorer.
Ce paramètre de stratégie vous permet de gérer le chargement des fichiers XPS. Ces fichiers contiennent une représentation à mise en page fixe du contenu paginé et sont portables sur de multiples plateformes, périphériques et applications.
Si vous activez ce paramètre de stratégie et si vous affectez la valeur Activer à la zone de liste déroulante, les fichiers XPS sont automatiquement chargés dans Internet Explorer. L’utilisateur ne peut pas modifier ce comportement. Si vous affectez la valeur Demander à la zone de liste déroulante, l’utilisateur est invité à confirmer le chargement des fichiers XPS.
Si vous désactivez ce paramètre de stratégie, les fichiers XPS ne sont pas chargés dans Internet Explorer. L’utilisateur ne peut pas modifier ce comportement.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur est libre de charger ou non les fichiers XPS dans Internet Explorer.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\3HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\3- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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/IZ_Policy_XPS_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\3'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# XPS documents
# Possible options:
# Enable = 0
# Disable = 3
# Prompt = 1
Set-ItemProperty -Path $k -Name '2401' -Value 0 -Type DWordDisable
# Disable: inetres/IZ_Policy_XPS_2
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_Policy_XPS_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\3'
Remove-ItemProperty -Path $k -Name '2401' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| XPS documentsDocuments XPSIZ_Partname2401 | Drop-down listenum | 2401 | REG_DWORD | Required · Default choice (UI): #0
|