Open in the explorer

Suspend user sign-in to complete app registration

Suspendre la connexion de l’utilisateur pour terminer l’inscription de l’application

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Connections FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Connexions
Supported on
At least Windows 8 Enterprise or Windows Server 2012 FR: Au minimum Windows 8 Entreprise ou Windows Server 2012
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_RDSAppX_WaitForRegistration

Explanation

This policy setting allows you to specify whether the app registration is completed before showing the Start screen to the user.

By default, when a new user signs in to a computer, the Start screen is shown and apps are registered in the background. However, some apps may not work until app registration is complete.

If you enable this policy setting, user sign-in is blocked for up to 6 minutes to complete the app registration. You can use this policy setting when customizing the Start screen on Remote Desktop Session Host servers.

If you disable or do not configure this policy setting, the Start screen is shown and apps are registered in the background.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’indiquer si l’inscription de l’application est terminée avant d’afficher l’écran de démarrage à l’utilisateur.

Par défaut, lorsqu’un nouvel utilisateur se connecte à un ordinateur, l’écran de démarrage s’affiche et les applications sont inscrites en arrière-plan. Cependant, certaines applications ne fonctionnent pas tant que l’inscription n’est pas terminée.

Si vous activez ce paramètre de stratégie, la connexion de l’utilisateur est bloquée au maximum pendant 6 minutes pour terminer l’inscription de l’application. Utilisez ce paramètre de stratégie lors de la personnalisation de l’écran de démarrage sur les serveurs Hôte de session Bureau à distance.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, l’écran de démarrage s’affiche et les applications sont inscrites en arrière-plan.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\AllUserInstallAgent
Value name
LogonWaitForPackageRegistration
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: TerminalServer/TS_RDSAppX_WaitForRegistration
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\AllUserInstallAgent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LogonWaitForPackageRegistration' -Value 1 -Type DWord

Disable

# Disable: TerminalServer/TS_RDSAppX_WaitForRegistration
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\AllUserInstallAgent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LogonWaitForPackageRegistration' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_RDSAppX_WaitForRegistration
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\AllUserInstallAgent'
Remove-ItemProperty -Path $k -Name 'LogonWaitForPackageRegistration' -ErrorAction SilentlyContinue

Availability