Ne pas afficher la fenêtre Tâches de configuration initiales à l’ouverture de session
Do not display Initial Configuration Tasks window automatically at logon
Explication
Ce paramètre de stratégie vous permet de désactiver l’affichage automatique de la fenêtre Tâches de configuration initiales à l’ouverture d’une session dans Windows Server 2008 et Windows Server 2008 R2.
Si vous activez ce paramètre de stratégie, la fenêtre Tâches de configuration initiales ne s’affiche pas lorsqu’un administrateur ouvre une session sur le serveur.
Si vous désactivez ce paramètre de stratégie, la fenêtre Tâches de configuration initiales s’affiche lorsqu’un administrateur ouvre une session sur le serveur.
Si vous ne configurez pas ce paramètre de stratégie, la fenêtre Tâches de configuration initiales s’affiche lorsqu’un administrateur ouvre une session sur le serveur. Cependant, si un administrateur sélectionne l’option « Ne pas afficher cette fenêtre à l’ouverture de session », la fenêtre ne s’affiche pas lors des ouvertures de session suivantes.
This policy setting allows you to turn off the automatic display of the Initial Configuration Tasks window at logon on Windows Server 2008 and Windows Server 2008 R2.
If you enable this policy setting, the Initial Configuration Tasks window is not displayed when an administrator logs on to the server.
If you disable this policy setting, the Initial Configuration Tasks window is displayed when an administrator logs on to the server.
If you do not configure this policy setting, the Initial Configuration Tasks window is displayed when an administrator logs on to the server. However, if an administrator selects the "Do not show this window at logon" option, the window is not displayed on subsequent logons.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Server\InitialConfigurationTasks- Nom de la valeur
DoNotOpenAtLogon
| É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 : ServerManager/DoNotLaunchInitialConfigurationTasks
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\InitialConfigurationTasks'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoNotOpenAtLogon' -Value 1 -Type DWordDésactiver
# Désactiver : ServerManager/DoNotLaunchInitialConfigurationTasks
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\InitialConfigurationTasks'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoNotOpenAtLogon' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : ServerManager/DoNotLaunchInitialConfigurationTasks
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\InitialConfigurationTasks'
Remove-ItemProperty -Path $k -Name 'DoNotOpenAtLogon' -ErrorAction SilentlyContinue