We periodically get issues where when a user launches a published application, it appears to be launched outside of the desktop or for lack of better words “out of focus” and the user is unable to bring or move the application to the foreground. and whats completely interesting is no matter how many times you reset the profile, the application still appears to not be focused properly.
As a result of further research – there are several things you can do to address this issue.
- Shadow the users session – when they click accept, the vertical/horizontal resolution will be significantly decreased and the user will be able to properly set the application in a window or monitor that is suitable for them.
- Use vbscript or .net to first find the process using objProcess.getowner, then attached to the process name using objProcess.name. then at that point, you will want to grab the process id and use wshshell.appactivate to bring the application to primary monitor 1 and set it to the foreground and then use sendkeys to finish up the process. We have provided a vbscript and a .net example on how to grab an application and set the focus to the foreground. Simply logon and download the example.
- If you happen to see the application running in the taskbar – right click on the application, then select move. then hold down the left arrow key for a few seconds followed by using the mouse. you should see the application come to focus and allow you to manually set the position.
Either way you look at it, an administrator needs to simply step in and help the user. At that point the window history should be saved and the user/application settings


