Windows 2022 Server RDS - Laggy/Slow TaskBar

Jamie Pearson 51 Reputation points
2022-06-30T12:22:46.623+00:00

Hi,

Hoping somebody else may have some experience of this...
We have two virtual Windows 2022 Remote desktop servers pushing full remote desktop to users.

We are finding the task bar in all sessions (including admin/local) suffer from a delay of 5-20 seconds (varies) when trying to click on the taskbar i.e. to change applications or right click for task manager.
Once the taskbar has focus its responsive as usual, but once it loses focus i.e. you click back into your application, when you try to click on the task bar its delayed to respond again.

This is happening on both our 2022 RDS servers - clean boot doesn't resolve the issue, they are fully patched to date.

Thank you,
Jamie

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,260 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,285 questions
{count} votes

Accepted answer
  1. Dirk Haex 81 Reputation points
    2022-07-07T11:17:31.95+00:00

    Hi Jamie,

    There is a known issue with Server 2022 and Remote Desktop services (maybe just 2022).
    The real cause I haven't found but our fix was to remove the keys at HKLM\System\Software\Microsoft\TIP\TestResults

    When the issue occurs, a lot of read/writes are taking place at that location for no apparent reason (not happening on 2016/2019).
    You should be able to block users from having write rights on that location so it limits this key from populating.

    I've read some contradicting reasons but the fact is that this issue only occurs on 2022 so I suppose this is a bug.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Limitless Technology 39,416 Reputation points
    2022-07-03T12:05:14.937+00:00

    Hi there,

    If this behavior is after any recent updates I would suggest you uninstall them and see the response.

    The other main cause is a build-up of Windows Firewall rules that get created per user and sometimes don’t get auto removed when the user logs off. The worst-case scenario is having hundreds and thousands of Windows Firewall rules.

    Try temporarily switching off the antivirus and check the response and also you can try some registry repairing commands.

    Use the System File Checker tool to repair missing or corrupted system files
    https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–


  2. Michael Vela 0 Reputation points
    2023-01-17T17:07:19.2666667+00:00

    I searched and found people fixing this issue by adding a registry key to delete those firewall rules when they log out. This improved the freezing/pausing issue and start menu lag that our users were experiencing.

    Use regedit to modify the following and set it to 1: Type: “DeleteUserAppContainersOnLogoff” (DWORD)

    Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy

    0 comments No comments