View XFA-based PDF files using IE Mode for allowed file origin.
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
Internet Explorer (IE) mode uses the Adobe Acrobat Active-X PDF Plugin to open XFA-based PDF files. This policy works only if the Active-X plugin is already on the user's device, it's not installed as part of this policy.
It's important to note that XFA is a legacy technology that's deprecated by its original creators. It's not an ISO standard and as such doesn't align with the modern web architecture. Continued use poses potential risks and vulnerabilities.
Given the deprecated status of XFA technology and the lack of any investment by its creators, we strongly recommend that you start planning your transition to more advanced HTML\PDF form-based solutions.
In the interim, this policy provides a workaround for users to view XFA PDF in Microsoft Edge.
If you enable this policy, you can configure the list of origins from which XFA PDF files will be automatically opened in Microsoft Edge using IE Mode.
If you disable or don't configure the policy, XFA PDFs won't be considered for opening via Internet Explorer mode.
For detailed information on valid URL patterns, see https://go.microsoft.com/fwlink/?linkid=2095322
Alternatively, 'ViewXFAPDFInIEModeAllowedFileHash' (View XFA-based PDF files using IE Mode for allowed file hash.) can also be used to configure list of file hashes instead of URL origins, which enables those files to be automatically opened in Microsoft Edge using IE Mode.
Example value:
https://contesso.sharepoint.com/accounts/
https://contesso.sharepoint.com/transport/
file://account_forms/
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- 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.
Ordinateur (HKLM)
Activer
# Activer : msedge/ViewXFAPDFInIEModeAllowedOrigins
$k = 'HKLM:\Software\Policies\Microsoft\Edge\ViewXFAPDFInIEModeAllowedOrigins'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# View XFA-based PDF files using IE Mode for allowed file origin.
# Liste non additive : les valeurs existantes de la clé sont d'abord effacées
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<valeur1>', '<valeur2>') # Remplacez les valeurs par les vôtres
$i = 1
foreach ($v in $values) { Set-ItemProperty -Path $k -Name ('' + $i) -Value $v -Type String; $i++ }Désactiver
# Désactiver : msedge/ViewXFAPDFInIEModeAllowedOrigins
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : msedge/ViewXFAPDFInIEModeAllowedOrigins
$k = 'HKLM:\Software\Policies\Microsoft\Edge\ViewXFAPDFInIEModeAllowedOrigins'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Options (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| View XFA-based PDF files using IE Mode for allowed file origin.ViewXFAPDFInIEModeAllowedOriginsDesc | Liste (tableau)list | Software\Policies\Microsoft\Edge\ViewXFAPDFInIEModeAllowedOriginsValeurs nommées « » + n° | REG_SZ (valeurs sous la clé) |
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.