Internet Explorer Processes
Processus Internet Explorer
Explanation
This policy setting enables blocking of file download prompts that are not user initiated.
If you enable this policy setting, file download prompts that are not user initiated will be blocked for Internet Explorer processes.
If you disable this policy setting, prompting will occur for file downloads that are not user initiated for Internet Explorer processes.
If you do not configure this policy setting, the user's preference determines whether to prompt for file downloads that are not user initiated for Internet Explorer processes.
Ce paramètre de stratégie permet de bloquer les demandes de téléchargements de fichiers non initiés par l’utilisateur.
Si vous activez ce paramètre de stratégie, les demandes de téléchargements de fichiers non initiés par l’utilisateur sont bloquées pour les processus Internet Explorer.
Si vous désactivez ce paramètre de stratégie, les demandes de téléchargements de fichiers non initiés par l’utilisateur sont affichées pour les processus Internet Explorer.
Si vous ne configurez pas ce paramètre de stratégie, la préférence de l’utilisateur détermine si les demandes de téléchargements de fichiers non initiés par l’utilisateur sont affichées pour les processus Internet Explorer.
Registry
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- Value name
- not defined in the ADMX
| State | Value written | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enabled |
| ||||||||||||
| Disabled |
|
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/IESF_PolicyExplorerProcesses_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 '(Reserved)' -Value '1' -Type String
Set-ItemProperty -Path $k -Name 'explorer.exe' -Value '1' -Type String
Set-ItemProperty -Path $k -Name 'iexplore.exe' -Value '1' -Type StringDisable
# Disable: inetres/IESF_PolicyExplorerProcesses_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 '(Reserved)' -Value '0' -Type String
Set-ItemProperty -Path $k -Name 'explorer.exe' -Value '0' -Type String
Set-ItemProperty -Path $k -Name 'iexplore.exe' -Value '0' -Type StringRevert to "Not configured"
# Revert to "Not configured": inetres/IESF_PolicyExplorerProcesses_12
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_FILEDOWNLOAD'
Remove-ItemProperty -Path $k -Name '(Reserved)' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'explorer.exe' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'iexplore.exe' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"