Forum Discussion
Files stuck in sync. Can't delete. Error: 0x80070185
- Apr 02, 2026
1. To Stop OneDrive completely
Press Ctrl + Shift + Esc
Open Task Manager
Find Microsoft OneDrive
Click End task
2. Force delete the file
Press Windows + R, type cmd, press Enter
Run this command:
del /f /q "FULL FILE PATH"
If it’s a folder, run:
rmdir /s /q "FULL FOLDER PATH"
Important: Replace "FULL FILE PATH" with the actual file location.
You can get it by holding Shift + right-clicking the file → "Copy as path".
3. If deletion fails
Restart your PC in Safe Mode
Try deleting the file again
4. Rebuild OneDrive sync
Open OneDrive → Settings → Account
Click "Unlink this PC"
Sign in again
That is the first thing I ran into and tried. I just tried it again and it didn't work again.
1. To Stop OneDrive completely
Press Ctrl + Shift + Esc
Open Task Manager
Find Microsoft OneDrive
Click End task
2. Force delete the file
Press Windows + R, type cmd, press Enter
Run this command:
del /f /q "FULL FILE PATH"
If it’s a folder, run:
rmdir /s /q "FULL FOLDER PATH"
Important: Replace "FULL FILE PATH" with the actual file location.
You can get it by holding Shift + right-clicking the file → "Copy as path".
3. If deletion fails
Restart your PC in Safe Mode
Try deleting the file again
4. Rebuild OneDrive sync
Open OneDrive → Settings → Account
Click "Unlink this PC"
Sign in again
- MSNoob101Apr 24, 2026Copper Contributor
Technically this is the solution.
I did have to use system configuration to go into diagnostic startup and delete the files with my mouse and right clicking though as all other forms of safe restart are not working on my computer for some reason.