Hi All
My organization has 5 Windows 2019 servers that we use as Remote Desktop endpoints for our users. Every few weeks or so, we started to notice things failing. Office products would stop being able to communicate with the Licensing server, showing our users they have no Shared Access License. The shell experience and search functions would stop working and start throwing DCOM errors in event viewer.
I scoured the internet for people that may be experiencing the same kind of issues, and found several reports, all of which offered different "solutions" that worked for them. For example, running a powershell command to re-register the appx manifest for each of the windows components.
I found an online forum post from February of 2021 where someone was having this issue, and someone else recommended looking at the registry, specifically:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\RestrictedServices\AppIso\FirewallRules
Apparently, this part of the registry gets inbound and outbound rules created on user log-in, and maybe never gets cleaned out? I tried opening this up to look and started crashing other user sessions as it tried to load. I took one of the servers that was failing (and we removed all other users from) and it wouldn't load even after an hour.
The recommendation from that post was to run a reg delete
command for that key to trim the size down. I tested that on our failed server, and everything that was failing before started working again immediately.
My question is: Are there any official recommendations on how to combat this issue? If it has been a problem for nearly 4 years (at least), I would think that it would be easier to find documentation on this issue, but I haven't been able to find anything else particularly helpful. The solution I have right now is basically to set up a task to routinely delete those firewall rule keys as users log off of the server, which feels like a kludge.