Tous les processus
All Processes
Explication
Ce paramètre de stratégie autorise les applications hébergeant le contrôle Navigateur Web à bloquer automatiquement la demande de téléchargement des fichiers non initié par l’utilisateur.
Si vous activez ce paramètre de stratégie, le contrôle Navigateur Web bloque automatiquement la demande de téléchargement des fichiers non initié par l’utilisateur pour tous les processus.
Si vous désactivez ce paramètre de stratégie, le contrôle Navigateur Web ne bloque pas automatiquement la demande de téléchargement des fichiers non initié par l’utilisateur pour tous les processus.
This policy setting enables applications hosting the Web Browser Control to block automatic prompting of file downloads that are not user initiated.
If you enable this policy setting, the Web Browser Control will block automatic prompting of file downloads that are not user initiated for all processes.
If you disable this policy setting, the Web Browser Control will not block automatic prompting of file downloads that are not user initiated for all processes.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_FILEDOWNLOADHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_FILEDOWNLOAD- Nom de la valeur
*
| État | Valeur écrite |
|---|---|
| Activé | REG_SZ = 1 |
| Désactivé | REG_SZ = 0 |
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 : inetres/IESF_PolicyAllProcesses_12
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_FILEDOWNLOAD'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '1' -Type StringDésactiver
# Désactiver : inetres/IESF_PolicyAllProcesses_12
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_FILEDOWNLOAD'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '0' -Type StringRevenir à « Non configuré »
# Revenir à « Non configuré » : inetres/IESF_PolicyAllProcesses_12
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_FILEDOWNLOAD'
Remove-ItemProperty -Path $k -Name '`*' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »