If error 0x80070091 appears during system restore, you will see the following message.
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
An unexpected error occurs during system restore. (0x80070091)
If this error appears while you trying to delete any files, you will see the following message.
Error 0x80070091: The directory is not empty
How to Fix Error 0x80070091 While System Restore and Data Transfer
Method 1: Run chkdsk Command
Here are the steps that you should follow.Step 1. Press Windows Key + X and select Command Prompt (Admin).
Step 2. Type and run the following command.
chkdsk /f /r C:
Step 3. Restart your system then check if the error 0x80070091 has resolved.
Method 2: Enter Into Safe Mode to fix System Restore Error 0x80070091
If you are facing this error during system restore, you can read more how to fix system Restore Error 0x80070091 visit here. To fix System Restore Error 0x80070091, you have to boot into Safe Mode. In safe mode, you should not get error 0x80070091 when deleting any folder or doing system restore.See this video below to learn more how to fix error 0x80070091 when System Restore
That's it. Hope this helps you.