Internet Explorer Processes
Processus Internet Explorer
Explanation
Internet Explorer allows scripts to programmatically open, resize, and reposition windows of various types. The Window Restrictions security feature restricts popup windows and prohibits scripts from displaying windows in which the title and status bars are not visible to the user or obfuscate other Windows' title and status bars.
If you enable this policy setting, popup windows and other restrictions apply for File Explorer and Internet Explorer processes.
If you disable this policy setting, scripts can continue to create popup windows and windows that obfuscate other windows.
If you do not configure this policy setting, popup windows and other restrictions apply for File Explorer and Internet Explorer processes.
Internet Explorer permet aux scripts d’ouvrir, de redimensionner et de déplacer des fenêtres de divers types. La fonctionnalité de sécurité Restrictions des fenêtres limite les fenêtres publicitaires et empêche les scripts d’ouvrir des fenêtres dont les barres de titre et d’état sont invisibles ou masquent les barres de titre et d’état des autres fenêtres.
Si vous activez ce paramètre de stratégie, les fenêtres publicitaires et autres restrictions s’appliquent aux processus de l’Explorateur de fichiers et d’Internet Explorer.
Si vous désactivez ce paramètre de stratégie, les scripts peuvent continuer à créer des fenêtres publicitaires et des fenêtres qui masquent d’autres fenêtres.
Si vous ne configurez pas ce paramètre de stratégie, les fenêtres publicitaires et autres restrictions s’appliquent aux processus de l’Explorateur de fichiers et d’Internet Explorer.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WINDOW_RESTRICTIONSHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WINDOW_RESTRICTIONS- 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_8
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WINDOW_RESTRICTIONS'
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_8
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WINDOW_RESTRICTIONS'
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_8
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WINDOW_RESTRICTIONS'
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"