question

BenjaminAnson-5905 avatar image
0 Votes"
BenjaminAnson-5905 asked MasterControl-4685 answered

2022 RDS Session Freezing randomly

We are in the testing phase of upgrading to server 2022 for our RD Session hosts. We are experiencing random frozen sessions about 1-2x per day per user and the only way to unfreeze is to disconnect from the session and reopen it. The disconnect code that's shown in 'Microsoft-Windows-TerminalServices-LocalSessionManager/Operational' is 2147942464. The collections with 2019 session host servers are not experiencing this issue.

The connection broker is still 2019 so I'm wondering if this is a compatibility issue.

remote-desktop-services
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I'm having the same issue. I have a clean install of server 2022. My RDS is a VM running on a server 2022 Hyper V host. Never had any problems on server 2019 VM.

0 Votes 0 ·
BenjaminAnson-5905 avatar image
0 Votes"
BenjaminAnson-5905 answered TedBrister-1705 commented

For us it ended up being our antivirus software, Vipre, it's not supported on 2022. After removing we no longer experienced random freezes.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the comment. We use Kaspersky Endpoint Cloud. I'll disable/uninstall and keep you posted. Again, thanks.

0 Votes 0 ·
IT-Guy-9874 avatar image
0 Votes"
IT-Guy-9874 answered

Hello,
We made an in-place update of a 2016 to 2022 remote desktop server and had random freeze.
We have installed a new VM (hosted on esx) with Server 2022 std and have the same issue.
There are 24 users.
Not all the users at the same time. Some users have no freeze. Some users, maybe the most active, have a lot of freeze.
We are running Eset Server Security 8.0.12011.0.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TedBrister-1705 avatar image
0 Votes"
TedBrister-1705 answered IT-Guy-9874 commented

I haven't made any headway on this and it's still an issue. I ruled out AV software as above. We had did an in-place upgrade from 2019 to 2022 of a VM on Hyper-V, then a clean install on Hyper-V and it was an issue in both instances. If I find anything useful, I'll post here.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

So you still have the issue even without the anti-virus?
What kind of software to you use? In our case: accountant softwares and Office 2021 LTSC STD SPLA.

0 Votes 0 ·
TedBrister-1705 avatar image
0 Votes"
TedBrister-1705 answered

AV is Kaspersky Endpoint Cloud. Microsoft 365 for office.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IT-Guy-9874 avatar image
0 Votes"
IT-Guy-9874 answered

Hi, we uninstalled ESET, same issue.
When we are using Chrome, explorer.exe is at 6%.
And chrome is freezing when opening a new tab or when clicking on a website.
When explorer.exe is killed, no more issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IT-Guy-9874 avatar image
2 Votes"
IT-Guy-9874 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TedBrister-1705 avatar image
0 Votes"
TedBrister-1705 answered TedBrister-1705 edited

Thanks for the link. I deleted the keys and set permissions where it couldn't write. I'll post the results when I get some user feedback. Thx again.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JonMckeown-5679 avatar image
1 Vote"
JonMckeown-5679 answered TedBrister-1705 commented

This was causing us major problems on a brand new 2022 RDS Session Host. Users unable to drag tabs around in Edge and Chrome, and taskbar freezing up. Clearing out HKLM\SYSTEM\Software\Microsoft\TIP\TestResults\ resolves the issue instantly.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It did for us as well. A big thanks to IT Guy et al for the suggestion.

0 Votes 0 ·
MichaelAnderson-2487 avatar image
0 Votes"
MichaelAnderson-2487 answered

You guys ROCK!!! This has been very hard to identify.

Deleting everything under HKLM\SYSTEM\Software\Microsoft\TIP\TestResults\ fixes this freezing issue (which took 10minutes to complete removal).

Immediately new entries were piling up.

Like others suggested above, remove Full Control permission for SYSTEM AND Users from the TestResult Node (so they only have read).

We're going to take an additional step and uninstall Teams and Office Suite. We've put libreoffice for users that need to open word and excel docs.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MasterControl-4685 avatar image
0 Votes"
MasterControl-4685 answered

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

266079-image.png



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


image.png (224.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.