Here is the 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 unspecified error occurred during System Restore. (0x80070091)What I’ve tried so far:
- chkdsk /f /r C: (didn’t work)
- tried running in safe mode the system restore (didn’t work)
- tried with another system restore point (didn’t work)
Solution:
This happened to me after I updated my Lenovo’s drivers and had issues with driver power states. I was able to perform a restore by doing the following:
- Boot into command line mode (search Advanced Startup in windows settings)
C:
cd C:Program Files
attrib WindowsApps -h
this removed the hidden attributerename WindowsApps WindowsApps-renamed
exit
- restore the system to the desired restore point
- reboot normally or continue to windows
When the restore is complete, a previous version of WindowsApps
will have been restored.
To then go back and delete WindowsApps-renamed
:
- win+x
- a to open an Administrator Command Prompt
cd C:Program Files
takeown /f WindowsApps-renamed
rmdir WindowsApps-renamed /S