Open in the explorer

Screen saver timeout

Dépassement du délai d’expiration de l’écran de veille

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Control Panel › Personalization FR: Configuration utilisateur › Stratégies › Modèles d'administration › Panneau de configuration › Personnalisation
Supported on
At least Windows 2000 Service Pack 1 FR: Au minimum Windows 2000 Service Pack 1
ADMX file
ControlPanelDisplay.admx
Internal name
ControlPanelDisplay/CPL_Personalization_ScreenSaverTimeOut

Explanation

Specifies how much user idle time must elapse before the screen saver is launched.

When configured, this idle time can be set from a minimum of 1 second to a maximum of 86,400 seconds, or 24 hours. If set to zero, the screen saver will not be started.

This setting has no effect under any of the following circumstances:

- The setting is disabled or not configured.

- The wait time is set to zero.

- The "Enable Screen Saver" setting is disabled.

- Neither the "Screen saver executable name" setting nor the Screen Saver dialog of the client computer's Personalization or Display Control Panel specifies a valid existing screen saver program on the client.

When not configured, whatever wait time is set on the client through the Screen Saver dialog in the Personalization or Display Control Panel is used. The default is 15 minutes.

French text from Windows 11 26H2

Spécifie la durée d’inactivité qui doit s’écouler avant le démarrage de l’écran de veille.

Lorsqu’elle est configurée, cette durée peut être définie entre 1 et 86 400 secondes (24 heures). Si la durée est nulle, l’écran de veille ne démarre pas.

Ce paramètre n’a aucun effet dans les circonstances suivantes :

- Le paramètre est désactivé ou n’est pas configuré.

- La durée d’attente est égale à zéro.

- Le paramètre Activer l’écran de veille est désactivé.

- Ni le paramètre Nom du fichier exécutable de l’écran de veille, ni la boîte de dialogue Écran de veille du Panneau de configuration Personnalisation ou Affichage de l’ordinateur client ne spécifient un programme d’écran de veille existant valide sur le client.

Lorsqu’elle n’est pas configurée, la durée utilisée est celle définie sur le client dans la boîte de dialogue Écran de veille du Panneau de configuration Personnalisation ou Affichage. La valeur par défaut est de 15 minutes.

Use cases

Sets how long a user must be idle before the screen saver starts: from 1 to 86,400 seconds, with 0 meaning it never starts. When not configured, the local Screen Saver dialog setting applies (15 minutes by default).

The setting has no effect if “Enable Screen Saver” is disabled, if the timeout is zero, or if no valid screen saver is defined on the machine. To genuinely lock idle sessions, pair it with “Password protect the screen saver”; the security policy “Interactive logon: Machine inactivity limit” locks the session without going through a screen saver.

Microsoft sources: Policy CSP - ADMX_ControlPanelDisplay · Interactive logon: Machine inactivity limit

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: ControlPanelDisplay/CPL_Personalization_ScreenSaverTimeOut
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Seconds
Set-ItemProperty -Path $k -Name 'ScreenSaveTimeOut' -Value '900' -Type String  # maximum 599940

Disable

# Disable: ControlPanelDisplay/CPL_Personalization_ScreenSaverTimeOut
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": ControlPanelDisplay/CPL_Personalization_ScreenSaverTimeOut
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop'
Remove-ItemProperty -Path $k -Name 'ScreenSaveTimeOut' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Seconds:Secondes :ScreenSaverTimeOutFreqSpinNumeric boxdecimalScreenSaveTimeOutREG_SZ
Max: 599940 · Default (UI): 900

Availability