May 29 2022 11:54 PM - edited May 30 2022 12:32 AM
I am not sure what is the best way to report this issue. It is low level technical. If someone knows of a better way to report this to Microsoft, please let me know.
We have written av Excel add-in that uses .NET Framework (4.8).
It polls our our backend for updates every now and then.
We have noticed that there is a leak of open handles to the registry and that it grows over time.
This does not always happen and it took some effort to understand where this leak comes from.
It turned out that this only happens if Excel is installed via ClickToRun and it is related to registry virtualization.
This is what we have found:
This is cleary a bug/incompatibility in ClickToRun when using .NET Framework.
What you see as leaked handles in ProcessMonitor are a lot of handles to
\REGISTRY\MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings
I don't know how to best report this to Microsoft.
May 31 2022 05:12 AM
Jun 08 2022 12:00 AM