TechnologyWindows

5 Ways Fix the “Directory is Not Empty” Error 0x80070091

A number of customers reported getting an error Listing isn’t empty, error 0x80070091 when making an attempt to delete a folder inside Home windows Explorer. Generally, you may additionally see an error message that reads the next –

The listing isn't empty," and you'll't delete the folder

Although it’s acknowledged within the error message that the listing isn’t empty, the folder could or could not comprise any recordsdata. In both case, it isn’t associated as to if there are recordsdata or not inside a listing however reasonably the folder itself is corrupt or comprises some defective recordsdata inside it. 

5 Ways Fix the Directory is Not Empty Error 0x80070091

Associated Put up: Repair System Restore Error 0x80070091 on Home windows 11/10

Repair Listing is Not Empty, Error 0x80070091

Now that you understand what an error 0x80070091 is, and when it happens, let’s study the the explanation why it seems, and methods to overcome this challenge. 

1. Rename the listing

If you find yourself unable to open a listing, it’s possible you’ll both delete or rename that specific listing. Nevertheless, in case you don’t have the required permission to carry out such duties on a particular folder, it’s possible you’ll launch Command Immediate having admin rights after which execute this code on it. 

rmdir /s "folder path"

Word: Be certain to switch the folder path within the above command with the precise folder location inside your Home windows PC. For instance, rmdir /s C:UsersusernameFolderName.

2. Restart Home windows File Explorer

At occasions, it’s possible you’ll resolve such errors by merely restarting the File Explorer. For this open Process Supervisor by urgent Ctrl + Shift + Esc. Find Home windows Explorer underneath Processes, right-click on it, and choose Restart

Restart Windows Explorer - Directory is Not Empty

Anticipate the File Explorer to launch once more and when it does occur, verify if you happen to can entry the listing with none error code 0x80070091.

3. Use System File Checker

Lacking or corrupt system recordsdata and folders can also trigger an error “The listing isn’t empty” 0x80070091 in your pc. If that’s the case, it’s possible you’ll use System File Checker and provoke the SFC scan over it. 

  • Launch CMD as administrator first and execute the beneath code on it.

sfc /scannow

SFC in Windows CMD Terminal - Directory is Not Empty

  • Anticipate the following 10-Quarter-hour to let this process full 100%.

After the SFC scan is over, restart your PC, and verify if the error 0x80070091 resolves this fashion. 

4. Verify for dangerous sectors in your HDD

The presence of defective or dangerous sectors in your exhausting disk can also end result on this “The listing isn’t empty” error in your Home windows PC. Whether or not your exhausting disk is corrupt or not, it’s possible you’ll affirm the identical by working the Verify DISK software. 

Right here’s how –

  • Press Home windows + X, and choose Terminal (Admin).
  • Use Ctrl + Shift + 2 to launch Command Immediate contained in the terminal. 
  • Copy/paste the next on it and press the Enter key. 

chkdsk C: /f /r

CHKDSK Windows 11

  • If the foundation drive differs in your case, substitute C: along with your precise drive letter. 
  • For the reason that root drive is already in use, the CHKDSK command won’t provoke.
  • As a substitute, this prompts whether or not you need to schedule the command when your PC restarts. 
  • Kind Y and press Enter. 

Shut the CMD window and restart your PC. The CHKDSK will quickly resume and begin inspecting your exhausting disk. Anticipate this scan to finish and when that is over, you’ll get to know whether or not your exhausting drive is OK or not. 

Which Providers You Can Safely Disable on Home windows 11

5. Get the required Permissions and delete the folder

In case your exhausting disk is all good, the 0x80070091 error have to be occurring as a result of not having correct rights over the required folder. Effectively, in that case, it’s possible you’ll get all of the required permissions and delete the folder afterward. 

  • Navigate to the folder containing the listing that isn’t empty. 
  • Proper-click on the affected folder, and choose Properties
  • Go to the Safety tab and click on Superior
  • Click on Change subsequent to the proprietor’s title.

Click Change and modify Owner rights for Ngc

  • Enter your Home windows person account title, Verify Names, and hit OK.
  • Choose “Substitute proprietor on subcontainers and objects.”

take ownership of a file or folder in Windows 11

  • Click on Apply after which OK in Superior Safety Settings.

Confirm Windows Security allowing a user profile to have ownership rights

  • Click on OK to substantiate taking possession of an object. 

Shut all opened tabs and home windows and restart your pc. From the following login, you have to be capable to delete or rename the listing which was earlier not taking place. 

Disable Antivirus to Repair Error 0x80070091

Hopefully, the error 0x80070091 should have been resolved by now. If not, this have to be as a result of some safety functions interfering with the essential operations in Home windows. If that’s the case, you need to uninstall third-party antivirus or disable Home windows Safety (if utilizing it).

In case this does clear up the error 0x80070091 in your Home windows PC, there have to be some malware or viruses in your PC. Effectively, to resolve the identical, it’s possible you’ll provoke the Full Scan utilizing Home windows Defender or every other antivirus program that you just use in your PC. 

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button