Hi @Denis Pasternak
This error is caused by the operation of the file system. We tried to restore OneDrive directories, perform a full synchronization
Have you tried to run Chkdsk Scan?
If not, please unlink OneDrive and quit OneDrive client first.
- Open command Prompt as an Administrator.
- Type in chkdsk c: /r /f
- When command prompt asks to answer Y/N, answer Y and allow disk check. (Note: If your system drive is different, then replace it with your drive letter e.g. put a d: instead of a c:)
- Restart PC, allow the disk check to run. Log back into your PC and then delete the folder or file.
If the steps above do not work, please try following steps to have a check.
- Pause OneDrive sync for 2 hours or longer in the desktop app on the local computer.
- Go to OneDrive online and delete the respective file online. (Just in case, before delete files, please back them up.)
- Restart PC in Windows Safe Mode and delete the file on the local computer.
- Restart PC in normal mode to have a check.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.