How to Fix System Restore Error Code 0x80070091 on Windows 10?

by Lucia Danes - -

Question

Issue: How to Fix System Restore Error Code 0x80070091 on Windows 10?

Hi. System Restore fails with an error 0x80070091. I tried to use the function a couple of times. I did that by accessing restore point -> show more restore points. I’m frustrated as I really need this function to work. Do you have any ideas how this problem could be solved?

Solved Answer

 snapshot

Several people have reported an error code 0x80070091 (a.k.a. ERROR_DIR_NOT_EMPTY ) appearing when trying to perform a system restore. The problem occurs when a PC owner accesses a System Protection and wants to enable a System Restore Point created some time ago. This feature is extremely helpful as it enables people to revert back the system changes, which, for example, caused errors, slowdowns or other malfunctions. By the way, using a System Restore Point may even help to restore personal data, which might have been lost after virus infection. Therefore, the 0x80070091 error may be an irritating piece of bug.
While initially, people have started posting about this problem on various forums in the beginning of 2016, it seems that Microsoft hasn’t yet solved it as the newest post concerning the bug has been created a couple of days ago. The full message reads as follows:

System Restore did not complete successfully. Your computer’s system files and settings were not changed.
Details: System Restore failed whil restoring the directory from the restore point.
Source:  AppxStaging
Destination: %ProgramFiles%\WindowsApps

The message indicates the fact that the System Restore process failed at AppxStaging, whereas the culprit appears to be the broken files on ProgramFiles%\WindowsApps folder. The log of the issue indicates the ERROR_DIR_NOT_EMPTY directory. It is said that the directory is empty, but, in reality, it’s not, which means that there is something wrong out there. Luckily, Windows experts are suggesting a couple of 0x80070091 error fixes, which seems to be working. NOTE: these fixes haven’t been approved by Microsoft, so performing them is at your own risk.

How to Fix System Restore Error Code 0x80070091 on Windows 10?

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.

Before you start performing any fixes manually, we would highly recommend you to disable third-party anti-virus (if you are using one) and run a thorough system scan with Reimage. It’s a PC optimization utility with an inbuilt Avira Antivir scan engine, which is also capable of fixing/replacing damaged/missing Windows system files. Therefore, it may fix the 0x80070091 error automatically. In case it did not help, please refer to the following steps:

Method 1. Repair the system at boot

  • Reboot your PC.
  • Press Shift key repeatedly at boot and select Repair your computer.
  • Then select Troubleshoot and click Advanced options.
  • Now select System Restore. If the process has been successfully initiated, the error 0x80070091 should be gone.

Method 2. Clean WindowsApps folder

NOTE: %ProgramFiles%\WindowsApps folder is owned by TrustedInstaller, which is why it cannot be opened via Windows Explorer. Nevertheless, you can create the ownership of this folder for yourself. You can find information on how to do that here. Once you take the ownership of this folder, rename it to WindowsApps Old.

Method 3. List the content of the %ProgramFiles%\WindowsApps folder

  • Click Win key + X and select Command Prompt (Admin).
  • If a UAC opens, click Yes to confirm.
  • Type PowerShell and press Enter.
  • In the PowerShell window, look for the C:\WINDOWS\system32.
  • If you found this path, type cd $env:programfiles\WindowsApps command and press Enter to change the path of the WindowsApps folder.
  • Then type (LS -Re -Fi * -Fo -Ea:Inquire).FullName | clip command and press Enter to enlist all sub-folders and its content via PowerShell. Copy the results and store them within the clipboard.
  • After that, type notepad in the PowerShell window and click Ctrl + V.

Repair your Errors automatically

ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

Offer
do it now!
Download Fix
  Happiness
Guarantee
do it now!
Download Fix
  Happiness
Guarantee
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using Reimage, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Reimage - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Reimage - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Reimage malware removal tool.

Prevent websites, ISP, and other parties from tracking you

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

A VPN is also crucial when it comes to user privacy. Online trackers such as cookies can not only be used by social media platforms and other websites but also your Internet Service Provider and the government. Even if you apply the most secure settings via your web browser, you can still be tracked via apps that you are connected to the internet. Besides, privacy-focused browsers like Tor is are not an optimal choice due to diminished connection speed.

Therefore, to stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous, prevent trackers, ads, as well as malicious content. Most importantly, you will prevent the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.

 

Recover your lost files quickly

Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can decide to reboot the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost.

Additionally, you might also be attacked by malware that can corrupt your Windows or encrypt files with a robust encryption algorithm, and ask for a ransom in Bitcoin for the decryption tool. Cybercriminals might not deliver what they promised, however, so it is better to attempt alternative file recovery methods that could help you to retrieve at least some portion of the lost data.

Data recovery software is one of the options that could help you recover your files. Once you delete a file, it does not vanish into thin air – it remains on your system as long as no new data is written on top of it. Data Recovery Pro is recovery software that searchers for working copies of deleted files within your hard drive. By using the tool, you can prevent loss of valuable documents, school work, personal pictures, and other crucial files.

About the author
Lucia Danes
Lucia Danes - Security researcher

Lucia Danes is the news editor at UGetFix. She is always on the move because the eager for knowledge makes her travel around the globe and attend InfoSec events and conferences.

Contact Lucia Danes
About the company Esolutions

Read in other languages

What you can add more about the problem: "How to Fix System Restore Error Code 0x80070091 on Windows 10?"