Windows 10: Deleted WindowsApps, how do I restore?

Discus and support Deleted WindowsApps, how do I restore? in Windows 10 Ask Insider to solve the problem; So Game Pass for PC is broken. I had 200gb of games downloaded, canceled my subscription, and uninstalled all the games, but Game Pass only gave me... Discussion in 'Windows 10 Ask Insider' started by /u/KyleRendar, Apr 18, 2020.

  1. Deleted WindowsApps, how do I restore?


    So Game Pass for PC is broken. I had 200gb of games downloaded, canceled my subscription, and uninstalled all the games, but Game Pass only gave me 123gb of my space back. I found that all the games installation files are stored in the hidden folder 'WindowApps'. I tried several times to delete the folders inside WindowsApps, as the WindowsApps folder took up 77gb of my precious M.2 space. I accidentally found a solution/new problem by deleting the entirety of the 'WindowsApps' folder.

    It didn't delete EVERY folder in there, it said some of them were being used at the time, and I only wanted rid of the games that Windows wouldn't let me access, for example my PC still boots up, but apps don't. I can't open any Microsoft apps, or the the Microsoft Store. I tried going back to a restore point, but that didn't work. I looked into the 'Reset this PC' option, but it wanted to delete every video game I have installed, and seeing as I have 5.5tb of video games downloaded, and my max internet speed in 2MB/s, that's is NOT an option.

    I want my PC to function properly. I don't use any apps really, but I don't want Windows to be broken, and I don't want to delete 5.5tb of my steam games. Is there a way to restore the apps? Is there somewhere I could download the default WindowsApps folder? I have a CD with a Windows 10 ISO, is there a way to reset windows, without deleting ANY of my files, or my video games?
    I worry if there is a Windows Update, and I don't have the contents of WindowsApps folder, that I won't be able to boot.

    submitted by /u/KyleRendar
    [link] [comments]

    :)
     
    /u/KyleRendar, Apr 18, 2020
    #1
  2. glivo Win User

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

    Steps taken.
    Part 1/
    Install W10. User -Test (No additional updates. No OEM drivers)
    Create Restore Point -"Pristine"
    Make a system alteration. ie; D/L and Install Google Chrome.
    System Restore to RP "Pristine". (Note: Chrome should be gone.)
    Successful. Chrome is gone and Edge reset. ??? Chromesetup file removed from \downloads??? Why???
    New Restore Point - "Undo Restore" created by system.

    Step 2/
    D/L and install KB3213986. Reboot.
    Make a system alteration. ie; D/L and Install Google Chrome.
    Create Restore Point - "Update 1 Chrome"
    Make a system alteration. Uninstall Chrome.
    System Restore. (Note: Chrome should come back but may not work correctly.)
    Fail. 0x80070091

    To me that represents a conclusive result.

    The next obvious thing to do was to roll back the Update, assuming that this will fix System Restore. However, rolling back the Update DID NOT restore the functionality of System Restore. So now my confident claim, above, is a bit shaky. If performing the update does in fact cause the issue, removing it doesn't put it right.

    So now, the next obvious thing is to perform the WindowsApps rename or deletion process, to apply the fix, and run a series of testing to see if System Restore becomes stable.

    Results.
    Performing the WindowsApps rename fix, instead of deleting it this time, once again resulted in System Restore operating correctly. I have been able to install the remaining updates and flip back and forth between Restore Points without issue.

    At this point I am done with it. My testing shows that:
    • It is update KB3213986 that causes the problem to occur in the first instance.
    • Rolling back the update does not correct the problem.
    • Performing the known fix returns System Restore functionality.
    • For how long, we don't yet know.

    Should you wish to rename the WindowsApps directory rather than delete it, the attrib WindowsApps -h command line can only be performed after the icacls command line.
     
    glivo, Apr 18, 2020
    #2
  3. glivo Win User
    System Restore fails: AppxStaging %ProgramFiles%\WindowsApp 0x80070091

    I disagree.
    I first deleted it and, with System Restore "fixed", the directory was returned during the first successful use of it.
    I have now, also renamed it, during testing, and after using the attrib -h command first. Similarly, it was returned after successfully using System Restore the first time.

    I have now affected this procedure several times, on my actual system, and on a test setup.
    • To actually get System Restore working again.
    • To test simplified variation to the code.
    • During the testing that showed me the update caused the problem.
    Each time I've done it the WindowsApps directory is replaced when you run System Restore successfully after the fix. I do agree that it won't miraculously regenerate upon reboot.

    I have not investigated the Get Office Hub you are saying causes this. You may well be 100% correct and the rename or deletion of the entire WindowsApps directory is overkill. For mine though, it worked.

    @kitpzyxmsir If at one time you successfully renamed it, then it should still be there. Just rename it back again.
     
    glivo, Apr 18, 2020
    #3
  4. S.cloris Win User

    Deleted WindowsApps, how do I restore?

    WindowsApps folder says permissions are corrupted and need to be deleted, is this normal or critical?

    According to your description, I suggest you try the following steps:

    1. Navigate to the location C:\Program Files.
    2. Right-click on the WindowsApps folder, and select Properties.
    3. Turn to Security tab and click on Advanced.
    4. Click on Change and then type Users in Enter the object name to select area.
    5. Click on OK, then click Apply > OK. You can also add the TrustedInstaller to the users list and check if it takes effect.

    However, you might be still not able to access the files. The workaround is to go inside the C:\Program Files\WindowsApps\, and repeat the same way with the Microsoft.WindowsStore* folders.
     
    S.cloris, Apr 18, 2020
    #4
Thema:

Deleted WindowsApps, how do I restore?

Loading...
  1. Deleted WindowsApps, how do I restore? - Similar Threads - Deleted WindowsApps restore

  2. How do I restore deleted Personal folder?

    in Windows 10 Ask Insider
    How do I restore deleted Personal folder?: [ATTACH] https://preview.redd.it/rbjlgna65z751.png?width=1366&format=png&auto=webp&s=734f96a1835ab3ff5060a710cf391b439d6b7b26 As you can see, I accidently deleted Music and 3D Object folders. Fortunately there was no important contents inside them, but I hate to see...
  3. WindowsApps deleted

    in Microsoft Windows 10 Store
    WindowsApps deleted: i delete windowsapps folder and now i can not open windows store and xbox beta app how can i fix this? https://answers.microsoft.com/en-us/windows/forum/all/windowsapps-deleted/4f52921e-556e-4d3d-8b43-db2aa099a7d5
  4. Deleted WindowsApps, how do I restore?

    in Windows 10 Software and Apps
    Deleted WindowsApps, how do I restore?: So Game Pass for PC is broken. I had 200gb of games downloaded, canceled my subscription, and uninstalled all the games, but Game Pass only gave me 123gb of my space back. I found that all the games installation files are stored in the hidden folder 'WindowApps'. I tried...
  5. How do I repair/reinstall WindowsApps

    in Windows 10 Network and Sharing
    How do I repair/reinstall WindowsApps: I updated the permission on the WindowsApps folder in an attempt to get a game controller to work with a game, and now the game won't load; It involved changing the folder's permissions to the current user from TrustedInstaller. After performing the initial change, it...
  6. How do I hide the WindowsApps folder?

    in Windows 10 Network and Sharing
    How do I hide the WindowsApps folder?: I know that the WindowsApps folder is for the apps I installed from the windows store but I moved it into my D:/ drive instead of the C:/ drive. It's just kind of cluttering up space and I want to hide it since I won't open it anyway. Whenever I try to do Properties > Hide,...
  7. How to restore WindowsApps security permissions

    in Windows 10 Network and Sharing
    How to restore WindowsApps security permissions: Hello, I recently was playing with settings and changed where new content is saved. I changed new apps will save to my D drive and then I wanted to change it back to my C drive. After changing it back to my C drive, I had to mess with the permissions to be able to delete the...
  8. How to delete WindowsApps?

    in Microsoft Windows 10 Store
    How to delete WindowsApps?: Hi, I want to remove WindowsApps folder from the root of my secondary hard drive. I safely uninstalled everything related with Xbox or Microsoft Store but the folder remains....
  9. How to delete old WindowsApps folder?

    in Windows 10 Performance & Maintenance
    How to delete old WindowsApps folder?: I have the problem below. Please help me! 1. Yesterday, I have changed Windows Apps Installation Drive to E: -> Windows 10 created WindowsApps on E: -> I have changed back to C: but WindowsApps folder still exist on E: -> I can not deleted that folder. 2. I reset the...
  10. How do I restore accidentally deleted roaming.lock?

    in Windows 10 Support
    How do I restore accidentally deleted roaming.lock?: While trying to reset Spotlight somehow roaming.lock got deleted How can I restore this? 89689