Server 2022 and Teams Bloats HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\TIP\TestResults\

JJAComm 106 Reputation points
2022-02-27T22:16:48.587+00:00

Hi, has anyone else deployed MS Teams on Server 2022 and noticed bloating of the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\TIP\TestResults\
We need to clear this daily to prevent slow downs. From what I can see, it seems to be only written to by MS Teams.
Cheers

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,073 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,127 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,243 questions
{count} vote

5 answers

Sort by: Most helpful
  1. Binh Tang 41 Reputation points
    2022-10-19T01:46:20.537+00:00

    THANK YOU EVERYONE for sharing!

    I have a 2022 RDS Server and was beating my head with issue for about 3 months now! The issues were random lag and slowness and more so when switching between apps. Tried so many troubleshooting it was crazy. It wasn't until I stumbled across this post that after implementing the changes, users have now reported no issues with lag or slowness (implemented 6 days ago and no issues since)!

    What lead me to this was finding out explorer.exe was randomly sitting at 12%-20% CPU for some users. If I restart explorer.exe for that user, it would fix temporarily but then another user would have the same issue. CPU would also spike overall to 70%-99%.

    My changes:

    1. The HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\TIP\TestResults reg key when I exported it was 42MB in size! That shows how massive it was. I deleted all subkeys under that
    2. Disabled the TabletInputService service (Touch Keyboard and Handwriting Panel Service)
    3. Took ownership of C:\Program Files (x86)\Common Files\Microsoft Shared\ink\TabTip32.exe and renamed it (to prevent it from starting up and adding to TestResults key)
    4. Took ownership of C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe and renamed it (to prevent it from starting up and adding to TestResults key)
    5. Rebooted server

    After the changes, Explorer.exe no longer has high CPU usage. CPU overall is good, and users are happy and not reporting any lag or slowness. Such a random and odd issue. Glad I've found this and thank you everyone for sharing.

    7 people found this answer helpful.

  2. JJAComm 106 Reputation points
    2022-10-19T23:55:38.997+00:00

    Here is what I've been running when I hit this issue now:

    taskkill /f /IM tabtip.exe
    taskkill /f /IM tabtip32.exe

    takeown /F "C:\Program Files\Common Files\microsoft shared\ink\tabtip.exe"
    cacls "C:\Program Files\Common Files\microsoft shared\ink\tabtip.exe" /T /E /P Administrators:F
    cacls "C:\Program Files\Common Files\microsoft shared\ink\tabtip.exe" /T /E /P SYSTEM:F
    ren "C:\Program Files\Common Files\microsoft shared\ink\tabtip.exe" tabtip.exe.old

    takeown /F "C:\Program Files (x86)\Common Files\microsoft shared\Ink\tabtip32.exe"
    cacls "C:\Program Files (x86)\Common Files\microsoft shared\Ink\tabtip32.exe" /T /E /P Administrators:F
    cacls "C:\Program Files (x86)\Common Files\microsoft shared\Ink\tabtip32.exe" /T /E /P SYSTEM:F
    ren "C:\Program Files (x86)\Common Files\microsoft shared\Ink\tabtip32.exe" tabtip32.exe.old

    Reg Delete HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\TIP\TestResults\ /f

    4 people found this answer helpful.
    0 comments No comments

  3. JJAComm 106 Reputation points
    2022-03-18T01:15:41.34+00:00

    OK- Working on the theory that TIP stands for Text Input Panel I tried disabling the Touch Keyboard and Handwriting Panel service but could not.
    Then I went into Teams Settings, App Permissions, One Note and disabled this.
    The keys were no longer written to so for me at least, the issue here was around One Note.
    Looking further, renamed out
    C:\Program Files\Common Files\microsoft shared\ink\tabtip.exe.
    Rebooted
    Created new user profile and could no longer replicate the issue.

    1 person found this answer helpful.

  4. Robin 6 Reputation points
    2022-08-18T15:56:23+00:00

    Thanks a lot for this helpfull post!
    We have the same issue. We are still testing it but it looks like deleting the keys is giving already a huge difference.
    Would it also be ok to disable the TabletInputService service (Touch Keyboard and Handwriting Panel Service) as replacement for renaming tabtip.exe? I tried it with no reboot and no new profiles with no luck. I can reboot and test again, all new profiles will be more difficult to do.


  5. Master Control 1 Reputation point
    2022-12-01T13:52:21.067+00:00

    This occurred with us on a MS 2022 Server and when we spun up a MS2019 Server we had the same issue with RDP sessions having latency. It was very random and weird behavior because it wasn't consistent at all. Some RDP sessions would have no issues and at the same time other sessions would freeze until you disconnect/reconnect, or the latency was so bad the RDP wasn't usable at all. All connections were through VPN (both site to site and web VPN). It's believed the UDP setting/traffic was interfering even though all packets & traffic looked good through the VPN and there wasn't anything blocking the UDP traffic. The issue was resolved by turning off UDP on Client through group policy.

    On PC: Open the RUN dialog > gpedit.msc > Administrative Templates > Windows Comonents > Remote Desktop Services > Remote Desktop Connection Client > Turn Off UDP on Client
    and enable it and add any notes you wish.

    266150-image.png

    On Server/Domain Controller go to GP Managment: Administrative Tools > Group Policy Management and create a group policy under the Domain