Internet Explorer Processes
Processus Internet Explorer
Explanation
Internet Explorer uses Multipurpose Internet Mail Extensions (MIME) data to determine file handling procedures for files received through a Web server.
This policy setting determines whether Internet Explorer requires that all file-type information provided by Web servers be consistent. For example, if the MIME type of a file is text/plain but the MIME sniff indicates that the file is really an executable file, Internet Explorer renames the file by saving it in the Internet Explorer cache and changing its extension.
If you enable this policy setting, Internet Explorer requires consistent MIME data for all received files.
If you disable this policy setting, Internet Explorer will not require consistent MIME data for all received files.
If you do not configure this policy setting, Internet Explorer requires consistent MIME data for all received files.
Internet Explorer utilise les informations de type MIME (Multipurpose Internet Mail Extensions) pour décider comment gérer les fichiers reçus depuis un serveur Web.
Ce paramètre de stratégie indique si Internet Explorer exige que toutes les informations concernant les types de fichier fournies par les serveurs Web soient cohérentes. Par exemple, si le type MIME d’un fichier est text/plain mais que la détection MIME indique qu’il s’agit d’un fichier exécutable, Internet Explorer renomme le fichier en l’enregistrant dans le cache Internet Explorer et en modifiant son extension.
Si vous activez ce paramètre de stratégie, Internet Explorer exige des données MIME cohérentes pour tous les fichiers reçus.
Si vous désactivez ce paramètre de stratégie, Internet Explorer n’exige pas de données MIME cohérentes pour tous les fichiers reçus.
Si vous ne configurez pas ce paramètre de stratégie, Internet Explorer exige des données MIME cohérentes pour tous les fichiers reçus.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_MIME_HANDLINGHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_MIME_HANDLING- 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_5
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_MIME_HANDLING'
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_5
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_MIME_HANDLING'
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_5
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_MIME_HANDLING'
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"