When browsing through folders and cleaning them up, sometimes the process halts due to a preview that is being generated (even if the preview of a temporary copy is set).
Temporarely closing the preview would help. Does it make sense to try to automate this with a button+script?
Well it actually happens systematically with xlsx, pptx, pdf (even small ones), ... residing on our sharepoint but even so on locally available files. I'm now on a new and fast machine with latest specs, so I thought the issue would disappear, but it does not.
I've unistalled f-secure, worked with standard defender and now with Bitdefender. It doesn't seem to have impact.
Will try to analyse further, and report later on. Maybe disable the app or the preview from being watched in antivirus.