>>>This could be the problem (network connection). Unfortunately, the customer won't let me connect to a user PC and read the Windows event viewer. I have to learn how to make the app deal with these type of errors on my own.
>>
>>Why don't you use a loader? Then the exe would be copied to the user's local drive, somewhere in %appdata%\dmitry\temp or some such folder, and any further decisions of M$ in regards of "this exe is staying open too long and holding up the handle... lemme close it for a while" would become irrelevant. No network, no problem.
>
>What loader would you recommend?
I'd write one, starting from any loader you find here in downloads, if I didn't already have it (but can't share, "have" != "own").