Windows 10 Apps access denied

Zajo

Reputable
Oct 8, 2014
20
0
4,510
I had some problems with the ProgramData folder and skype installer.
I searched on google how to fix this and I found a random article on Microsoft forum.
The solution was to change the owner and some permissions of the whole C: Partition.
I decided to change it and after I changed it Start menu died and windows started to be laggy and started freezing.
All apps stopped running and I was unable to open them.
I didn't have a backup so I decided to do a windows refresh (reinstalls windows, uninstalls all programs, keeps files).
After that everything still works except some apps like Microsoft Store, Photos and Xbox app.
They just close immediately after I open them. My event viewer is full of errors about apps.
At the end of every report it says access denied.
And when I try to open a picture it says I should open it with the default photos viewer but thats doesn't work.
When I try to open it using IrfanView, it's not on the list and when I go to browse - IrfanView it opens normally but windows still won't show IrfanView on the list of Phtoto apps so I have to select it manually every time.
I checked permissions all over the Windows and they all seem to be fine but I still think I missed one.
Windows 10 Pro 64-bit Pics: http://imgur.com/a/NEQK7
 
You may need to reinstall all Windows Apps. To do this, right-click Start Menu, click Run and enter powershell and run as administrator. Wait for it to load, and enter Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} into the console and press enter. Wait a few moments for it complete. Restart your PC and it should be fixed.