Allow Screen Saver
Autoriser l’écran de veille
Explanation
This policy setting allows a screen saver to interrupt playback.
If you enable this policy setting, a screen saver is displayed during playback of digital media according to the options selected on the Screen Saver tab in the Display Properties dialog box in Control Panel. The Allow screen saver during playback check box on the Player tab in the Player is selected and is not available.
If you disable this policy setting, a screen saver does not interrupt playback even if users have selected a screen saver. The Allow screen saver during playback check box is cleared and is not available.
If you do not configure this policy setting, users can change the setting for the Allow screen saver during playback check box.
Ce paramètre de stratégie autorise un écran de veille à interrompre la lecture.
Si vous activez ce paramètre de stratégie, un écran de veille est affiché pendant la lecture de médias numériques en fonction des options sélectionnées dans l’onglet Écran de veille dans la boîte de dialogue des propriétés d’affichage du Panneau de configuration. La case à cocher Autoriser l’écran de veille pendant la lecture de l’onglet Lecteur du Lecteur est activée et n’est pas disponible.
Si vous désactivez ce paramètre de stratégie, l’écran de veille n’interrompt pas la lecture, même si les utilisateurs en ont sélectionné un. La case à cocher Autoriser l’écran de veille pendant la lecture est désactivée et n’est pas disponible.
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent modifier le paramètre de la case à cocher Autoriser l’écran de veille pendant la lecture.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer- Value name
EnableScreenSaver
| 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.
Enable
# Enable: windowsmediaplayer/EnableScreenSaver
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableScreenSaver' -Value 1 -Type DWordDisable
# Disable: windowsmediaplayer/EnableScreenSaver
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableScreenSaver' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": windowsmediaplayer/EnableScreenSaver
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
Remove-ItemProperty -Path $k -Name 'EnableScreenSaver' -ErrorAction SilentlyContinue