Fix Error 0x80070091 in Windows with Easy Solutions Guide
User Query: I deleted a folder on Windows, but now it says Error 0x80070091. The directory is not empty. How do I fix it?
Summary: If you use Windows regularly, you may have seen Error 0x80070091 while trying to delete, move, or modify a folder. The message usually states that “The directory is not empty,” even when the folder appears to have no files inside. This situation can be frustrating because it prevents normal file operations and leaves unwanted folders stuck on your system. In this blog, we will explain several practical methods to fix Error 0x80070091. We will also discuss a reliable DRS Windows Data Recovery that can help recover files in multiple cases, such as drive corruption, damaged directories, etc.
What Is Error 0x80070091?
Error 0x80070091 is a Windows system error that shows up when you try to delete or rename a folder, and Windows can’t complete the action. The full message usually reads:
“An unexpected error is keeping you from deleting the folder. Error 0x80070091: The directory is not empty.”
Despite what it says, the folder might appear empty. The real problem is happening underneath the system. A hidden file may be stuck inside the folder, or another program may still be using it. In some cases, the folder itself becomes corrupted. It can also happen when Windows faces a sync conflict with OneDrive or another cloud service.
What Causes Error 0x80070091?
- Hidden or system files are still inside the folder.
- Another program is actively using the folder.
- OneDrive or cloud sync is interfering.
- The folder or files are corrupted.
- Moreover, permission issues.
How to Fix Error 0x80070091 — All Working Methods
Alright, let’s get into the fixes. There’s no single cure-all for this error — different situations call for different approaches. Work through the methods below one by one and stop when something clicks.
Method 01: Run the System File Checker Tool
The System File Checker is a built-in Windows tool that scans and repairs damaged or missing system files. Follow these steps:
- Firstly, open Command Prompt and run it as Administrator.
- In the command window, type: sfc /scannow
- Now, press Enter to start the scan.
- Wait for the process to complete.
- Restart your computer after the scan finishes.
Method 02: Run the Check Disk Utility to Resolve Error 0x80070091
Disk errors or file system issues can also trigger this problem. The Check Disk utility scans the drive and fixes related errors. Steps to follow:
- Open Command Prompt as Administrator.
- Type the following command: chkdsk C: /f /r
- Next, press Enter and allow the system to check the drive.
- Restart your computer once the scan is completed.
- After the restart, try deleting the file or folder again to see whether the 0x80070091 error has been resolved.
Method 03: Use Windows Recovery Environment
You can also try restoring your system using the Windows Recovery Environment, especially if the problem started recently. Steps:
- Primarily, press the Windows key.
- Afterwards, click Restart while holding the Shift key.
- Windows will open the Recovery Environment.
- Select Troubleshoot. Click Advanced Options.
- Further, choose System Restore.
- Select a restore point and follow the on-screen instructions.
- This process will restore your system to a previous working state.
Method 04: Start Windows in Safe Mode to Fix Error Code 0x80070091
Safe Mode runs Windows with only the essential system services. This often helps remove files or folders that are locked by other programs. Steps:
- Restart your computer.
- When Windows starts loading, press the Power button to interrupt it. Repeat this process two more times.
- Windows will open the Advanced Startup screen.
- Select Troubleshoot and click Advanced Options.
- Choose Startup Settings and then click Restart.
- After the restart, press 4 (F4) for Safe Mode or 5 (F5) for Safe Mode with Networking.
- Once Safe Mode opens, try deleting the folder again.
Method 05: Scan the System for Malware
In some cases, malware or suspicious programs can prevent files from being removed. Running a full security scan may help. Steps:
- Press Windows + I to open Settings.
- Go to Update & Security.
- Select Windows Security.
- Click Virus & Threat Protection.
- Scroll down and select Scan Options.
- Choose Microsoft Defender Offline Scan. Click Scan Now.
- This will perform a deep scan and remove any potential threats.
- Once the system restarts, try deleting the folder again. If the error still appears, move to the next method.
Important Note:
- If the error still appears after trying all these methods, the problem may be caused by deeper system issues, such as directory corruption. Sometimes multiple factors are involved, which makes the issue harder to diagnose.
- Also, be careful while performing these steps because some commands may permanently delete folders and their contents. If the data inside the folder is important, using a reliable automated recovery tool can be a safer option.
Complete Solution to Fix Error 0x80070091 in Windows
The DRS Windows Data Recovery Tool provides a reliable way to deal with issues caused by drive, file, or directory corruption. It can also help recover data in situations such as Windows crashes, accidental deletion, or damaged storage media. The software is designed to restore lost or inaccessible data from various storage devices, including DVDs, CDs, HDDs, USB drives, and microSD cards. With its advanced recovery engine, it scans the storage device and retrieves the maximum possible data without affecting existing files. Also, helpful to fix the file not found error in Windows 10 and other errors.
Simple Steps to Resolve Error Code 0x80070091 in Windows
- Download and install the DRS Windows Data Recovery Software.

- Choose the drive/physical drive you want to recover and click Next.

- Select the Recovery Modes from the different options. Press Next.

- After that, wait for the scanning process until it is done.

- Lastly, preview all the recovered Windows data and click Save.

Conclusion
Error 0x80070091 is annoying, but it’s rarely a dead end. Run SFC or use Command Prompt first to fix Error 0x80070091. If the folder still won’t budge, work through Safe Mode or CHKDSK. Just be careful if there’s anything important inside, because some of these steps delete content permanently. When data is at risk, the DRS Windows Data Recovery Tool is worth running before you do anything else.
Frequently Asked Questions
Ans: It means Windows tried to delete or rename a folder and couldn’t finish the job. The system detected that the directory still contains something — even if the folder appears empty to you. That “something” could be a hidden file, a locked process, a corrupted entry, or a cloud sync conflict happening in the background.
Ans: Most people run into it when trying to delete a folder that looks empty, moving or renaming a directory that another program is using, or after a Windows update that left behind partially deleted files. It also shows up fairly often with folders that are inside a OneDrive or cloud sync path.
Ans: It can, yes — more than people expect. If the affected folder is part of a shared drive, a project directory, or a synced workspace and confuse other team members who access the same location. In environments where folder structures are tightly managed, even one stuck directory can create a ripple effect.
Ans: Yes. The tool is built to work across multiple versions of Windows, including Windows 11, 10, 8, and 7. It also supports a wide range of storage devices — HDDs, SSDs, USB drives, microSD cards, CDs, and DVDs — so it’s useful well beyond just this one error.
About The Author:
I, Aaradhya Jain, a technical content writer at DRS Solutions, specializes in delivering clear, practical guides on data management, migration, and recovery tools. With a detail-oriented and user-first approach mindset, I transform complex processes into actionable insights for IT professionals and decision-makers.