FacebookTwitterLinkedIn

How to Fix Error 0x80070091 "System Restore did not complete successfully" on Windows 10

How to Fix Error 0x80070091 "System Restore did not complete successfully" on Windows 10

The System Restore feature in Windows operating systems allows users to return to a previous computer state (to a restore point, if one was created) automatically or manually. However, even System Restore can experience issues.

error 0x80070091

System Restore often helps resolve problems. However, in some cases, you might receive an error when attempting to restore the system. The error usually contains information such as "System Restore did not complete successfully. Your computer's system files and settings were not changed".

It might also state that System Restore failed while restoring the directory from the restore point and that this is an unspecified error with code 0x80070091 and source AppxStaging. It also gives the option to run System Restore again and choose a different restore point. This might not be useful if you only have one restore point created or other restore points are not at the required dates/times.

This error 0x80070091 often indicates problems with the WindowsApps folder or that the destination folder is not empty, i.e., a folder was required to be empty but contained files, and thus System Restore could not be completed. You could simply delete or rename the folder, but this is not as easy as it may seem. Fortunately, you can address this problem by following the steps in the guide below.

Video Guide on How to Fix Error 0x80070091 "System Restore did not complete successfully"

Table of Contents:

Rename the WindowsApps Folder in Safe Mode

Safe Mode is a diagnostic startup mode in Windows operating systems used to obtain limited access to Windows when the operating system does not start or function normally. It can help to troubleshoot problems on your computer. If, for example, the problem does not occur in Safe Mode, this will confirm that the default settings and basic device drivers are not causing the issue.

To rename the WindowsApps folder, you must use Safe Mode or the Windows Recovery Environment (WinRE). First, we demonstrate Safe Mode.

To boot into Safe Mode, go to Windows Settings and click the "Update & Security" option.

rename the windowsapps folder in safe mode step 1

Select the "Recovery" section in the left pane and click the "Restart now" button under Advanced startup.

rename the windowsapps folder in safe mode step 2

Your computer will restart, and you will see a menu on a blue screen. Select the "Troubleshoot" option.

rename the windowsapps folder in safe mode step 3

In the Troubleshoot menu, click "Advanced options".

rename the windowsapps folder in safe mode step 4

In the Advanced options window, find and click "Startup Settings".

rename the windowsapps folder in safe mode step 5

In Startup Settings, click "Restart".

rename the windowsapps folder in safe mode step 6

You will be presented with a list of options. To choose an option, press the number on your keyboard or use function keys from F1 to F9. Press 4 or F4 on your keyboard to enable Safe Mode. If you need to enable Safe Mode with Networking, press 5.

rename the windowsapps folder in safe mode step 7

In Safe Mode, type "command prompt" in Search and right-click the "Command Prompt" result. Select the "Run as administrator" option from the contextual menu.

rename the windowsapps folder in safe mode step 8

Now enter the following commands, pressing Enter after each to execute:

cd C:\Program Files
takeown /f WindowsApps /r /d Y
icacls WindowsApps /grant “%USERDOMAIN%\%USERNAME%”:(F) /t
attrib WindowsApps -h
rename WindowsApps WindowsApps.old

rename the windowsapps folder in safe mode step 9

Now restart the computer to boot into Windows normally. Try to run System Restore again and check if System Restore error 0x80070091 persists.

[Back to Table of Contents]

Rename the WindowsApps Folder From the Windows Recovery Environment

If you were unable to rename the WindowsApps folder through Safe Mode, we suggest that you attempt it through Windows Recovery Environment by following the same steps described in the previous method, and by selecting the "Command Prompt" option instead of "Startup Settings" in the Advanced options window.

rename the windowsapps folder from windows recovery environment step 1

Select your administrator account and enter the password. Click "Continue".

rename the windowsapps folder from windows recovery environment step 2

Now type the following commands and press Enter after each:

cd C:\Program Files
attrib WindowsApps -h
rename WindowsApps WindowsAppsOld

rename the windowsapps folder from windows recovery environment step 3

Now restart the computer to boot Windows normally and try to run System Restore again. Check if System Restore error 0x80070091 persists.

[Back to Table of Contents]

Temporary Disable Your Antivirus Software

Installed and enabled antivirus software might prevent you from running the System Restore feature. To check if third-party antivirus software is the cause, temporarily disable it, try to run System Restore again, and check if the problem persists.

If disabling (or uninstalling) the antivirus software resolves the problem, we recommend that you switch to other antivirus software or reinstall the currently-installed version (or simply disable it again).

If you are not sure how to disable your antivirus software, read this guide, in which you will find instructions on how to disable some of the most popular antivirus programs.

[Back to Table of Contents]

Check the Disk for Errors

A built-in Windows tool allows you to check the integrity of disks. It examines disks and corrects many types of common errors. Some errors may prevent you from running System Restore, and they can be fixed using this tool. You can run this tool from the command line or through a graphical interface. In this guide, we run it through Command Prompt.

Open Command Prompt as administrator, type the "chkdsk C: /f" command, and press Enter on the keyboard. Replace "C" with the letter associated with the hard drive if it is not the C: drive you wish to scan or the Windows operating system resides on another drive.

check your disk for errors

You will be asked if you want to restart your computer to perform the scan. Type the "Y" letter and press Enter. Wait for the chkdsk process to finish and check if this command resolved System Restore error 0x80070091.

We hope that this guide was helpful and you were able to successfully perform a System Restore without receiving System Restore error 0x80070091.

[Back to Top]

▼ Show Discussion

About the author:

Rimvydas Iliavicius

Rimvydas is a researcher with over four years of experience in the cybersecurity industry. He attended Kaunas University of Technology and graduated with a Master's degree in Translation and Localization of Technical texts. His interests in computers and technology led him to become a versatile author in the IT industry. At PCrisk, he's responsible for writing in-depth how-to articles for Microsoft Windows. Contact Rimvydas Iliavicius.

Our guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.