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.

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.

Estimated Fix Cost USD
$0 $70

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