Disable and Hide the Windows 2008 Logoff Screen

Disable and Hide the Windows 2008 Logoff Screen

book

Article ID: CTX122145

calendar_today

Updated On:

Description

When you log off a Citrix ICA desktop (or application) session, from a 2008 XenApp 5.0 server, sometimes the operating system logoff screen is displayed, with a “Waiting on the User Profile Service.. “ or “Logging off…” message.

User-added image

Background

This issue is the result of an architectural change made to Windows 2008 (that was not in Windows 2003 and earlier operating systems). The changes were made to WinLogon and the LogonUI in Windows Server 2008. Because of these changes, the DisableStatusMessage registry setting is no longer available.

Resolution

To prevent the logoff screen from appearing when closing Citrix ICA sessions, implement a logoff script by using a Group Policy setting that runs a batch file with the following command:

tsdiscon %SESSIONNAME%

Then, the terminal server disconnects the session at the time of logoff and prevent the logoff screen from appearing. However, the terminal server continues to process the logoff action in the background.

Issue/Introduction

This article explains how to disable and hide the Windows 2008 logoff screen, when exiting ICA sessions.

Additional Information

The logoff screen is displayed when you close a Citrix XenApp application on a Windows Server 2008-based computer