Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
Error Code error-delete-pending — Windows 11
ERROR_DELETE_PENDING = 303
Oprava založena na komunitních zprávách a expertní analýze. Naposledy ověřeno: 2026-08-12
· Jak ověřujeme opravy
| Error Code | error-delete-pending |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 15 min |
| Requires Admin Rights | ⚠️ Yes |
Postup řešení
- 1 First, try to close any programs that might be using the file. If you know which application is using it, close it. If not, press Ctrl+Shift+Esc to open Task Manager. Look for processes that might be using the file (e.g., your antivirus, Windows Explorer, or a background app). Right-click and select 'End task' for suspicious processes.
- 2 If the file is still locked, open Command Prompt as administrator (Win+R, type 'cmd', Ctrl+Shift+Enter). Use the 'del' command to delete the file: type 'del "C:\path\to\file"' and press Enter. If the file is a folder, use 'rmdir /s "C:\path\to\folder"'. This forces deletion and may bypass some locks.
- 3 If the command fails, use the 'takeown' command to take ownership of the file: type 'takeown /f "C:\path\to\file"' and press Enter. Then use 'icacls "C:\path\to\file" /grant administrators:F' to grant full control. This gives you the necessary permissions to delete the file.
- 4 If the file is on a network share, the error might be due to oplocks. Try disabling oplocks on the server or client. On the client, you can run 'fsutil behavior set disableoplock 1' in Command Prompt as administrator. This can resolve delete pending issues on network drives.
- 5 As a last resort, schedule a deletion on reboot. Open Task Scheduler (press Windows key, type 'Task Scheduler'), create a new task that runs a batch file with the delete command at startup. This ensures the file is deleted before any process locks it.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Stále máte problémy?
Popište svůj přesný problém Error Buddymu a získejte personalizovanou opravu během několika sekund.
🛠️ Vyzkoušet Error Buddy — Zdarma