If you receive Invalid file handle error during rename, delete, copy, etc. operations in Windows 11/10/8/7, here is a simple solution that will fix your problem ...
Anyone else experience broken files with "invalid file handle" coming up when trying to delete/copy/move them? I did some google searching and found that someone else fixed it with a chkdsk /f /r run.
Unable to delete, move, or perform any action on a file because it is locked by a process? Find out which process is locking a file in Windows 11/10 using various methods discussed in this article.