Windows Defender copy protection interferes with our product

Copper Contributor

Hello, I'm Maarten Tops from Utomik. Utomik is a gaming platform that downloads small parts of a game and runs out while downloading the rest of the game in the background. This is achieved through hooking the Windows API file system functions to create a virtual file system.


The context for this question is the [CopyFile][1] function. Normally when a game calls this function our hook simply translates the paths provided and calls the actual Windows API with those.
Lately a particular Windows Defender behavior is breaking this. When CopyFile is called multiple times by a game (between 5-7 times in our experience) the game suddenly loads MpDetoursCopyAccelerator.dll and another process (I'm guessing the Defender process) takes care of the actual copy. Because this other process is not operating in our virtual file system context the copy operation fails. This in turn can cause the game to produce an error message.


After investigating this issue we found we could prevent this behavior by blocking the loading of the MpDetoursCopyAccelerator.dll file. The game will in that case simply use CopyFile again and everything works as intended. However we feel that working against specific security software in this way is not our preferred solution. Is there another way we can approach this issue?


Thanks for your time,
Maarten Tops
Senior Software Developer


3 Replies
Does it happen in case you disable the Microsoft Defender?
How you developing your program , are you using C/C++?
Are you Microsoft .NET?
The problem does not happen when the Defender is disabled.
The product (the virtual file system part) is C++.
I advise you to ask your question on:
They would be able to guide you on this issue.