Automatic prompting for file downloads
Demander confirmation pour les téléchargements de fichiers
Explanation
This policy setting determines whether users will be prompted for non user-initiated file downloads. Regardless of this setting, users will receive file download dialogs for user-initiated downloads.
If you enable this setting, users will receive a file download dialog for automatic download attempts.
If you disable or do not configure this setting, file downloads that are not user-initiated will be blocked, and users will see the Notification bar instead of the file download dialog. Users can then click the Notification bar to allow the file download prompt.
Ce paramètre de stratégie indique si les utilisateurs se voient demander s’ils souhaitent télécharger des fichiers. Quelle que soit la valeur de ce paramètre, les utilisateurs voient s’afficher une boîte de dialogue pour les téléchargements de fichiers non déclenchés par eux.
Si vous activez ce paramètre de stratégie, les utilisateurs voient s’afficher une boîte de dialogue de téléchargement de fichier pour les tentatives de téléchargements automatiques.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les téléchargements de fichiers qui ne sont pas déclenchés par l’utilisateur sont bloqués. Les utilisateurs voient s’afficher la Barre de notification à la place de la boîte de dialogue de téléchargement de fichiers. Les utilisateurs peuvent ensuite cliquer sur la Barre de notification pour autoriser la demande de téléchargement de fichier.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2- 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_PolicyNotificationBarDownloadURLaction_6
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Automatic prompting for file downloads
# Possible options:
# Enable = 0
# Disable = 3
Set-ItemProperty -Path $k -Name '2200' -Value 3 -Type DWordDisable
# Disable: inetres/IZ_PolicyNotificationBarDownloadURLaction_6
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyNotificationBarDownloadURLaction_6
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
Remove-ItemProperty -Path $k -Name '2200' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Automatic prompting for file downloadsDemander confirmation pour les téléchargements de fichiersIZ_Partname2200 | Drop-down listenum | 2200 | REG_DWORD | Required · Default choice (UI): #1
|