RepairMyOS
live db
C:\Windows\System32\winevt\Logs > Event 0x80070091
Critical

0x80070091_

System Error — Dir Not Empty

Windows 10/11 · System Error

Seeing 0x80070091 on Windows 10/11 means the OS detected "System Error — Dir Not Empty". Before reinstalling anything, work through the steps below — the fix is often simpler than it looks.

0x80070091 Fix Snapshot

Severity Critical
Applies to Windows 10/11 · System Error
Cost range $0 – $70 USD
Start with Close processes locking the resource or restart your PC

What Actually Happened

Windows reported 'the directory is not empty'. This usually traces back to a locked file or broken system permissions.

Symptoms

An application, File Explorer action, or system task fails with error 0x80070091

Common Causes

  • The Win32 condition ERROR_DIR_NOT_EMPTY was raised: the directory is not empty
  • A file or folder involved in the operation is locked or missing permissions
  • System file corruption affecting the component

How to Fix It

  1. 01
    Close processes locking the resource or restart your PC
  2. 02
    Run system repair:
    sfc /scannow in an elevated Command Prompt
  3. 03
    Verify file/folder permissions under Properties > Security
⚡ INSTANT REFERENCE KIT

System Administrator Emergency Kit

Stop searching for syntax under pressure. Get 100+ verified, battle-tested emergency recovery commands for Windows & Linux in one printable PDF guide.

Root Cause Breakdown

0x80070091 wraps Win32 error 145 (ERROR_DIR_NOT_EMPTY), indicating the directory is not empty.

Should You Worry?

No inherent risk to your data, but investigate repeated failures.

Power-User Tip

Check Event Viewer (Windows Logs > Application) for timestamp details on 0x80070091.

Frequently Asked Questions

What does error 0x80070091 mean on Windows 10/11?

Windows reported 'the directory is not empty'. This usually traces back to a locked file or broken system permissions.

How do I fix error 0x80070091 — System Error — Dir Not Empty?

Work through the System Error steps above in order, starting with: Close processes locking the resource or restart your PC. DIY: $0; Remote technician: $30–$70.

Will fixing error 0x80070091 erase my personal files?

No. Standard fixes for 0x80070091 focus on repairing software configurations, caches, or drivers on your Windows 10/11 system — your personal files remain untouched.

Estimated Fix Cost USD
$0 – $70

DIY: $0; Remote technician: $30–$70