Microsoft Windows Error Code 0xC0000101: How to Fix It

Easy 15-30 minutes Medium Severity Verified June 2026
Error Code
0xC0000101
Brand
Microsoft Windows
Product Type
operating_system
Severity
Medium
DIY Difficulty
Easy
Estimated Fix Time
15-30 minutes
Error 0xC0000101 (STATUS_DIRECTORY_NOT_EMPTY) occurs when Windows tries to delete or move a directory that still contains files, often appearing during backups, file operations, or system restores. This guide provides easy-to-follow steps to locate and clear the problematic directory, fixing the error without data loss.
Ad

Tools You'll Need

How to Fix Error Code 0xC0000101

  1. Identify the Problematic Directory

  2. Run System File Checker (SFC)

    Do not close the Command Prompt window during the scan.
  3. Delete or Empty the Directory Using Command Prompt

    Double-check the directory path; this action cannot be undone.
  4. Use File Explorer with Show Hidden Files

  5. Check for File Locks

    Ending critical system processes may cause instability; only end non-essential processes.
Ad

When to Call a Professional

If you cannot delete the directory even after trying all steps, or if the error occurs during system restore and prevents Windows from starting, consider professional help. Data recovery or advanced registry fixes may be needed.

Frequently Asked Questions

What causes error 0xC0000101 in Windows?
This error occurs when Windows attempts to delete or move a directory that still contains files. It is commonly triggered by backup software, system restore points, or manual file operations on folders with hidden or system files.
Can error 0xC0000101 cause data loss?
The error itself does not cause data loss, but the actions you take to fix it (like deleting the directory) can. Always back up important files before proceeding with deletion.
Will running CHKDSK fix error 0xC0000101?
CHKDSK checks the file system for errors but may not directly fix this directory issue. It is recommended to run CHKDSK (/f) as a precaution before other steps, but the primary fix is to remove the problematic directory.
How do I find which directory is causing the error?
The error message typically includes a file path. If not, you can use Event Viewer (Windows Logs > Application) to find detailed error entries. Look for Event ID 1000 or similar with source 'Application Error'.
Is it safe to use the rmdir /s /q command?
Yes, but only if you are absolutely sure the directory is unnecessary. This command permanently deletes the directory and all its contents without confirmation.