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.