Enforce full-screen mode
Appliquer le mode plein écran
Explanation
This policy setting allows you to enforce full-screen mode, which disables the navigation bar, the menu bar, and the Command bar. Starting with Windows 8, this policy only applies to Internet Explorer on the desktop.
The navigation bar includes features for browsing webpages, searching the web by using a selection of search tools, viewing a history of visited pages, printing, and accessing email and newsgroups. The menu bar contains menus that open lists of commands for printing, customizing Internet Explorer, copying and pasting text, managing favorites, and accessing Help. The Command bar enables the user to access and manage favorites, feeds, shortcuts to home page, and more. Full-screen mode disables not only these three bars, but also the shortcuts to these bars.
If you enable this policy setting, the navigation bar, the menu bar, and the Command bar are not visible, and the user cannot access them.
If you disable or do not configure this policy setting, the user can view and access the navigation bar, the menu bar, and the Command bar.
Ce paramètre de stratégie vous permet d’appliquer le mode plein écran, qui désactive la barre de navigation, la barre de menus et la barre de commandes. À compter de Windows 8, cette stratégie s’applique uniquement à Internet Explorer sur le Bureau.
La barre de navigation offre des fonctionnalités pour naviguer parmi les pages web, effectuer des recherches sur le web à l’aide d’une sélection d’outils de recherche, afficher un historique des pages visitées, effectuer des impressions, mais aussi accéder à la messagerie électronique et aux groupes de discussion. La barre de menus contient des menus qui ouvrent des listes de commandes d’impression, de personnalisation d’Internet Explorer, de copier-coller de texte, de gestion des Favoris et d’accès à l’aide. La barre de commandes offre à l’utilisateur des options d’accès et de gestion pour les Favoris, les flux, les raccourcis vers la page d’accueil et bien d’autres choses encore. Le mode plein écran désactive ces trois barres, ainsi que les raccourcis vers ces dernières.
Si vous activez ce paramètre de stratégie, la barre de navigation, la barre de menus et la barre de commandes ne sont pas visibles. En outre, l’utilisateur ne peut pas accéder à ces dernières.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut afficher la barre de navigation, la barre de menus et la barre de commandes. En outre, il a accès à ces dernières.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
AlwaysShowMenus
| State | Value written | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enabled | REG_DWORD = 0
| |||||||||
| 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/EnforceFullscreen
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AlwaysShowMenus' -Value 0 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoNavBar' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'NoCommandBar' -Value 1 -Type DWordDisable
# Disable: inetres/EnforceFullscreen
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoNavBar' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'NoCommandBar' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/EnforceFullscreen
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'AlwaysShowMenus' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Toolbars\Restrictions'
Remove-ItemProperty -Path $k -Name 'NoNavBar' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoCommandBar' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"