Updating to Windows 11 22H2 Breaks RemoteApp

Updating to Windows 11 22H2 Breaks RemoteApp

Summary

As per gotomyerp's standard procedures, we always try to stay ahead of the curve on what is coming. 
As per our recent testing of the new Microsoft Windows major feature release 22H2, we discovered that this breaks the functionality of RemoteApp connections.

The symptom could be that the connection would get stuck on "Loading the virtual machine"


Latest Update: 11/22/2022

Windows 11:  [PATCH SUCCESSFULLY TESTED / PENDING RELEASE]

We received a private internal patch from Microsoft, confirming that it does resolve the 22H2 hang. 
The KB number of that patch is still on schedule to be released on the 4th week of January and will be KB900417 once it is released.
Microsoft has released a Known Issue about this matter.

For additional updates and details on this issue, please see the advisory

Why?

Since gotomyerp uses Microsoft's technologies, we are affected by changes that they release to us, as a software publisher. Unfortunately, sometimes Microsoft releases updates that have not been sufficiently tested and causes functionality to break. Back in 2018, there was a very similar incident where, again, gotomyerp was ahead of the curve and has written workarounds for an issue that stemmed from Microsoft releasing a bad update.
This time around, it is a similar scenario, and the noise has already started from the community regarding this issue. You can see here and here and here

Solution

Microsoft has acknowledged this to be a bug, and a HotFix (KB900417) is pending release on the 4th week of January, 2023. In the meantime, we have 2 possible workarounds available:

Workaround 1: Revert Back to 21H2

You may be able to revert back to your previous update. To do so, you may need the assistance of your IT. This option may not always be possible.
As a courtesy, we are including a YouTube Video that walks you through these steps

Newly purchased devices with Windows 11 will come pre-installed with the 22H2 Feature Pack, with no option to uninstall or revert. If that is the case, we recommend installing the utility below
gotomyerp cannot assist with Operating System restoration or workstation level troubleshooting. This should be handled by your internal IT personnel.
This registry change adds one key that disables UDP, which is the cause of this issue. 
This workaround is non-intrusive, and easily reversible once the permanent HotFix is released.

Use our Utility (for most users)

      Who should use this?
  1. If you are a small company without an IT department
  2. If you are not a technical person


The utility is simple to run, and must be "Run As Administrator". It allows for both enabling and reversing the workaround when the permanent HotFix is released.

Request Access to the UDPforRDP Fix
MD5 Hash: 98AD9016D4ECD3777A3A589C1A0831F5

A log file of what was done can be found in %TEMP%\UDPforRDPToggle.log

Make the Change Manually (for IT Pros)

      Who should use this?
  1. You are an IT professional
  2. If you prefer to do this manually
  3. If you are comfortable around the registry
  4. If you are using the information to create a Group Policy Preference throughout your domain to apply to all your users at the same time.

To make this change manually, add the following key:
HKLM:SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\fClientDisableUDP
Type: DWORD
Value: 1

This change can also be completed on a domain by using a Group Policy Preference, and can be done by your IT team, to target all your user's workstations at once.



Once the policy is create, set the scope to the workstation or Security groups containing the workstations in question.
This setting can be reversed by changing the value data from 1 to 0, or just deleting the "fClientDisableUDP" key.

While we have extensively tested this fix internally, gotomyerp is providing this solution as a courtesy, and is not responsible for any issue resulting to the target workstations as a result. Please use it at your own risk, or refer to the first solution to revert your OS back to the previous version.