Allow FullScreen Mode
Autoriser le mode Plein écran
Explanation
With this policy, you can specify whether to allow full-screen mode, which shows only the web content and hides the Microsoft Edge UI.
If enabled or not configured, full-screen mode is available for use in Microsoft Edge. Your users and extensions must have the proper permissions.
If disabled, full-screen mode is unavailable for use in Microsoft Edge.
Avec cette stratégie, vous pouvez spécifier s'il convient d'autoriser le mode Plein écran, qui n'affiche que le contenu web et masque l'interface utilisateur de Microsoft Edge.
Si cette stratégie est activée ou n'est pas configurée, le mode Plein écran est disponible pour une utilisation dans Microsoft Edge. Vos utilisateurs et extensions doivent disposer des autorisations appropriées.
Si elle est désactivée, le mode Plein écran n'est pas disponible pour une utilisation dans Microsoft Edge.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main- Value name
AllowFullScreenMode
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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: MicrosoftEdge/AllowFullScreenMode
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowFullScreenMode' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/AllowFullScreenMode
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowFullScreenMode' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/AllowFullScreenMode
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
Remove-ItemProperty -Path $k -Name 'AllowFullScreenMode' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"