RDM 2023.3.35.0 breaks .NET Framework. Constant CPU .NET Runtime Optimization service
After installing an RDM (teams) update to version 2023.3.35.0, we found constant CPU utilization. from the .NET Runtime Optimization service. I tracked that down to what appear to be corrupt or invalid .NET files. Hopefully nothing malicious.
RDM Version 2023.3.34.0 does not have this issue.
I had this also occur on a new computer I am configuring for myself. A Windows Reset fixed the issue. After reinstalling the .34 version on the new computer, I am not having this issue.
I am running:
Edition Windows 11 Enterprise
Version 23H2
Installed on 12/23/2023
OS build 22635.2915
Experience Windows Feature Experience Pack 1000.22682.1000.0
To get details on the compile issue, open an admin CMD and run:
cd c:\Windows\Microsoft.NET\Framework64\v4.0.30319
ngen.exe executequeueditems
You will find the native compiles never complete with MANY errors like:
Microsoft (R) CLR Native Image Generator - Version 4.8.9065.0
Copyright (c) Microsoft Corporation. All rights reserved.
2> Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...
1> Compiling assembly System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (CLR v4.0.30319) ...
1>Error compiling System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Exception from HRESULT: 0x80070241)
1>Ngen failed to generate native code for image System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error: Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Exception from HRESULT: 0x80070241)
1>Ngen will retry compilation of image System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
1> Compiling assembly System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (CLR v4.0.30319) ...
1>Error compiling System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Exception from HRESULT: 0x80070241)
1>Failed to generate native code for dependent image System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error: Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Exception from HRESULT: 0x80070241)
Hello,
Could you try to install the zipped version of RDM and run OptimizeRDM.ps1?
Regards
David Hervieux