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; are you going into safe mode with your user account or as Administrator? It works so I'm not sure what your doing I go into safe mode as in Option one... Discussion in 'Windows 10 Backup and Restore' started by dalchina, Oct 31, 2016.

  1. mattws10 Win User

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


    I go into safe mode as in Option one here : https://www.tenforums.com/tutorials/...a.html#option1
    Thank you for trying to help me
     
    mattws10, Feb 21, 2017
    #16
  2. mattws10 Win User

    Typing "TAKEOWN /?" allows me to see how the command works, and it shows that 'y' should be the right parameter for what I want to do. I also tried with the first letter of our "yes-word" and it doesn't worked. By the way, thank you for trying to help me.
     
    mattws10, Feb 21, 2017
    #17
  3. lx07 Win User
    You are welcome but your analysis is wrong. takeown /? shows you the help text translated from English. It was never correctly translated. There are hundreds of posts about this but let us not go off on a tangent.

    Just let me know what chcp (with no parameters) shows. Perhaps there is a problem in your language but as I don't know what your language is I'd be guessing.


    System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 [​IMG]


    After that we can forget language and just convert your code page into en-US (for the specific terminal session) and see if that works.

    Like this: Code: chcp chcp 437 takeown /f "C:\Program Files\WindowsApps" /r /d Y[/quote]
    If that doesn't work post a screenshot as otherwise I'm just guessing.

    If you can show me a screenshot of the error I'm happy to install Windows in your language and see if I can recreate it.
     
  4. mattws10 Win User

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

    You were right! Now takeown works, but i still have problems with 'icacls "C:\Program Files\Windows Apps" /grant administrators:F /t', which comes up whit an access denied statement
    I'm not sure I understood how chcp works; what is supposed to do?

    I'd prefer to not borrowing you so much, unless we don't find other solutions, but thank you.
     
    mattws10, Feb 21, 2017
    #19
  5. lx07 Win User
    OK, one step forward *Smile Is your user name "administrators" though as @cgdsatx said to put in? I guess not.

    chcp changes (or displays) the code page of the current job. It is slightly more complicated than this but you can think of a code page as the language. 437 is English. Anything you type after that will be assumed to be in English. This applies to input you give the shell but it doesn't invoke some sort of dictionary.

    If there exists a group object called "Utilisatuers" it will not transfer it into "Users" for you.

    I'm more than happy to but as you wish. I can't help if you don't say what you've done though.

    All these switches make a difference though. When you take ownership and assign authority you have to do it for the same person.

    You could try this:

    Change your job to English Code: chcp 437[/quote] Take ownership for yourself
    (note there is no /a here assigning it to administrators group, the /r means recuse and the default in /d is defined as Y which is Yes in English which is the language you just told it you would write in. Code: takeown /f "C:\Program Files\WindowsApps" /r /d Y[/quote] Give yourself full authority
    Don't change this. Just copy it exactly as it is.
    Code: icacls "C:\Program Files\WindowsApps" /grant "%USERDOMAIN%\%USERNAME%"System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) /t[/quote] Specifically to not change "%USERDOMAIN%\%USERNAME%" to your PC name or your name or "Administrator" or "Administrateur" or "Administrateurs" or anything. These names are system language specific and are not affected by what language you are writing in. They are objects that exist with specific names created when you install Windows. The shell will populate it for you.

    You can see this if you enter (just for interest) Code: echo "%userdomain%\%username%"[/quote] I really can't help any more unless you say what language you are using and give a screenshot of the error but I will say this is one reason I install Windows as en-US. It simply makes life easier.
     
  6. jsdeprey Win User
    Hello, I am having this same issue.
    Recently it seemed like my PC was running some game worse than it had been a week ago and I thought maybe something had changed or I had a virus, but virus scans showed no issues.
    I normally just do a system restore when something like this happens, but I got the error "0x80070091" so I thought maybe I did have a virus because I have seen a virus kill system restore many times before. Anyway, I first did a Windows 10 reset and still had the same System Restore issues just doing a quick create and restore, so thought maybe the virus was still there.
    So then I did a full new install of Windows 10, a new System Restore seemed to work fine, but after another day and some software installs and Windows updates another System Restore test failed with same error. Check Disks look fine also.
    I have not tried the fix here yet, but I am more trying to figure out why this fix is needed on a new install, if this a windows update bug? I never noticed this before but I can not even browse "c:\program files\windowsapps" at all, is that normal, I have not really poked around Windows 10 much but I am not used to there being a directory on my own OS that I can not look in to.
    My system seems to be running fine now, and I can live without System Restore, but am totally lost how Microsoft can break things like this and not know it.
    Thanks.
     
    jsdeprey, Feb 22, 2017
    #21
  7. cgdsatx Win User
    it makes a new windows app folder during restore you can copy and drag the stuff from the old to the new if you want
    probably doesn't matter but if you want to you can do this

    How to reinstall all the Windows 10 default apps with PowerShell | Digital Citizen


    the attrib command should have "unhide" the app folder , before the restore I mean once restore goes through it will be hidden again , check hidden items in view tab of explorer .

    the missing files I don't know, maybe check hidden items in view tab of explorer see if they're "hidden" files , or I've heard to check under the C:\USERS some times there in another users folder or under c:\windowsold\users or even in public .
    If you created a new Microsoft account when you upgraded from Windows 7, your files may be located in a disabled administrator account. You'll need to enable this account and sign in again to see your files.
    Personally what I would do is type a name of a file or folder that was missing and I remember and just search the HD. There's other options but those are most common to try first.
     
    cgdsatx, Feb 22, 2017
    #22
  8. cgdsatx Win User

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

    smh
     
    cgdsatx, Feb 22, 2017
    #23
  9. cgdsatx Win User
    there are many files and folders that are system only

    are you trying to create a restore?
     
    cgdsatx, Feb 22, 2017
    #24
  10. JSheridan Win User
    I wonder if MicroSoft is planning on fixing this problem any time soon. It seems to be wide spread and it's a definite problem. I'm hesitant to rename or delete the windowsapps folder as I don't want to mess anything else up.
     
    JSheridan, Feb 22, 2017
    #25
  11. jsdeprey Win User
    I have never seen folders that a system administrator can not see in to before, but that seems totally messed up to me.
    I can create a restore point fine, but when I try to restore to that point it fails just like on this thread with a error "0x80070091".

    I am trying to understand is this a windows bug, I just installed windows 10 fresh and system restore worked but them after a few updates it stopped working and I get this same error again.

    Is this an issue that effects every currently updated version of Windows 10? Maybe test on other PC's to see if they are having the same issue? create restore point then right away restore to that new point and see if you get the same issue?
     
    jsdeprey, Feb 22, 2017
    #26
  12. cgdsatx Win User
    I assume this is all because of the way windows 10 handles safe mode now, namely that it goes in to a "recovery environment" that doesn't require a "user" log in.
     
    cgdsatx, Feb 22, 2017
    #27
  13. mattws10 Win User

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

    Sorry :°D
     
    mattws10, Feb 22, 2017
    #28
  14. mattws10 Win User
    Take ownership for yourself
    (note there is no /a here assigning it to administrators group, the /r means recuse and the default in /d is defined as Y which is Yes in English which is the language you just told it you would write in. Code: takeown /f "C:\Program Files\WindowsApps" /r /d Y[/quote] Give yourself full authority
    Don't change this. Just copy it exactly as it is.
    Code: icacls "C:\Program Files\WindowsApps" /grant "%USERDOMAIN%\%USERNAME%"System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) /t[/quote] Specifically to not change "%USERDOMAIN%\%USERNAME%" to your PC name or your name or "Administrator" or "Administrateur" or "Administrateurs" or anything. These names are system language specific and are not affected by what language you are writing in. They are objects that exist with specific names created when you install Windows. The shell will populate it for you.

    You can see this if you enter (just for interest) Code: echo "%userdomain%\%username%"[/quote] I really can't help any more unless you say what language you are using and give a screenshot of the error but I will say this is one reason I install Windows as en-US. It simply makes life easier.[/quote] It worked. Thank you very much. Do I have to "give back" the ownership or something now?
     
    mattws10, Feb 22, 2017
    #29
  15. lx07 Win User
    Good news. No you do not. If everything is working then I would leave it as it is.

    If you want to though (for completeness for example) then you can do it like this...
    Code: icacls "C:\Program Files\WindowsApps" /remove:g "%USERDOMAIN%\%USERNAME%" /t[/quote] This only removes the authority explicity granted to your profile which you added before. Other authorities will remain as they were. It doesn't add any "deny" authority for your profile so don't worry about that.

    You can then reset the owner to TrustedInstaller Code: icacls "C:\Program Files\WindowsApps" /setowner "NT SERVICE\TrustedInstaller"[/quote] You can then check the authority - it should look like this (type the bit in red and then see if the other looks the same) Code: Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Windows\system32>icacls "C:\Program Files\WindowsApps" C:\Program Files\WindowsApps NT SERVICE\TrustedInstallerSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) NT SERVICE\TrustedInstallerSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(OI)(CI)(IO)(F) S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(RX) S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(OI)(CI)(IO)(GR,GE) NT AUTHORITY\SYSTEMSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) NT AUTHORITY\SYSTEMSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(OI)(CI)(IO)(F) BUILTIN\AdministratorsSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(CI)(RX) NT AUTHORITY\LOCAL SERVICESystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(OI)(CI)(RX) NT AUTHORITY\NETWORK SERVICESystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(OI)(CI)(RX) BUILTIN\UsersSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(Rc,S,RD,REA,X,RA) Mandatory Label\Low Mandatory LevelSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(OI)(CI)(NW) Successfully processed 1 files; Failed processing 0 files C:\Windows\system32>[/quote] HTH
     
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: