Forum Discussion
Delay in deleting files
First please understand that I have been doing all sorts of searches about this known problem and I have followed various instructions that are suppose to solve it but nothing has. Also please understand that while I'm not new to Windows (been using since XP) but am new to Windows 11 (since the start of October).
Nearly every single time (but oddly not every time) I have a file highligthed and then hit "Delete" (choosing either "Delete" button in File Explorer or right clicking the file and clicking the delete option in the pop-up menus) there is a relatively long delay. First nothing happens. Then a progress bar appears, but tthat sits there doing nothing for 2 to 3 seconds. THen it "calculates" as the progress bar slides over to 100%.
All that takes about ten to fifteen seconds, which is about ten to fifteen MORE seconds than I'm used to.
Every single website that refers to this known problem says it has been there since Windows 7. But I still have a Windows 10 machine (about 8 years old) that has never ever done this. You highlight a file; click delete; and boom it's gone. Even with a choice of "permanent delete".
One instructed to change a Registry line and I did that. Didn't change anything.
One site instructed me to click the properties for a folder; go to customize and choose "optimize this folder for general items". That was already chosen.
Another said to go to Control Panel and to Turn Off/On Windows Features and to turn off Remote Differential Compression. It was already off.
Another site referred to indexing. I thought that was the solution because I had turned all that off. But I turned it all back on and no change.
...........
A lot of sites are saying that's just the way it works. But then why is my Windows 10 machine deleting files without doing this at all (and has that Remote Differential thing on!)?
2 Replies
An intermittent ten-to-fifteen-second delay needs measurement before more registry changes. Your indexing, folder-template and Remote Differential Compression tests have not identified which part of deletion is waiting.
First compare a small disposable file in a local folder outside OneDrive with a file in the location where you normally see the delay. Keep the normal Recycle Bin behavior. Record whether the delay follows one drive or folder, or occurs everywhere.
Microsoft's Sysinternals Process Monitor can capture file-system activity. Start a short capture, reproduce one slow deletion, stop capture, and filter for explorer.exe and the test file's path. Examine operation times, results and event stacks; compare with a fast deletion if possible. A trace can provide evidence of the waiting operation without assuming that antivirus, storage or Explorer is responsible.
Keep the trace private because it can contain paths and usernames. Share the Windows build, storage location type and redacted events.
- JimCricketCopper Contributor
Thank you for your reply. Unfortunately I kind of lost you at the first sentence. I barely know how to reply.
But to the best of my knowledge, this happens with most every single file. Sometimes it doesn't but then those would be among the same list of files (all TIFF or RAW files) where it has just delayed before.
I have One Drive turned off and then uninstalled.
I am only performing "permanent" deletions. Nothing goes to the Recycle Bin.
I have no idea what Microsoft's Sysinternals Process Monitor is.
According to searches, most the explanations I am seeing is that this is all perfectly normal (if not also necessary). But it has never happened on my Windows 10 machine.