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.