How to Fix Error 0x80070091 During System Restore and Folder Deletion.

There are countless errors and bugs that you may stumble across when using Windows 10, error code 0x80070091 being one of the least common but most annoying. Generally, there are two situations this error is triggered, the first being during the Windows System Restore process. The second being on odd occasions when trying to delete folders. Regardless of when and how you receive this error message, these are the steps you need to follow to fix it.

How to Fix Windows Getting Stuck on the Loading/Getting Ready Screen.

The Windows System Restore tool is an invaluable feature that can save you tons of time and heartache if you need to wind your system back to a previous state. Unfortunately, the System Restore feature can fail, often displaying error 0x80070091, for example, during a system restore, you will most likely see the following error message:  

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.
Source: AppxStaging
Destination: %ProgramFiles%\WindowsApps
An unexpected error occurs during system restore. (0x80070091)

You may also see an error message like the one below when you are trying to delete folders from your computer:

Error 0x80070091: The directory is not empty.

Generally, you will see these error messages if there is a problem with your hard drive, so running a disk check should help fix the issue.

Fix Error 0x80070091 By Running the 'chkdsk' Command.

Now we have established that a possible cause for Error 0x80070091 is an issue with the disk, below is a method you can use to run a disk check which should resolve the error.

Note: If the folder is on a different disk drive, like D, E or F, You will need to replace C with that drive letter. For example, chkdsk /f /r D:)

 

Boot Windows Into Safe Mode.

If the above method failed to fix the issue for you, you can try to delete the folder or perform a System Restore in Safe Mode. If you don’t know how to find Safe Mode on Windows 10, this guide will show you how: 5 Ways to Find the Advanced Startup Menu in Windows 10. If deleting the folder or performing a System Restore in Safe Mode still failed to fix the issue, you can try the final solution below.

 

Rename the 'WindowsApps' Folder to Fix Error 0x80070091.

If you encounter this error message: Destination: %ProgramFiles%\WindowsApps it means there is an issue with something in the C:\Program Files\WindowsApps directory stopping Windows system restore from completing. Deleting or renaming this folder will fix error 0x80070091, unfortunately deleting or renaming this folder is quite a process, so make sure you follow the steps closely.

That should have completely fixed error 0x80070091.

Comments