Windows 10 try to load non-existing mun files

Ilona Kocur 16 Reputation points
2021-02-23T15:13:22.407+00:00

I have a problem with time-consuming network Windows operations. When I load my *.dll resorces, Windows 10 is trying to load matching *.dll.mun files (it's not from my software, it's system specific) for all the dll's loaded in my program, from non existing folder SystemResources. Windows expects SystemResources folder to be located next to folder which contains my software. When dll's are on network share this causes access to IPC$ share, on some systems it's very time-consuming, which is very problematic.
Problem is visible in simple, clean mfc application. Below is trase from procmon, where it's visible that system is trying to access IPC$ share multiple times, where searching for mun files in SystemResources folder, which does not exist.

71146-image.png

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,618 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
{count} votes