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; Thanks Kavanavak...that's probably it...gonna go try again now Results..... takeown /f "%ProgramFiles%\WindowsApps" /a /r /d y ALL FOLDERS... Discussion in 'Windows 10 Backup and Restore' started by dalchina, Oct 31, 2016.

  1. skeetz Win User

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


    Thanks Kavanavak...that's probably it...gonna go try again now

    Results.....



    takeown /f "%ProgramFiles%\WindowsApps" /a /r /d y

    ALL FOLDERS HAD SUCCESS

    SUCCESS: The file (or folder): "C:\Program Files\WindowsApps\Microsoft.ZuneVideo_2019.17012.10301.0_neutral_~_8wekyb3d8bbwe\AppxMetadata\AppxBu ndleManifest.xml" now owned by the administrators group.



    C:\Windows\system32>icacls "C:\Program Files\Windows Apps" /grant administrators:F /t
    Successfully processed 0 files; Failed processing 0 files



    C:\Windows\system32>rd /s "C:\Program Files\WindowsApps"
    C:\Program Files\WindowsApps, Are you sure (Y/N)?Y


    ALL FOLDERS CAME UP ACCESS IS DENIED
    C:\Program Files\WindowsApps\MIBCF2~1.0_N\AppxSignature.p7x - Access is denied.



    C:\Windows\system32>rename "C:\Program Files\WindowsApps" "C:\Program Files\WindowsApps(old)"
    The syntax of the command is incorrect.


    Frustrating...now what ?
     
    skeetz, Feb 24, 2017
    #46
  2. glivo Win User

    Step 3: I did not have the /a switch in my takeown command line at step 3. This should take a little while to run. /a gives ownership to Administrators Group. You don't want this. You want to Take Ownership for the profile you are presently using in order to be able to rename or remove it. https://technet.microsoft.com/en-us/...(v=ws.11).aspx

    Step 4: icacls should then report back that "Successfully processed xxxxxx files. Failed to process 0 files"

    Step 5: use rd to remove the directory as rename doesn't work here for some reason.

    Where the stupid emoticon is should read " : ( F ) with no spaces between.
     
    glivo, Feb 25, 2017
    #47
  3. lx07 Win User
    This forum (and many others) does that which is very annoying especially if you are trying to be precise.

    Best to put tags around things: If not System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) looks like *SadF) as the assumption is the colon and the open bracket is a sad face.

    You can put [NOPARSE]whateverSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F)[/NOPARSE] which comes out as whateverSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F)
    or
    Code:
    whatever:(F)
    which comes out like this Code: whateverSystem Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F)[/quote]
    There are some buttons in the top right of the reply window that will do it for you - you can hover your mouse over them to find which.
    Code:
     looks like a [b]#[/b] and [NOPARSE] looks like a flat battery with a warning sign.
     
     I agree with your reply though *Wink
     
  4. glivo Win User

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

    Got it. System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :) I actually did the initial post in "quick reply" box. I was in a hurry to go out last night and didn't realise the emoticon was there till this morning. *Smile
    Who said you can't teach an old dog new tricks?
     
    glivo, Feb 25, 2017
    #49
  5. skeetz Win User
    Thank you all for your help....back to the drawing board


    Well here are my results...

    takeown /f "%ProgramFiles%\WindowsApps" /r /d y ran well came back with
    success for ever folder



    C:\Windows\system32>icacls "C:\Program Files\WindowsApps" /grant PAS/:F /t
    PAS/: No mapping between account names and security IDs was done.
    Successfully processed 0 files; Failed processing 1 files


    C:\Windows\system32>rd "C:\Program Files\WindowsApps"
    The directory is not empty.
     
    skeetz, Feb 25, 2017
    #50
  6. Hello everyone. You are geting beyond me, I don't understand command prompt syntax!

    It could be faster to throw the software away. At least that was until this week, when I did a fresh custom install of Windows 10 32 bit Home, from the Media Creation Tool, with very limited third party applications: Firefox, Windows Live Mail, Foxit Reader, VLC Media Player, Belarc Advisor, CCleaner, SmartDefrag5 and VTUploader. No cleaning, registry work or defragmenting done.

    Result of a System Restore test: The AppxStaging fault is there.

    Question: Is this fault on Pro as well as Home versions? Is it on the MCT trialware but not on the paid version? Is it on the 64bit as well as the 32bit software? I am looking for a commercial cause for it's absence.
    Etiology unknown....

    Good luck everbody,
    From Simon.
     
    SimonFastEddy, Feb 25, 2017
    #51
  7. glivo Win User
    I had the problem with Windows 10 Pro 64 bit.

    I've fixed this up a bit so make sure you do exactly as it says. Pay attention to spaces and no spaces. If something doesn't work check spaces.

    Print this out if you don't have a second device to refer to during the process.

    If your worried about it do a backup.

    1-Boot into safe mode;

    2-Right click on the start button, left click on Command Prompt (Admin)
    Window will appear with a Command Prompt ending with >

    3-Keyboard: takeown /f "C:\Program Files\WindowsApps" /r /d Y
    Press Enter. Wait for it to finish and go back to Command Prompt>

    4-Keyboard: icacls "C:\Program Files\WindowsApps" /grant "%USERDOMAIN%\%USERNAME%"System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) /t
    Press Enter. You will get a message: Successfully processed xxxxx files: Failed to process 0 files

    5- Keyboard: rd /s "C:\Program Files\Windows Apps"
    Press Enter. It will ask you to confirm. Yes. This will delete the folder. OR
    rename "C:\Program Files\Windows Apps" "C:\Program Files\Windows Apps(old)"
    if you prefer to rename it. I found that the rename option didn't work.

    6- Now Reboot your computer and System Restore should work.

    So you understand what is going on.

    Step 3: As the current user, you are taking Ownership of the \WindowsApps directory and everything in it.

    Step 4: You are granting the current user Full Control over that directory.

    Step 5: You are deleting the directory and everything in it.
     
    glivo, Feb 25, 2017
    #52
  8. skeetz Win User

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

    Well here are my results...

    takeown /f "%ProgramFiles%\WindowsApps" /r /d y ran well came back with
    success for ever folder



    C:\Windows\system32>icacls "C:\Program Files\WindowsApps" /grant PAS/:F /t
    PAS/: No mapping between account names and security IDs was done.
    Successfully processed 0 files; Failed processing 1 files


    C:\Windows\system32>rd "C:\Program Files\WindowsApps"
    The directory is not empty.


    no idea where to go from here
     
    skeetz, Feb 25, 2017
    #53
  9. Hello skeetz,

    Does that mean you have repaired the System Restore?

    I have spent the night from Midnight to now (06:00 AM) installing the applications on top of a Windows 10 Home 32 bit fresh Custom installation from a media creation tool ...began yesterday. Two days until it is finished. BUT I get AppsxStaging error still from a clean installation with no registry or defragmenting work conducted. A bit frustrating!

    I need a decision....abandon it or repair it.

    Any thoughts yet? From .
     
    SimonFastEddy, Feb 25, 2017
    #54
  10. glivo Win User
    This section is wrong in a few ways. Don't enter PAS/skeetz.

    Use %USERDOMAIN%\%USERNAME% exactly like that.

    Actually type in %USERDOMAIN%\%USERNAME%System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) /t and it will automatically perform the procedure using your current domain and username.
    Also you left the parenthesis off the F.
    Also you used a forward slash instead of a backslash. It must be exactly correct.

    Your first Section says ProgramFiles without a space. Put the space in.

    Go back and look at my previous post (at the bottom of Page 5) very carefully. It has to be exact. It didn't work straight away for me either until I realised what was wrong with the original code I was given.

    Your current User Domain if you are on a home computer is probably the name Windows gave your computer when it was installed. For example mine is DESKTOP-U8******\Greg. I'm not providing my full Computer name because I don't know if that is a security risk or not.
     
    glivo, Feb 25, 2017
    #55
  11. glivo Win User
    SimonFastEddy,

    skeetz has not fixed his system yet, but if he does it correctly he will. So can you. I would be trying the fix first before abandoning everything. What have to got to lose? If you are prepared to start over again, you have nothing to lose and only everything to gain if it works.
     
    glivo, Feb 25, 2017
    #56
  12. cgdsatx Win User
    perhaps going and reading all the post on here and not "cherry picking" and you might have better luck, I restored a laptop 5x until I figured out how to fix the sound issue caused by KB3213986. All 5x I had appstaging issue and all 5x I did the steps I've outlined here. OTHER then the guy with the language issues with his command switchs, as long as your en-us all the steps work.
     
    cgdsatx, Feb 25, 2017
    #57
  13. skeetz Win User

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

    No Simon I have not fixed it yet...lol I thought I was supposed to use my user name


    I have another ? why am I not able to delete the windowsapps folder

    it says its not empty...is that going to be a problem

    I went back and looked at your post I think I have it now will
    let you know as soon as I try again


    Thank so much for your time and patience with me glivo
     
    skeetz, Feb 25, 2017
    #58
  14. skeetz Win User
    Well I don't know what happened now...these are the results I got

    1st part completed with success on all folders

    SUCCESS: The file (or folder): "C:\Program Files\WindowsApps\Microsoft.ZuneVideo_2019.17012.10301.0_neutral_~_8wekyb3d8bbwe\AppxMetadata\AppxBu ndleManifest.xml" now owned by user "PAS\".


    2nd part came back

    C:\Windows\system32>icacls "C:\Program Files\WindowsApps" /grant "%USERDOMAIN%\%USERNAME%"*SadF) /t

    C:\Program Files\WindowsApps\Microsoft.Advertising.Xaml_10.1702.3.0_x64__8wekyb3d8bbwe\AppxBlockMap.xml: Access is denied.
    Successfully processed 72 files; Failed processing 1 files

    3rd part came back access is denied on all folders attached a copy

    rd /s "C:\Program Files\WindowsApps"

    C:\Program Files\WindowsApps\MI8FDB~1.0_X\Assets\AppList.targetsize-256.png - Access is denied.
     
    skeetz, Feb 25, 2017
    #59
  15. glivo Win User
    skeetz,
    Something is not working fully for you.

    In step 1 did your process only take ownership of the Microsoft.ZuneVideo*****\files? It should take ownership of the whole WindowsApps directory and everything in it. Maybe the results file you posted only shows me the bottom section from that process.

    In step 2 your process successfully processed only 72 files and failed on 1 in the Windows.Advertising *****\ directory. (This 1 file may or may not be a problem later.)

    When I ran this code my process changed the attributes of every subdirectory and file which was over 30,000 files. Something isn't working for you.

    Perhaps try this. Change over into the Program Files directory and perform the procedure from within it. Is your computer setup to use English? It Matters!!!

    Ensure you are in Safe Mode and Command Prompt (Admin).

    At the prompt
    C:\Windows\System32>cd C:\Program Files
    Note: (You should now have a prompt that says C:\Program Files>) Let me know if you don't.

    At C:\Program Files>takeown /f WindowsApps /r /d Y

    At C:\Program Files>icacls WindowsApps /grant "%USERDOMAIN%\%USERNAME%"System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091 :(F) /t

    At C:\Program Files>rd /s WindowsApps
     
    glivo, Feb 25, 2017
    #60
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: