In this video we will try to fix System Restore Error 0x80070091.
If user is facing the error 0x80070091 then it means user is not able to restore his PC to an earlier working time through a restore point.
System Restore is very important as it helps in fixing errors with our PC and helps in recovering lost data after malware infection or virus attack. But if you are not able to Restore your system then all these features will be of no use.
The main cause of the error seems to be the WindowsApps folder directory. The error is shown below:
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 unspecified error occurred during System Restore. (0x80070091)
The System Restore Error 0x80070091 is also called ERROR_DIR_NOT_EMPTY but the directory WindowsApps is not empty so there is something wrong which indicates the system that this directory is empty and hence the error.
Type the following command in cmd and hit Enter after each one:
cd C:\Program Files
takeown /f WindowsApps /r /d Y
icacls WindowsApps /grant “%USERDOMAIN%\%USERNAME%”:(F) /t
attrib WindowsApps -h
rename WindowsApps WindowsApps.old
If you again face the error then type this in cmd and hit Enter:
icacls WindowsApps /grant administrators:F /T
Type these commands, one by one and hit Enter:
cd C:\Program Files
attrib WindowsApps -h
rename WindowsApps WindowsAppsOld
Type the following and press enter:
DISM /Online /Cleanup-Image /RestoreHealth
If the above command doesn’t work then try on the below:
Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess
For more:
https://troubleshooter.xyz/wiki/fix-s...