Error code 0x80070091 pops up on Windows 10 running computers in 2 major cases:
- While Performing System Restore
- When Deleting a File or Folder (in rare cases)
And, in this article, it is explained how to resolve error code 0x80070091 in Windows 10 easily in both the criteria.
Case 1: Fix System Restore Error Code 0x80070091 in Windows 10
Error code 0x80070091 in Windows 10 may block your system restore process, by screening the below message on the screen.
|System Restore did not complete successfully. Your computer’s system files and settings were not changed.
Details: “System Restore failed while restoring the directory from the restore point.”
“An unspecified error occurred during System Restore. (0x80070091)”
“You can try System Restore again and select a different restore point. If you continue to see this error, you can try an advanced recovery method.”
“System restore error code 0x80070091” indicates that the on-going restore process aborted at AppsStaging. So, corrupt/damaged files in ProgramFiles or WindowsApps folder, bad sectors might be the cause for this system restore error code 0x80070091.
Methods to Fix System Restore Error Code 0x80070091 in Windows 10:
- Do a System Restore in Windows Recovery Mode
- Click the Start button, then Settings.
- In the Windows Settings window, click the Update & Security option.
- Click the Recovery button from the left side panel. Under Advanced startup, click Restart Now.
- Next, in the blank blue screen, select Troubleshoot.
- Go for Advanced Options and opt System Restore.
Select your user account, provide credentials and hit Next. Select a system restore point, and follow the on-screen instructions to complete the system restore process.
- Rename the WindowsApps Folder
- Open Run app in the Windows 10 Cortana. Type msconfig and hit OK.
- In System Configuration wizard, switch to Boot tab. Under Boot options, enable Safe boot and hit OK. Restart the system.
- Now, your computer is booted in Safe mode. Open Command Prompt from the Start menu (by right-clicking).
- Type in below commands in the CMD and press Enter key after each:
cd C:\Program Files
takeown /f WindowsApps /r /d Y
icacls WindowsApps /grant “%USERDOMAIN%\%USERNAME%”:(F) /t
attrib WindowsApps –h
rename WindowsApps WindowsApps.old
- Close Command Prompt, open System Configuration window and disable Safe boot.
- Reboot the computer and try to do a system restore.
- Run CHKDSK
Since CHKDSK fixes bad sectors on hard drive, it is suggested to run CHKDSK on Windows 10 computer to resolve system restore error code 0x80070091.
Here are steps to run CHKDSK on Windows 10 hard drive:
- In Start menu, search cmd. Right click on Command Prompt and select Run as Administrator. Click Yes in the UAC (User Account Control) dialogue box.
- Type chkdsk /f /r *: (replace * with driver letter of the drive on which you want to run CHKDSK) and press Enter.
- Type Y and click Enter button (if you are asked for the permission).
Wait till the repair process gets completed.
Case 2: Fix Error Code 0x80070091 in Windows 10 When Deleting a File/Folder
1 Interrupted Action
“An unexpected error is keeping you from deleting the folder. If you continue to receive this error, you can use the error code to search for help with this problem.”
Error 0x80070091: The directory is empty.
Try Again Skip Cancel
Error code 0x80070091 in Windows 10 also appear when you try to delete a file or folder, in the above form.
Few common causes behind this error message are:
- You don’t have access to deleted the respective file/folder
- Hard drive having bad sectors
- Temporary folder is overloaded with junk files
- Corrupt, damaged or outdated drivers
Ways to Fix Error Code 0x80070091 in Windows 10 after File/Folder Deletion:
- Access Permission on the File/Folder
- Right-click on the parent folder that holds your file/folder (which you want to delete) and select Properties.
- Select the Security tab and click the Advanced
- Under Owner option, click Change.
- In Change owner to box, select the new owner.
- Choose Replace owner on subcontainers and objects and hit OK.
- Delete the “Windows.old” Folder
- In Run app, type C:\windows\SYSTEM32\cleanmgr.exe and hit OK.
- After the scan, click Previous Windows installation(s) located below Files to delete.
- Say OK, then Delete Files
- Delete Junk System Files
- Launch Disk Cleanup app from the Cortana.
- Select the drive to clean and click OK
- You will be presented with a list of junk files to delete like Temporary Internet Files, Old Windows folder, Temporary files, and more.
- Select unwanted files and folder to delete. Also, select the file/folder which is throwing error code 0x80070091 and delete it using Disk Cleanup.
- Update Drivers
- Open Device Manager app from the Start
- Expand each driver software and right-click on it
- Select Update driver option
- Choose “Search automatically for updated driver software” to auto-update drivers
- Else, download driver software from the official Microsoft website first. Then go for “Browse my computer for driver software” option to manually update driver software.
Added Info: A do-it-yourself easy guide to recover files after factory reset Windows 10 is just a click ahead. Try it and restore your important files lost after factory reset in a few simple steps.