Microsoft small business knowledge base

Article ID: 972386 - Last Review: July 22, 2009 - Revision: 2.0


When you use a Citrix XenApp application on a Windows Server 2008-based computer, you notice that the logoff screen is displayed when you close the application.


Because of the architectural changes to WinLogon and the LogonUI in Windows Server 2008, the "DisableStatusMessage" registry setting is no longer available. When you run Citrix XenApp applications on earlier versions of Windows Server, you can disable the logoff screen by setting the "DisableStatusMessage" registry setting in the following registry key to a value of 1:


To prevent Citrix Seamless applications from displaying the logoff screen when you close the application, implement a logoff script by using a Group Policy setting that runs a batch file with the following command:
tsdiscon %SESSIONNAME%
After you do this, the terminal server will disconnect the session at the time of logoff and prevent the logoff screen from being displayed. However, the terminal server will continue to process the logoff action in the background.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
kbprb kbexpertiseinter kbtshoot KB972386
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support