Forum Discussion
PaulStruik
Jun 28, 2023Copper Contributor
Having multiple problems using AVD published applications
I have a customer which is experiencing multiple issue working with AVD through the Remote Desktop Client. These issues have been reported for a few months and we have looked into them. Some got sort...
FBacke
Feb 13, 2024Brass Contributor
Hi Paul,
I first encountered the issue you are describing with Excel in early 2021 for a customer. After a while I finally found a solution that has saved us a ton of trouble over the last years for multiple applications that are either behaving really wierd with window popping/flipping or small interactive windows hiding behind other windows etc.
When a user logs on to AVD they will all have these 2 Values in the Regedit Hive.
HKEY_CURRENT_USER\Control Panel\Desktop
Dword: "ForegroundLockTimeout"
Default Value = 200000 (30d40 hex)
HKEY_CURRENT_USER\Control Panel\Desktop
Dword: "ForegroundFlashCount"
Default value = 3 to 7
I solved the issue by making a user GPO that sets the value for both these to 0.
This will force your active application/window to always be "on top". Haven't had Excel flipping issues for a customer since this was implemented.
Really hope this can help!
I first encountered the issue you are describing with Excel in early 2021 for a customer. After a while I finally found a solution that has saved us a ton of trouble over the last years for multiple applications that are either behaving really wierd with window popping/flipping or small interactive windows hiding behind other windows etc.
When a user logs on to AVD they will all have these 2 Values in the Regedit Hive.
HKEY_CURRENT_USER\Control Panel\Desktop
Dword: "ForegroundLockTimeout"
Default Value = 200000 (30d40 hex)
HKEY_CURRENT_USER\Control Panel\Desktop
Dword: "ForegroundFlashCount"
Default value = 3 to 7
I solved the issue by making a user GPO that sets the value for both these to 0.
This will force your active application/window to always be "on top". Haven't had Excel flipping issues for a customer since this was implemented.
Really hope this can help!
- rajIdtFeb 19, 2024Copper ContributorFBacke, does this solution worked for the Remote App?
- FBackeFeb 22, 2024Brass Contributorrajldt, Yes both for Remote App and Full Desktop.
You wouldn't think that the "ForegroundFlashCount" Dword would have any impact regarding this issue because that value has to do with how many times an application "flashes" on your taskbar when something happens in an application (ex UAC prompt). But it did not work until both of these values were set.- rajIdtFeb 22, 2024Copper ContributorHi Fbacke,
I've implemented the registry keys on both AVD servers, but I'm still experiencing the same issue with Excel flipping. I'm currently using Windows 11. Any other suggestions would be greatly appreciated.
- PaulStruikFeb 19, 2024Copper Contributor
FBacke Hi,
Thnx for the registry settings. I am leaving the company and will be transfering this problem to a coworker. I have added these settings and the link to the post to our problem ticket.The timing of your post is perfect, seeing i am leaving. The Microsoft case reached multiple deadends and customer was in the process of accepting the issues. :S
If I hear that it works than i will post it here.