Open in the explorer

Allow loading of XAML files

Autoriser le chargement des fichiers XAML

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page › Intranet Zone User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page › Intranet Zone FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité › Zone intranetFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité › Zone intranet
Supported on
At least Internet Explorer 7.0 FR: Au moins Internet Explorer 7.0
ADMX file
inetres.admx
Internal name
inetres/IZ_Policy_XAML_3

Explanation

This policy setting allows you to manage the loading of Extensible Application Markup Language (XAML) files. XAML is an XML-based declarative markup language commonly used for creating rich user interfaces and graphics that take advantage of the Windows Presentation Foundation.

If you enable this policy setting and set the drop-down box to Enable, XAML 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 XAML files.

If you disable this policy setting, XAML 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 XAML files inside Internet Explorer.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de gérer le chargement des fichiers XAML (Extensible Application Markup Language). Le langage XAML est un langage de balisage déclaratif basé sur le langage XML et couramment utilisé pour la création d’interfaces utilisateur et de graphismes avancés qui tirent parti de Windows Presentation Foundation.

Si vous activez ce paramètre de stratégie et si vous affectez la valeur Activer à la zone de liste déroulante, les fichiers XAML 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 XAML.

Si vous désactivez ce paramètre de stratégie, les fichiers XAML 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 XAML dans Internet Explorer.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
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_XAML_3
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# XAML Files
# Possible options:
#   Enable = 0
#   Disable = 3
#   Prompt = 1
Set-ItemProperty -Path $k -Name '2402' -Value 0 -Type DWord

Disable

# Disable: inetres/IZ_Policy_XAML_3
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": inetres/IZ_Policy_XAML_3
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1'
Remove-ItemProperty -Path $k -Name '2402' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
XAML FilesFichiers XAMLIZ_Partname2402Drop-down listenum2402REG_DWORD
Required · Default choice (UI): #0
LabelValue
EnableREG_DWORD = 0
DisableREG_DWORD = 3
PromptREG_DWORD = 1

Availability