6

Cannot edit WindowsApps Folder and Installed UWP Files

 2 years ago
source link: https://www.jasongaylord.com/blog/2021/11/24/cannot-edit-uwp-files-windowsapps-folder
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Cannot edit WindowsApps Folder and Installed UWP Files

Nov 24, 2021

  ●  

1 minute(s) to read

  ●  

Permalink

  ●  

suggest edit

There may be times where you develop a Universal Windows App (UWP) and need to modify files. For instance, in a recent UWP app that I’ve created, I need to move videos in and out of the folder without packaging them up. This allows for a smaller app package. It’s also still in the testing phase where I really don’t want to use a KnownFolder, which I find limiting anyway.

You should not update the permissions on this folder unless you know what you are doing. By doing this, you can corrupt applications installed in this folder. Be aware of the consequences before proceeding!

By default, you do not have access to the WindowsApps folder. To get access, there’s two basic steps to follow. First, you need to give yourself ownership rights to that folder.

takeown /F "C:\Program Files\WindowsApps" /A /R

Next, you can either browse to your application’s specific folder and give yourself Full Access to the folder or do that at the top level. I prefer the latter when testing UWP apps so I do not need to perform the same task for every app I create.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK