Ouvrir dans l'explorateur

Toujours utiliser un arrière-plan d’ouverture de session personnalisé

Always use custom logon background

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Système › Ouverture de session EN : Computer Configuration › Policies › Administrative Templates › System › Logon
Pris en charge sur
Windows Server 2008 R2 et Windows 7 EN : Windows Server 2008 R2 and Windows 7
Fichier ADMX
Logon.admx
Nom interne
Logon/UseOEMBackground

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie ignore l’arrière-plan d’ouverture de session Windows.

Ce paramètre de stratégie peut être utilisé pour que Windows privilégie un arrière-plan d’ouverture de session personnalisé.

Si vous activez ce paramètre, l’écran d’ouverture de session essaie toujours de charger un arrière-plan personnalisé plutôt que l’arrière-plan d’ouverture de session Windows.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Windows utilise l’arrière-plan d’ouverture de session Windows par défaut ou un arrière-plan personnalisé.

This policy setting ignores Windows Logon Background.

This policy setting may be used to make Windows give preference to a custom logon background.

If you enable this policy setting, the logon screen always attempts to load a custom background instead of the Windows-branded logon background.

If you disable or do not configure this policy setting, Windows uses the default Windows logon background or custom background.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Nom de la valeur
UseOEMBackground
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Logon/UseOEMBackground
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseOEMBackground' -Value 1 -Type DWord

Désactiver

# Désactiver : Logon/UseOEMBackground
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseOEMBackground' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : Logon/UseOEMBackground
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'UseOEMBackground' -ErrorAction SilentlyContinue

Disponibilité