Open in the explorer

Force specific screen saver

Forcer un écran de veille spécifique

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_SetScreenSaver

Explanation

Specifies the screen saver for the user's desktop.

If you enable this setting, the system displays the specified screen saver on the user's desktop. Also, this setting disables the drop-down list of screen savers in the Screen Saver dialog in the Personalization or Display Control Panel, which prevents users from changing the screen saver.

If you disable this setting or do not configure it, users can select any screen saver.

If you enable this setting, type the name of the file that contains the screen saver, including the .scr file name extension. If the screen saver file is not in the %Systemroot%\System32 directory, type the fully qualified path to the file.

If the specified screen saver is not installed on a computer to which this setting applies, the setting is ignored.

Note: This setting can be superseded by the "Enable Screen Saver" setting. If the "Enable Screen Saver" setting is disabled, this setting is ignored, and screen savers do not run.

French text from Windows 11 26H2

Spécifie l’écran de veille pour le Bureau de l’utilisateur.

Si vous activez ce paramètre, le système affiche l’écran de veille spécifié sur le Bureau de l’utilisateur. Par ailleurs, ce paramètre désactive la liste déroulante des écrans de veille dans la boîte de dialogue Écran de veille de l’application Personnalisation ou Affichage du Panneau de configuration, ce qui empêche les utilisateurs de modifier l’écran de veille.

Si vous désactivez ce paramètre ou ne le configurez pas, les utilisateurs peuvent sélectionner n’importe quel écran de veille.

Si vous activez ce paramètre, tapez le nom du fichier contenant l’écran de veille, y compris l’extension .scr. Si le fichier de l’écran de veille ne se trouve pas dans le répertoire %Systemroot%\System32, tapez le chemin d’accès complet du fichier.

Si l’écran de veille spécifié n’est pas installé sur un ordinateur auquel ce paramètre s’applique, le paramètre est ignoré.

Remarque : ce paramètre peut être remplacé par le paramètre Activer l’écran de veille. Si le paramètre Activer l’écran de veille est désactivé, ce paramètre est ignoré et les écrans de veille ne sont pas exécutés.

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_SetScreenSaver
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Screen saver executable name
Set-ItemProperty -Path $k -Name 'SCRNSAVE.EXE' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Screen saver executable nameNom du fichier exécutable de l’écran de veilleScreenSaverFilenameText boxtextSCRNSAVE.EXEREG_SZ

Availability