Windows 10: System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

Discus and support System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 in Windows 10 Backup and Restore to solve the problem; Capu, I also had one instance of the error you show. (English version). I experienced it when I deliberately tried to further investigate whether or... Discussion in 'Windows 10 Backup and Restore' started by dalchina, Oct 31, 2016.

  1. glivo Win User

    System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091


    Capu,
    I also had one instance of the error you show. (English version). I experienced it when I deliberately tried to further investigate whether or not System Restore kept working after it was "fixed" by deleting / renaming the WindowsApps directory. I did a full system backup and tested recovery first. I ran into problems related to Antivirus program interference (0x80070005) because I forgot to turn it off. Even when I uninstalled it completely the System Restore error 0x80070005 came up again.

    After running the DOS commands in Safe Mode again, mainly to test the simplified commands, I received the error you show. ie: no error code number. "The restore point was damaged or deleted during the restore"

    Luckily the recovery from backup corrected several problems throughout the day yesterday.

    There is talk in the Microsoft Community that the original problem with System Restore (Error: 0x80070091) is possibly related to the January Update KB3213986. I intend to disconnect my main HDD and run a clean installation of Windows 10 on a spare HDD and check to see if the System Restore issue is there before the update. Then, if it isn't, I'll run the update and test it again.

    You may have just triggered something for me though. The command you use to attrib WindowsApps -h is possibly the reason I and others have been unable to rename it, and had to rd instead. I knew it didn't show in the list using the dir command. It is probable that in the Hidden state it can be deleted but not renamed.

    To skeetz and others who are getting :the directory is not empty" message. Perhaps, instead of using rd, you should now try to rename \WindowsApps WindowsAppsold after using attrib WindowsApps -h. Either that or you are going to have to go further into the directory structure to the file level and try to target the specified file that is causing the issue.

    If the commands work properly, you will get a message after the icacls command "Successfully processed 30000 files. Failed to process 0 files." If you only get 72 files success and 1 fail. There is no point going to the next command. You must fix that problem first.
     
    glivo, Feb 27, 2017
    #76
  2. SoFine409 Win User

    I restored a backup image from 2017-01-14 to one on my PCs that was impacted by this issue and then tested restore points. I was able to create and restore the system files do whatever update caused this problem on this PC occurred after that date.
     
    SoFine409, Feb 27, 2017
    #77
  3. Capu Win User
    I still don't understand why you are telling me that. I don't see what it has to do with the subject

    Thanks for telling me your experience glivo. Maybe I should try a reset, perhaps it's called "full system backup" like you called it in english?
     
  4. glivo Win User

    System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

    KB3213986 was about a week earlier, so unless you had a delayed update that may suggest it isn't the culprit.
    KB3211320 maybe??? January 24 2017.
     
    glivo, Feb 27, 2017
    #79
  5. Capu Win User
    How could it be possible to restore the system to cancel a microsoft update? Especially if restore doesn't work ^^'?
     
  6. glivo Win User
    Full system backup is done via Control Panel / System and Security /Backup Restore Windows 7 (or other 3rd party like Acronis True Image). It creates a File Backup as well as a System Image. I put mine on an External HDD. This is different to a Reset.
    Reset Windows puts Windows O/S back to start point either deleting or keeping your data files and programs, by choice.
    Factory Reset, if it is available, will put your computer back to the day you brought it home from a shop. This will wipe everything.
     
    glivo, Feb 27, 2017
    #81
  7. glivo Win User
    I think you can roll back / uninstall updates in Uninstall programs by selecting to view Microsoft Updates. You just uninstall them like you would any other program. But don't rush into that yet. It may not be the problem.
     
    glivo, Feb 27, 2017
    #82
  8. SoFine409 Win User

    System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

    I would give it some time. MS is probably going to fix the buggy app very soon since there's a lot of discussion about this issue.
     
    SoFine409, Feb 27, 2017
    #83
  9. SoFine409 Win User
    It may not be an update and it also may not be a buggy app. It might be the update process itself that's to blame. Another member in another thread speculates that it might have something to do with the fact that MS delayed the February security update. Maybe MS knows about the problem and is working on it now.
     
    SoFine409, Feb 27, 2017
    #84
  10. JSheridan Win User
    Exactly my thoughts. *Smile
     
    JSheridan, Feb 27, 2017
    #85
  11. cgdsatx Win User
    Code: attrib "c:\program files\windowsapps" -h[/quote] Code: rename "C:\Program Files\WindowsApps" WindowsAppsold[/quote]


    ......
     
    cgdsatx, Feb 27, 2017
    #86
  12. glivo Win User
    cgdstax,
    I now notice this was your suggestion. I read it in Capu's post. Credit where it is due.
     
    glivo, Feb 27, 2017
    #87
  13. System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

    To JSheridan from

    I have just used a System Image from 25th February 2017, that was taken immediately after the installation of Windows 10 v1607 Home 32 bit had concluded. It has no settings changes or downloads of applications to cloud the issue. Very native.

    Today 28th February 2017, I installed the image and two restore points were created and a restore to one of them was successful.

    So: it is either a Windows Update or an application that is breaking the restore operation. It isn't the Media Creation Tool or the DVD it was saved on.

    Good hunting from
     
    SimonFastEddy, Feb 27, 2017
    #88
  14. Capu Win User
    I quoted him ^^
     
  15. Eagle51 Win User
    I just got system restore to work in normal windows, NOT safe mode or recovery.

    In trouble shooting the restore point issue. I was cleaning up some apps that I had uninstalled, but for whatever reason left some
    folders behind in (c:\ProgramFiles\WindowsApps).
    Note: I had uninstalled the apps the normal way - start menu, right click on app and uninstall.
    Note: Tried using Powershell Get-AppxPackage *APPNAME* | Remove-AppxPackage, folders still remained.

    So I just decided to manually delete the folders. No problems till I got to the folder "C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe" ... that I couldn't delete (0x80070091). Taking ownership, granting full user rights, etc didn't help. I found the account DOMAIN\USER permissions were corrupt on some of the folders (specifically the \VFS and its subfolders) and most of the files. Once I was able to get that sorted out and and get that folder deleted, I rebooted (no surprise error/warnings in event viewer), created a new restore point, then restored it successfully.

    So, I need someone to verify this, preferably on a clean install, system restore is NOT working and is comfortable with windows permissions.

    Look in the "c:\Program Files\WindowsApps" see if you have a folder "Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe"
    The account to check is the DOMAIN\USERS.
    Try to edit it and see if it gives you a message about the "permissions are corrupted, remove and add again". Sorry, I don't remember the exact message.

    Here a list of the folders/files.

    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 152508 AppxBlockMap.xml
    -a---- 2/16/2017 5:04 PM 4553 AppxManifest.xml
    -a---- 2/16/2017 5:04 PM 10648 AppxSignature.p7x
    -a---- 2/16/2017 5:04 PM 2399952 clienttelemetry.dll
    -a---- 2/16/2017 5:04 PM 116962 FilesystemMetadata.xml
    -a---- 2/16/2017 5:04 PM 33 FilesystemMetadata.xml.md
    -a---- 2/16/2017 5:04 PM 4112432 mso20imm.dll
    -a---- 2/16/2017 4:44 PM 5893680 mso30imm.dll
    -a---- 2/16/2017 5:04 PM 2186800 office.odf
    -a---- 2/16/2017 5:04 PM 1625 Officehub_Base_PriConfig.xml
    -a---- 2/16/2017 5:04 PM 1604656 officeimm.odf
    -a---- 2/16/2017 5:04 PM 2934 Offihub_Base_PriInfo.pri.xml
    -a---- 2/16/2017 5:04 PM 3497984 Registry.dat
    -a---- 2/16/2017 5:04 PM 2040 resources.pri
    -a---- 2/16/2017 5:04 PM 56704 StreamMap.xml


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\AppxMetadata


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 22657 CodeIntegrity.cat


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\loc


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 10063 AppXManifestLoc.16.en-us.xml


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\Office16


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 428744 OfficeHubBackgroundTask.dll
    -a---- 2/16/2017 5:04 PM 35528 OfficeHubTaskHost.exe
    -a---- 2/16/2017 5:04 PM 1952456 OfficeHubWin32.exe


    Directory: C:\Program
    Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\Office16\1033


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 86910 getofficecarousel.dcp
    -a---- 2/16/2017 5:04 PM 37064 officehubintl.dll


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\strings


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 6451 officehubintl.lang-en-us.resw


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\VFS\ProgramF
    ilesCommonX64\Microsoft Shared\OFFICE16


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 2268720 ACECORE.DLL
    -a---- 2/16/2017 5:04 PM 620080 ACEDAO.DLL
    -a---- 2/16/2017 5:04 PM 47152 ACEERR.DLL
    -a---- 2/16/2017 5:04 PM 874544 ACEES.DLL
    -a---- 2/16/2017 5:04 PM 250416 ACEEXCH.DLL
    -a---- 2/16/2017 5:04 PM 527920 ACEEXCL.DLL
    -a---- 2/16/2017 5:04 PM 342064 ACEODBC.DLL
    -a---- 2/16/2017 5:04 PM 22576 ACEODDBS.DLL
    -a---- 2/16/2017 5:04 PM 22576 ACEODEXL.DLL
    -a---- 2/16/2017 5:04 PM 22576 ACEODTXT.DLL
    -a---- 2/16/2017 5:04 PM 434224 ACEOLEDB.DLL
    -a---- 2/16/2017 5:04 PM 242736 ACETXT.DLL
    -a---- 2/16/2017 5:04 PM 3056176 ACEWDAT.DLL
    -a---- 2/16/2017 5:04 PM 327728 ACEXBE.DLL
    -a---- 2/16/2017 5:04 PM 999080 ADAL.DLL
    -a---- 2/16/2017 5:04 PM 404608 AirSpace.Etw.man
    -a---- 2/16/2017 5:04 PM 89648 AIRWER.DLL
    -a---- 2/16/2017 5:04 PM 491152 EXPSRV.DLL
    -a---- 2/16/2017 5:04 PM 200240 EXP_PDF.DLL
    -a---- 2/16/2017 5:04 PM 93744 EXP_XPS.DLL
    -a---- 2/16/2017 5:04 PM 4142 HeartbeatConfig.xml
    -a---- 2/16/2017 5:04 PM 22965504 MSO.DLL
    -a---- 2/16/2017 5:04 PM 4422192 Mso20win32client.dll
    -a---- 2/16/2017 5:04 PM 6462512 Mso30win32client.dll
    -a---- 2/16/2017 5:04 PM 4216880 MSO40UIRES.DLL
    -a---- 2/16/2017 5:04 PM 9718320 Mso40UIwin32client.dll
    -a---- 2/16/2017 5:04 PM 67632 mso50win32client.dll
    -a---- 2/16/2017 5:04 PM 7347248 Mso98win32client.dll
    -a---- 2/16/2017 5:04 PM 13090352 MSO99LRES.DLL
    -a---- 2/16/2017 5:04 PM 7393840 Mso99Lwin32client.dll
    -a---- 2/16/2017 5:04 PM 164052 MSOICONS.EXE.6.ico
    -a---- 2/16/2017 5:04 PM 1446248 MSOIDCLIL.DLL
    -a---- 2/16/2017 5:04 PM 830864 MSOIDRES.DLL
    -a---- 2/16/2017 5:04 PM 66096 MSOPRIV.DLL
    -a---- 2/16/2017 5:04 PM 29384 MsoRes.dll
    -a---- 2/16/2017 5:04 PM 73776 MSOXEV.DLL
    -a---- 2/16/2017 5:04 PM 70704 MSOXMLMF.DLL
    -a---- 2/16/2017 5:04 PM 1514032 MSPTLS.DLL
    -a---- 2/16/2017 5:04 PM 658480 MSSOAP30.DLL
    -a---- 2/16/2017 5:04 PM 660136 msvcp120.dll
    -a---- 2/16/2017 5:04 PM 963240 msvcr120.dll
    -a---- 2/16/2017 5:04 PM 7699 MUAUTH.CAB
    -a---- 2/16/2017 5:04 PM 29744 MUOPTIN.DLL
    -a---- 2/16/2017 5:04 PM 10288 OFFREL.DLL
    -a---- 2/16/2017 5:04 PM 32072 OPTINPS.DLL
    -a---- 2/16/2017 5:04 PM 32968 oregres.dll
    -a---- 2/16/2017 5:04 PM 2675760 RICHED20.DLL
    -a---- 2/16/2017 5:04 PM 18584 VBAJET32.DLL
    -a---- 2/16/2017 5:04 PM 170032 WISC30.DLL
    -a---- 2/16/2017 5:04 PM 158256 WXPNSE.DLL


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\VFS\ProgramF
    ilesCommonX64\Microsoft Shared\OFFICE16\1033


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 1652272 MSOINTL.DLL
    -a---- 2/16/2017 5:04 PM 64560 msointl30.dll


    Directory: C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\VFS\ProgramF
    ilesCommonX64\Microsoft Shared\OFFICE16\Cultures


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 2186800 OFFICE.ODF


    Directory: C:\Program
    Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64__8wekyb3d8bbwe\VFS\SystemX64


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 2/16/2017 5:04 PM 334616 concrt140.dll
    -a---- 2/16/2017 5:04 PM 639728 msvcp140.dll
    -a---- 2/16/2017 5:04 PM 394504 vccorlib140.dll
    -a---- 2/16/2017 5:04 PM 89328 vcruntime140.dll
     
    Eagle51, Feb 27, 2017
    #90
Thema:

System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

Loading...
  1. System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 - Similar Threads - System Restore fails

  2. System Restore Failure 0x80070091

    in Windows 10 Installation and Upgrade
    System Restore Failure 0x80070091: Im stuck in BSODBlue Screen of Death with the error: page fault in nonpaged area error code: 47453581.SYS. I've done everything to try to fix this but nothing works. So i thought i'd give system restore a go. I have a restore point from 18hours ago, and when i try to use...
  3. 0x80070026 System Restore error regarding "AppxStaging"

    in Windows 10 Installation and Upgrade
    0x80070026 System Restore error regarding "AppxStaging": Can somebody fix or at least shine some light on this very common problem? I was forced to do a clean install of Windows 10 three weeks ago because every attempt to fix this problem failed, System Restore would suddenly decide that it would no longer work and that it would...
  4. System Restore Failure AppxStaging 0x80070005

    in Windows 10 Backup and Restore
    System Restore Failure AppxStaging 0x80070005: Just after installing the 1803 Feature Update, I did some updates to VS2017 which went rather badly wrong (I'll post about that one in aonther thread). So I though "Simples: Just do a System Restore". Unfortunately I got: System Restore did not complete successfully...
  5. System restore Appxstaging %programfiles%\windowsapps (0x80070091error

    in Windows 10 Backup and Restore
    System restore Appxstaging %programfiles%\windowsapps (0x80070091error: I accidently deleted my Dark Souls 3 save file. I've put much time into the game and I've been trying to get it back for a day now. File recovery programs didn't do the job. The windows system restore should do the job, But everytimeI try to restore it to a certain point of...
  6. An unspecified error occured during System Restore. (0x80070091)

    in Windows 10 Backup and Restore
    An unspecified error occured during System Restore. (0x80070091): Trying to 'Restore' system and keep receiving 'An unspecified error occured during System Restore. (0x80070091)'. I've looked at all solutions I can find, and they are all so complex for this old brain. Is there a relatively simple solution to fix this? Thanks so much!...
  7. Is There an Easy Fix For System Restore Error 0x80070091?

    in Windows 10 Backup and Restore
    Is There an Easy Fix For System Restore Error 0x80070091?: I am totally confused by all the complicated posts and links about the System restore Error 0x80070091 problem. I cannot understand the posted "fixes." Is there a straight-forward fix? Does anyone think Microsoft will fix it any time soon? Thanks, cb 78986
  8. System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

    in Windows 10 Backup and Restore
    System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091: Hi, is there any 100% reliable solution for this problem I run into this morning? Error is occuring both from normal and safe mode. Thx in advance. 78661
  9. System restore Error 0x80070091

    in Windows 10 Backup and Restore
    System restore Error 0x80070091: Hi, I was trying to perform a restore to fix my favorites list menu and got this error. I ran chkdsk C: /f /r /x and Windows Resource Protection did not find any integrity violations. Running WIN 10 Pro V 1607 Build 14393.693 I'm hoping somebody could help me...
  10. System Restore Fails - Error 0x80070091 - Update KB3213986 Culprit

    in Windows 10 Performance & Maintenance
    System Restore Fails - Error 0x80070091 - Update KB3213986 Culprit: I recently tried to use Windows restore and it failed with 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....
Tags: