5

Ok, so I was trying to edit files in the the WindowsApps directory (I made this post Remove pre-installed apps (Candy Crush, Bubble Witch Saga, March of Empires) from Windows 10) and I set myself as the owner of all of the folders in this directory. Then, this made Windows Store unlaunchable, so I began fiddling with the permissions, which was a big mistake. If I add a permission rule giving "All application packages" full control of the WindowsApps folder and subfolders, then Windows Store begins functioning again, but this seems like a band-aid fix so I tried to find another solution. I tried resetting Windows twice (once keeping files and once losing files) but this issue still persists.

I am running 64-bit Windows 10 Pro - I am preparing to reinstall Windows with a USB drive created through the media creation tool but I am worried this will install a standard version of Windows. Will I be able to keep the Pro version?

Does anyone have any other ideas - maybe ways to reset permissions of an entire folder tree or is there a way to delete the entire WindowsApps directory and have Window update repair it?

At this point, I am considering just using my computer as-is, because I don't really use the Windows store.. please help!

and
  • 131
  • 1
  • 2
  • 4
  • 1
    You might also check this answer and the section **Reset Windows 10** in particular too: https://superuser.com/questions/1283165/uwp-icons-are-missing/1285465#1285465 ... I have a comment in there about `icacls WindowsApps /T /Q /C /RESET` and such so check it out. – Vomit IT - Chunky Mess Style May 31 '18 at 04:36
  • Only way to fix this is a clean install of Windows 10. I suggest you use “Fresh Start” but that of course will restore the applications you just removed (only because it’s a simple solution) – Ramhound May 31 '18 at 09:28
  • 2
    To whoever marked this as duplicate. Just because the solution is same, does not mean the question is duplicate. They describe quite separate situations. Eventually all worlds problems can be reduced to some universal underlying cause also, but we mortals prefer to keep them separate. – Roland Pihlakas Feb 05 '20 at 23:15
  • 1
    [How to Restore the Default Permissions for WindowsApps folder](https://www.winhelponline.com/blog/windowsapps-folder-restore-default-permissions/) – w32sh Nov 08 '20 at 08:24

1 Answers1

5

Restore WindowsApps permissions as follows, using an elevated command prompt:

icacls "C:\Program Files\WindowsApps" /reset /t /c /q

source: Reset default ACLs for C:\Program Files\WindowsApps

Stijn Bousard
  • 161
  • 1
  • 4
  • 2
    I get a huge amount of `Access is denied` message when running this. The prompt is elevated. Any ideas? – Shadow Jan 16 '20 at 02:56
  • 1
    Hi Shadow, referring to the same question (https://superuser.com/questions/1288014/reset-default-acls-for-c-program-files-windowsapps), follow the instructions from JTE: download psexec from sysinternals (https://docs.microsoft.com/en-us/sysinternals/downloads/psexec), then execute: psexec.exe -s -i cmd A new elevated command prompt will be opened, on that prompt, execute the icacls command: icacls "C:\Program Files\WindowsApps" /reset /t /c /q – Stijn Bousard Feb 12 '20 at 08:50
  • Tried that - it worked, but it didn't solve the problem. Thanks anyway. – Shadow Feb 13 '20 at 11:51
  • Hi Shadow, can you tell me what your problem is? – Stijn Bousard Feb 14 '20 at 13:26
  • I'm getting a "[...].exe The parameter is incorrect" every time I (or the computer) attempts to open a windows store application. Similar issue to [this site](https://www.tenforums.com/software-apps/108700-all-windows-store-apps-report-parameter-incorrect.html). Verifying permissions was on one of the many many guides to solving it that I have found. – Shadow Feb 16 '20 at 23:26