Afficher l’animation à la première connexion
Show first sign-in animation
Explication
Ce paramètre de stratégie vous permet de contrôler si l’animation s’affiche lors de la première ouverture de session sur l’ordinateur. Il s’applique à la fois au premier utilisateur de l’ordinateur qui procède à l’installation initiale et aux utilisateurs qui sont ajoutés à l’ordinateur par la suite. Il définit également si les utilisateurs avec un compte Microsoft sont invités à activer des services lors de leur première connexion.
Si vous activez ce paramètre de stratégie, les utilisateurs avec un compte Microsoft sont invités à activer des services, tandis que les utilisateurs avec d’autres comptes voient l’animation de connexion.
Si vous désactivez ce paramètre de stratégie, les utilisateurs ne voient pas l’animation et les utilisateurs avec un compte Microsoft ne sont pas invités à activer des services.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur qui effectue l’installation initiale de Windows voit l’animation lors de sa première connexion. Si l’utilisateur a déjà terminé l’installation initiale alors que ce paramètre de stratégie n’est pas configuré, les nouveaux utilisateurs de cet ordinateur ne verront pas l’animation.
Remarque : l’animation lors de la première connexion ne s’affiche pas sur la version Server. Cette stratégie n’a alors aucun effet.
This policy setting allows you to control whether users see the first sign-in animation when signing in to the computer for the first time. This applies to both the first user of the computer who completes the initial setup and users who are added to the computer later. It also controls if Microsoft account users will be offered the opt-in prompt for services during their first sign-in.
If you enable this policy setting, Microsoft account users will see the opt-in prompt for services, and users with other accounts will see the sign-in animation.
If you disable this policy setting, users will not see the animation and Microsoft account users will not see the opt-in prompt for services.
If you do not configure this policy setting, the user who completes the initial Windows setup will see the animation during their first sign-in. If the first user had already completed the initial setup and this policy setting is not configured, users new to this computer will not see the animation.
Note: The first sign-in animation will not be shown on Server, so this policy will have no effect.
Registre
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System- Nom de la valeur
EnableFirstLogonAnimation
| État | Valeur é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/EnableFirstLogonAnimation
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableFirstLogonAnimation' -Value 1 -Type DWordDésactiver
# Désactiver : Logon/EnableFirstLogonAnimation
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableFirstLogonAnimation' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : Logon/EnableFirstLogonAnimation
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
Remove-ItemProperty -Path $k -Name 'EnableFirstLogonAnimation' -ErrorAction SilentlyContinue