Ouvrir dans l'explorateur

Disable download file type extension-based warnings for specified file types on domains

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge EN : Computer Configuration › Policies › Administrative Templates › Microsoft EdgeEN : User Configuration › Policies › Administrative Templates › Microsoft Edge
Pris en charge sur
Microsoft Edge version 105, Windows 7 or later
Fichier ADMX
msedge.admx
Nom interne
msedge/ExemptFileTypeDownloadWarnings

Explication

You can enable this policy to create a dictionary of file type extensions with a corresponding list of domains that are exempted from file type extension-based download warnings. This exemption lets enterprise administrators block file type extension-based download warnings for files that are associated with a listed domain. For example, if the "jnlp" extension is associated with "website1.com", users can't see a warning when downloading "jnlp" files from "website1.com" but can see a download warning when downloading "jnlp" files from "website2.com".

Files with file type extensions specified for domains identified by this policy are still subject to nonfile type extension-based security warnings such as mixed-content download warnings and Microsoft Defender SmartScreen warnings.

If you disable this policy or don't configure it, file types that trigger extension-based download warnings show warnings to the user.

If you enable this policy:

* The URL pattern should be formatted according to https://go.microsoft.com/fwlink/?linkid=2095322.
* The file type extension entered must be in lower-cased ASCII. The leading separator shouldn't be included when listing the file type extension; so, list "jnlp" should be used instead of ".jnlp".

Example:

The following example value prevents file type extension-based download warnings on swf, exe, and jnlp extensions for *.contoso.com domains. It shows the user a file type extension-based download warning on any other domain for exe and jnlp files, but not for swf files.

[
{ "file_extension": "jnlp", "domains": ["contoso.com"] },
{ "file_extension": "exe", "domains": ["contoso.com"] },
{ "file_extension": "swf", "domains": ["*"] }
]

While the preceding example shows the suppression of file type extension-based download warnings for "swf" files for all domains, applying suppression of such warnings for all domains for any dangerous file type extension isn't recommended due to security concerns. It's shown in the example merely to demonstrate the ability to do so.

Example value:

[
{
"domains": [
"https://contoso.com",
"contoso2.com"
],
"file_extension": "jnlp"
},
{
"domains": [
"*"
],
"file_extension": "swf"
}
]

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_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/ExemptFileTypeDownloadWarnings
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Disable download file type extension-based warnings for specified file types on domains
Set-ItemProperty -Path $k -Name 'ExemptFileTypeDownloadWarnings' -Value '<valeur>' -Type String

Désactiver

# Désactiver : msedge/ExemptFileTypeDownloadWarnings
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedge/ExemptFileTypeDownloadWarnings
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'ExemptFileTypeDownloadWarnings' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Disable download file type extension-based warnings for specified file types on domainsExemptFileTypeDownloadWarningsZone de textetextExemptFileTypeDownloadWarningsREG_SZ
Longueur max : 1000000

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.