Do not display Initial Configuration Tasks window automatically at logon
Ne pas afficher la fenêtre Tâches de configuration initiales à l’ouverture de session
Explanation
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.
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.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Server\InitialConfigurationTasks- Value name
DoNotOpenAtLogon
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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: 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 DWordDisable
# Disable: 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 DWordRevert to "Not configured"
# Revert to "Not configured": ServerManager/DoNotLaunchInitialConfigurationTasks
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\InitialConfigurationTasks'
Remove-ItemProperty -Path $k -Name 'DoNotOpenAtLogon' -ErrorAction SilentlyContinue