How to Access WindowsApps folder in Windows 10/8
By default Windows use the "C:\Program Files\WindowsApps" folder, to store all the installation files of all modern installed apps. The "WindowsApps" folder is hidden and by default it is not accessible to users and whenever you try to view its contents, you get a message that says "You don't currently have permission to access this folder".
On the other hand, it is good to know that all settings and data for every installed Store app are saved under this location on your computer: "%USERPROFILE%\AppData\Local\Packages\PackageFullName\". The "AppData" folder is also hidden and you have to enable the Hidden File View to see its contents.
Summary:
- All Windows Store Apps (are stored at the following location on your computer:
- %ProgramFiles%\WindowsApps (usually: C:\Program Files\WindowsApps).
- All Windows Store Apps Data files, for each user, are stored at this location:
- %USERPROFILE%\AppData\Local\Packages (usually: C:\Users\%UserName%\AppData\Local\Packages\
This tutorial contains detailed instructions on how to access the "WindowsApps" folder in order to be able to explore or modify its contents.
How to Gain Access in "C:\Program Files\WindowsApps" folder.
Step 1. Enable Hidden Files View
The "C:\Program Files\WindowsApps\" folder is hidden, so you first have to enable the hidden files view. To do that:
1. Right click on the Start button and navigate to Control Panel.
2. Set the View by to: Small icons.
3. Open File Explorer Options (Folder Options in Windows 8 &7).
3. At View tab, check the Show hidden files, folders and drives setting and hit OK.
Step 2. Backup the current permissions of WindowsApps folder.
Before you continue to change the default permissions to "WindowsApps" folder, first proceed to backup the current default permissions of the folder, in case something goes wrong.
To backup the current permissions of "C:\Program Files\WindowsApps\".
1. Right-click on the Start button and choose Command Prompt (Admin).
2. At command prompt window, type (copy-paste) the following command:
- icacls "%ProgramFiles%\WindowsApps" /save WindowsApps.acl
* The above command will save all current permissions of "C:\ProgramsFiles\WindowsApps" folder to a file named "WindowsApps.acl" that will be stored under the C:\Windows\System32\ folder.
* Note: If something goes wrong after changing permissions (step-3), you can always restore the default permissions by giving this command in command prompt (admin) window:
- icacls "%ProgramFiles%" /restore WindowsApps.acl
Step 3. Gain Access to "C:\Program Files\WindowsApps\".
This step contains two (2) parts. At the first part you can find detailed instructions on how to get "Read Only" access rights to "WindowsApps" folder (e.g. in case that you just want to view its contents) and at the second part you can find instructions on how to get "Full Access" rights to the "WindowsApps" folder (e.g. in case that you want to modify or delete its contents).
Part 1. How to gain Read Only Access to WindowsApps folder.
Part 2. How to gain Full Access to WindowsApps folder.
Part 1.How to gain Read Only Access rights to 'C:\Program Files\WindowsApps' folder.
1. Open Windows Explorer and double click to open the "C:\Program Files" folder.
2. Then double click at WindowsApps folder and click Continue.
3. At the following window, click the security tab link.
4. Select the Security tab and click Advanced.
5. Click the Change link, at Owner line.
6. If you 're logged with an administrator account, type your account username (e.g. "Admin") to the 'Enter the object name to select' box or type "Administrators" and click OK.
7. Check the "Replace owner on subcontainers and objects" checkbox and click OK again to close security settings.
8. Now try to access the WindowsApps folder again, but this time click Continue when prompted and you 're done!
Part 2.How to gain Full Access rights to 'C:\Program Files\WindowsApps' folder.
1. Right-click on the Start button and choose Command Prompt (Admin).
2. At command prompt window type the following command & hit Enter.
- takeown /F "%ProgramFiles%\WindowsApps"
* Note:Â Â The above command will assign the ownership of the folder "C:\ProgramFiles\WindowsApps"Â to the current logged on user.
3. Â Next give this command:
- takeown /F "%ProgramFiles%\WindowsApps"Â /r /d y
* Note:Â Â The above command will assign the ownership of the "C:\ProgramFiles\WindowsApps" sub folders and files to the current logged on user.
4. Next give this command:
- icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F
*Note: The above command will assign Full Control permissions to the folder "C:\ProgramFiles\WindowsApps" for all Administrators users.
5. Next give this command:
- icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F /t
*Note: The above command will assign Full Control permissions to the folder "C:\ProgramFiles\WindowsApps" and its sub folders and files to all Administrators users.
6. Finally assign the ownership of "WindowsApps" folder, back to the TrustedInstaller account, which is the Default owner of the folder.
- icacls "%ProgramFiles%\WindowsApps" /setowner "NT Service\TrustedInstaller"
7. From now on you should have full access rights to the "WindowsApps" folder!
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
We're hiring
We're looking for part-time or full-time technical writers to join our team! It's about a remote position that qualified tech writers from anywhere in the world can apply. Click here for more details.
David
July 20, 2022 @ 6:51 pm
Worked great! After I realized the word "Administrators" must be replaced by your native word if your Windows isn't English.
Thanks! Finally I could get rid of remnants of uninstall of Roblox………
Yarrow
July 8, 2022 @ 11:56 pm
Thank you! I followed the instructions, and can now view the contents of the windowsapps folder. I have not yet tried other operations. I am trying to find the location of application stubs in the start menu that are not yet installed, but will install themselves if you click on them. This is on Windows 11 Home version.
Dal1
February 22, 2022 @ 5:55 am
Has anyone been able to perform the procedure and have had permission to edit the files inside the WindowsApps folder?
David
July 20, 2022 @ 6:23 pm
Step 1-3 works for me. Step 3 takes several minutes. Step 4 fails.
Akhil
January 22, 2020 @ 12:46 pm
Is anyone know how to implement permissions under "c:\programfiles\windowsapps\packagefolder" in msix package.
SARAFHA
May 29, 2019 @ 8:43 pm
Thanks a lot, but you haven't described how to reverse it (get back non-allowance).
lakonst
May 30, 2019 @ 8:56 am
@SARAFHA: I have described that at the end of step-2 (read the note)
Komeil Bahmanpour
April 13, 2019 @ 4:42 am
Step 5 needs "\*" at the end of the path. It should be
icacls "%ProgramFiles%\WindowsApps\*" /grant Administrators:F /t
Otherwise, it will process $RECYCLE.BIN and other folders.
lakonst
April 13, 2019 @ 9:29 am
@Komeil Bahmanpour: As I know the command is correct. But thanks for the info.
Raphael
April 18, 2018 @ 8:45 pm
Thanks a lot! it worked!
Brian Miller
December 31, 2017 @ 6:02 am
Followed steps but cannot remove Encryption – "An error occurred applying attributes to file". I can view files but can't modify.
nottud
February 6, 2018 @ 3:41 pm
Sadly I have the same issue – this is not enough to view and edit encrypted files. :( Looks like that is going to be a headache.
lakonst
February 6, 2018 @ 5:29 pm
@nottud: Try the procedure in Part 2 in Windows Safe.
Allen Gresham
November 2, 2017 @ 6:18 am
I now have access to the folder and subcontents, but I still get permission required when trying to copy a file.
lakonst
November 2, 2017 @ 12:55 pm
@Allen Gresham: Thank you for the information. The article is updated to bypass the permissions issue. Please follow again the steps at Part-2 and inform me for the result.
Baudewyn
October 28, 2017 @ 9:55 pm
Number 4 should be
icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F /t
(lowercase /t, otherwise it will give an error message…)
lakonst
November 2, 2017 @ 1:08 pm
@thanks fro the info. The article is updated,
Mark
August 10, 2016 @ 8:05 pm
Unfortunately it does not work, commands work – but access is denied every time you try to modify file in WindowsApps directory… Any solution for that?
lakonst
August 11, 2016 @ 9:51 am
@Mark: Are you logged in as Admin? When you try to assign full access rights (part 2-icacls) you replace the %username% with your own user-name?