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

Page 1 of 8 123 ... LastLast
  1.    01 Nov 2016 #1

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


    Hi, thought I'd check if System Restore was still functional and got

    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)


    I found SFC /scannow failed, so used Kyhi's excellent Image Health tool
    Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums
    #2
    to resolve DISM issues and get SFC /SCANNOW passing.

    System Restore still fails.

    I've run some repairs using Tweaking.com's repair tool for permissions, turned System Restore off and on, turned off Avast, tried System restore from Safe Mode. The event log contains nothing useful I've seen- just a bare statement of An unspecified error occurred during System Restore. (0x80070091).

    Research shows some reports of this, but I've found no clear resolution.
    This exact report was posted on this forum earlier this year, with no replies.
    I've not done anything to %ProgramFiles%\WindowsApps like changing its ownership as some do.

    Any thoughts? Thanks!
      My System SpecsSystem Spec

  2. Cliff S's Avatar
    Posts : 13,429
    Microsoft Windows 10 Pro 64-bit 14393 Multiprocessor Free
       01 Nov 2016 #2

    I have given up using System Restore years ago, as I found it very unreliable, back when I was testing 3rd party software.
    Now I just export the complete registry using RegEdit, before doing something.
    But seeing you have Tweaking.com's Windows Repair, you can use that to do it too.
    Click image for larger version. 

Name:	Image 003.png 
Views:	109 
Size:	10.5 KB 
ID:	108454

    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	83.8 KB 
ID:	108455
      My System SpecsSystem Spec

  3.    01 Nov 2016 #3

    Hi Cliff S, appreciate the thought.. and understand it. And naturally I use Macrium R for disk imaging.

    In this instance I'm curious, since it relates to the WindowsApps folder. Begs the question as to what SR is intended to protect as regards the universal apps.
      My System SpecsSystem Spec


  4. Posts : 1
    Windows 10 Education x64
       1 Week Ago #4

    Sorry to resurrect an old thread, but since this came up as a first result for this exact problem I have, I just want to inform that it can be resolved by renaming (or deleting) the WindowsApps folder. You can do this in the command line:

    First, you must be in safe mode since the files will be in use.

    Then, take ownership of it:
    Code:
    takeown /f "C:\Program Files\WindowsApps" /r /d y
    Next, give yourself permissions
    Code:
    icacls "C:\Program Files\Windows Apps" /grant administrators:F /t
    Either delete with
    Code:
    rd /s "C:\Program Files\Windows Apps"


    Or rename with
    Code:
    rename "C:\Program Files\Windows Apps" "C:\Program Files\Windows Apps(old)"

    Reboot your PC, run system restore and it should work fine now.


      My System SpecsSystem Spec

  5.    1 Week Ago #5

    arkhi said: View Post
    Sorry to resurrect an old thread, but since this came up as a first result for this exact problem I have, I just want to inform that it can be resolved by renaming (or deleting) the WindowsApps folder. You can do this in the command line:

    First, you must be in safe mode since the files will be in use.

    Then, take ownership of it:
    Code:
    takeown /f "C:\Program Files\WindowsApps" /r /d y
    Next, give yourself permissions
    Code:
    icacls "C:\Program Files\Windows Apps" /grant administrators:F /t
    Either delete with
    Code:
    rd /s "C:\Program Files\Windows Apps"


    Or rename with
    Code:
    rename "C:\Program Files\Windows Apps" "C:\Program Files\Windows Apps(old)"

    Reboot your PC, run system restore and it should work fine now.


    Thank you for posting that, because I ran into the same issue; i tryed your solution, but the prompt claim that "takeown /f "C:\Program Files\WindowsApps" /r /d y" contain a sintax error due to y not being an allowable parameter for /d (despite being reported as allowable in the documentation); how can I fix that?
      My System SpecsSystem Spec


  6. Posts : 8
    Windows 10 v1607 Pro 64 bit
       1 Week Ago #6

    I have a similar error to report: AppxStaging error 0x80070091, on a Dell Optiplex 755 running Windows 10 v 1607 Pro 64 bit. Cause unknown. The computer was in hibernate with Wake-On-LAN check boxes un-ticked for the Network Adapter and mcupdates deleted, so it was stable, quiet and not waking at a specific time or randomly waking for over a month. It was running OK. It woke up one night recently and the next day I was missing Desktop icons and I had the error notification.

    I tried the solution posted "takeown /f...." but I couldn't get the command line entries to work....same experience as Forum Member "mattws10".

    All running now after a two-day Custom install of Windows 10. I'm inexpert when dealing with command prompt and try as I did, I couldn't reason out the problem or syntax. Any thoughts would be greatly appreciated...that is certain. I am on my fourth install and commisioning of a PC in two months and getting weary.

    King regards to all those who contribute with thanks. Simon
      My System SpecsSystem Spec

  7.    1 Week Ago #7

    boot to SAFE MODE

    make sure theres a space between /d y

    or put

    attrib "c:\program files\windowsapps" -h

    then

    takeown /f "C:\Program Files\WindowsApps" /r /d y


    AND no space in Windowsapps on ANY commands AND put your username not administrators

    icacls "C:\Program Files\WindowsApps" /grant YOURUSERNAME:F /t (whatever you login to safe mode with)

    rename "C:\Program Files\WindowsApps" WindowsAppsold

    and to rename you may have to ,if you didn't before

    attrib "c:\program files\windowsapps" -h








    Last edited by cgdsatx; 1 Week Ago at 06:00.
      My System SpecsSystem Spec

  8.    1 Week Ago #8

    SimonFastEddy said: View Post
    All running now after a two-day Custom install of Windows 10. I'm inexpert when dealing with command prompt and try as I did, I couldn't reason out the problem or syntax. Any thoughts would be greatly appreciated...that is certain. I am on my fourth install and commisioning of a PC in two months and getting weary.
    Pard me, I'm not sure I understood. Do you mean it takes you 2 full days to reinstall Windows 10 in place?
    By the way, i tryed to type the help command ( ?/takeown or something) to see what I was doing wrong, but the syntax I used seemed right to me. Now I'm gonna try cgdsatx latest advice.

    PS: I apology for any language mystake, English is not my first idiom.
      My System SpecsSystem Spec

  9.    1 Week Ago #9

    cgdsatx said: View Post
    boot to SAFE MODE

    make sure theres a space between /d y

    or put

    attrib "c:\program files\windowsapps" -h
    Sintax was correct, still say y is not an acceptable parameter;
    The attrib line returns "Access denied"
      My System SpecsSystem Spec


  10. Posts : 8
    Windows 10 v1607 Pro 64 bit
       1 Week Ago #10

    Hi there ... Mttws10...Pleased to meet you.

    Yes! It took about two days to fully install Windows10 (again) on the Dell Optiplex 755, with the third party applications, export/import contacts and bookmarks and configuration changes. So this is quite important.

    The etiology is uncertain. We both may have an insight as to what may have caused the corrupted registry. No malware detected (Avira). I suspect the WOL was something to do with it. I've been doing a lot of installation work on three Dell computers, on my network and it was the Dell 755 that had the problem and just a few days after it had a memory problem that caused the computer to bleep, requiring a prior new installation. Possibly Microsoft detected unusual activity and it triggered a security device. I don't know.

    System Restore is fragile....Keep going....we need someone to test a Fix. The world will be eternally grateful.
    Kind regards from Simon.
      My System SpecsSystem Spec


 
Page 1 of 8 123 ... LastLast

Related Threads
So I try to restore any point and get an error: 35772 I have turned off Malwarebytes and SuperAntiSpyware. I also did a sfc /scannow with no integrity violations. Running Windows 10 Pro 64bit... Any suggestions?
Tired of Giving Permission Rights In WindowsApp Folder in User Accounts and Family Safety
I have installed one app in Windows 10 through Win store, and I want to move one file to that app folder, but every time it is asking me, u need to perform this action - try again or cancel. I have permission to all the groups to move that file,...
Maybe I have a misunderstanding of how System Restore works. Yesterday I uninstalled a program that I'd like to now get back. The company that made the program no longer offers archive downloads for that program in particular. Today it occurred to...
I have set up the following in Task Scheduler:- 50990 However it does not work! Any ideas anyone? PS: How can I enable history?
So why did Microsoft change this? If I remember correctly all previous versions would create a system restore point before doing Microsoft updates. Since 10 installed all updates that come in for me are downloaded and installed without a restore...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:57.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums