How to prevent windows from asking you what to do with this file?

Welcome to Programming Tutorial official website. Today - we are going to cover how to solve / find the solution of this error How to prevent windows from asking you what to do with this file? on this date .

So I have a Windows 10 computer and I tried to transfer 100 GB of data, approx. 10000 files and 10 hours of transfer time. I want to run this copying process overnight but the problem is, on file 3000, windows pauses and says:

There are mutiple instances with the same name: desktop.ini. Do you want to keep the files or discard one of them, or skip?

This pops up and it ruins my whole file transfering process because windows won’t continue, I also can’t find all the hidden “desktop.ini” files in my 10000 file folder. Is there some registry associated with this so that windows automatiacally skips all files with the same name, so I dont have to worry about it pausing overnight?


There are many ways to do the transfer and Robocopy will be the fastest way.

I have used this free program called FreeFileSync many times and it can exclude files or folders that are not needed like Robocopy can. The advantage with Freefilesync is ease of use for people that prefer a graphical user interface (GUI).


The settings menu allows you to add and remove files/folders to exclude from the transfer as seen in the image below.

enter image description here