Microsoft .NET runtime update causes Remote Desktop Manager to crash

The Microsoft .NET runtime may be updated silently in the background by Windows Update while Remote Desktop Manager is running. In certain situations, this can result in unexpected application crashes.

This behavior is a known issue reported to Microsoft. At the time of writing, no official fix has been released. The issue typically occurs following a minor security update to the .NET runtime (for example, an update from .NET 8.0.7 to .NET 8.0.8).

Currently, the only available workaround is to restart Remote Desktop Manager if the crash occurs.

Detailed analysis

Applications such as Remote Desktop Manager may experience crashes during .NET runtime updates pushed via Windows Update. This occurs because the update process removes the previous version of the runtime that the application is currently using. When the application tries to load a new assembly after the runtime has been updated in the background, it fails because the required files have been removed.

When updating the .NET runtime manually using the installer, the older version of the runtime is typically not deleted immediately. This prevents the issue of missing assemblies because the application can still access the necessary files from the previous version. However, when the update is performed via Windows Update, the older runtime version is removed, leading to potential crashes.

For a complete detailed analysis of this issue, see this comment on the related GitHub issue.

Devolutions Forum logo Share your feedback