Microsoft Windows Error Code 0x80070010: How to Fix It

Easy 10-20 minutes Medium Severity Verified June 2026
Error Code
0x80070010
Brand
Microsoft Windows
Product Type
hresult
Severity
Medium
DIY Difficulty
Easy
Estimated Fix Time
10-20 minutes
Error code 0x80070010, also known as ERROR_CURRENT_DIRECTORY, occurs when Windows cannot delete or rename a folder because it is the current working directory of a running process. This often happens when trying to delete a folder from File Explorer or using Command Prompt. This guide will help you identify and close the locking process so you can remove the folder.
Ad

Tools You'll Need

How to Fix Error Code 0x80070010

  1. Close Programs and File Explorer

    Ending File Explorer will remove your taskbar and desktop icons temporarily. Don't worry, they'll return after you restart Explorer.
  2. Use Command Prompt to Change Directory

  3. Identify and Stop the Locking Process

    Be careful not to end critical system processes (like svchost.exe). If unsure, restart your computer and try again.
  4. Restart Windows Explorer

  5. Delete the Folder Again

Ad

When to Call a Professional

If you cannot identify the locking process or if error persists after a clean boot, consider contacting a Windows technician to avoid data loss or system issues.

Frequently Asked Questions

What causes error 0x80070010 in Windows?
This error occurs when you try to delete or rename a folder that is set as the current directory of a running process. Common culprits include File Explorer, Command Prompt, or any program that has the folder open.
Can I fix error 0x80070010 without third-party tools?
Yes, you can try closing all programs, ending File Explorer in Task Manager, and using Command Prompt to change the current directory away from the folder. If that fails, Process Explorer helps identify the lock.
Is error 0x80070010 serious?
It is a medium-severity error that prevents you from deleting or renaming a folder. It does not damage your system, but it can be frustrating. Following these steps usually resolves it.
What if Process Explorer doesn't show any process holding the folder?
If no process is listed, try rebooting your computer. A restart clears all temporary locks. Then attempt to delete the folder immediately after logging in before any programs start.
Can this error affect my files or data?
No, the error only prevents you from removing or renaming the folder. Your data inside is safe. However, if you force delete the folder via an unlocker tool, ensure you've closed all programs using it to prevent data corruption.