Published desktop is launched in background of local applications
                    
                
                
                    
                        book
                        
Article ID: CTX221222
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                    
                
                    
                    
                        
                            
Description
                        
                        
                            Setting registry key: ForegroundLockTimeout to 0 makes published desktop window to launch in foreground in most cases.
HKCU\Control Panel\Desktop
name: ForegroundLockTimeout
type: REG_DWORD
data: 0 (default: 200000)
In some cases, there are applications that set this value to a non 0 value, which makes the published desktop window to launch in background of other windows.
 
                         
                     
                    
                    
                        
                            
                                
Environment
                            
                            
                                Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
                            
                         
                        
                    
                    
                        
                            
                                
Resolution
                            
                            
                                In these cases, set ForegroundLockTimeout to 0 pragmatically using fglocktimeout.exe before launching published desktop.
procedure
-----
1. download fglocktimeout.exe from 
CTX1400952. run fglocktimeout /z before launching published desktop.
Problem Cause
some other application on client machine is setting ForegroundLockTimeout to a value other than 0
                            
 
                        
                    
                        
                            
                                
Issue/Introduction
                            
                            
                                How to make published desktop window launch in foreground.
                            
                         
                        
                    
                    
                    
                
                    
                        
                            Was this article helpful?
                        
                        
                            
                                thumb_up
                                Yes
                            
                            
                                thumb_down
                                No