1

How to Access the Protected WindowsApps Folder on Windows

 1 year ago
source link: https://www.makeuseof.com/windows-access-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.

How to Access the Protected WindowsApps Folder on Windows

Published 20 hours ago

Windows has a special WindowsApps folder, but you need to perform some initial steps to access it.

Person Working On Windows Laptop

The Microsoft Windows Operating System has a hidden folder called "WindowsApps". It stores Microsoft application files and other important files to enhance your Windows experience.

The WindowsApps folder generally contains a large amount of reusable space. This is because it also contains those application files that you uninstalled earlier from your PC.

Thankfully, you can remove unnecessary files from the WindowsApps folder to free up some space. But it's a little hard to get to this folder because it's protected and hidden in Windows File Explorer. Here are some ways to access the WindowsApps Folder on Windows and make necessary changes to it.

What Is the WindowsApps Folder?

You can find the WindowsApps folder under the C:\Program Files directory in Windows 10 and 11. This folder has all the files related to UWP packages or Windows apps that you get from the Microsoft Store or that come preinstalled on Windows OS.

The problem is that a basic Windows user or even a system administrator user account can't access or change the files in the folder. This is because it is owned by a Microsoft account named "TrustedInstaller." We've already covered everything about TrustedInstaller and how to disable it in detail.

WindowsApps Hidden Folder In Explorer

Even if you uninstall or debloat some of the apps in Windows, the core application files are not removed from the WindowsApps folder. So, there are chances that such apps will reappear after an update.

This is why we recommend using one of the popular software uninstallers for Windows. Because these tools not only uninstall an app completely but also clean up any leftovers and traces from almost all the secured folders.

If you don't know what you're doing—modifying or deleting the files in the WindowsApps folder could cause system errors or even cause the Windows operating system to crash.

There are many ways to access the WindowsApps folder and bypass the protection to gain access to the necessary files. Moreover, all the steps in this article are the same for both Windows 10 and Windows 11.

1. How to Access WindowsApps via File Explorer

You can easily find the WindowsApps folder in the Windows File Explorer by unhiding the respective folder first. However, to access the folder and make changes to the files—you need to gain some extra rights by changing the ownership.

Follow these steps to view the WindowsApps folder first:

  1. Open the Windows File Explorer and go to the C:\Program Files directory.
    Program Files Directory In Explorer
  2. Now, click the View tab, located on top of the File Explorer.
  3. Finally, select the Hidden items checkbox to enable it.
    Hidden Items Checkbox In Explorer

That's it. Now you can see theWindowsApps folder in the same directory.

If you try to open it, you'll see an information popup saying "You have been denied permission." So, to actually access that folder and gain exclusive read and write rights—you've got to do a bit more.

Changing Ownership for Easy Access

For the next steps, you need a user account with administrative rights. If you're a beginner, you must know everything about the Administrator account to better understand the steps.

Follow the steps mentioned below to change the ownership rights and access the required folder:

  1. Select the WindowsApps folder and right-click on it.
  2. Once the context menu appears, select Properties from the list.
    WindowsApps Properties Option
  3. Now, under the Properties window. Click the Security tab and then the Advanced option locatedright at the bottom.
    WindowsApps Security Properties
  4. Once you've opened the Advanced Security Settings window, click the Change text next to Owner.
  5. Now, on the following screen, click Advanced > Find Now > Administrator.
  6. Finally, just click OK to select the Administrator as the owner and again OK to save the changes.
    User Group Selection Window
  7. Then, tick the checkbox just before the Replace owner on sub containers and objects text.
  8. Now, click the Apply button followed by the Ok button to initiate the process of transferring ownership.
    WindowsApps Advanced Security Settings
  9. Once done, click the OK button on the next pop-up.

If you followed the steps above to take ownership of the WindowsApps folder, you can now move or delete files from that folder.

Moreover, you can also check out some free tools for taking control of files and folders in Windows. Such tools allow you to take full ownership of all your files and folders with a single click.

When you don't pause software installations from the Windows store, this folder occupies a considerable bit of disc space. So, it becomes important for you to access this folder once and check for the files that you no longer need.

2. How to Access WindowsApps via a Powershell Command

The File Explorer-based method is fairly complicated for a newbie. If you're looking for an easy-to-go method, you can use PowerShell to get your job done. Using Windows PowerShell is a pretty straightforward and automated procedure.

Follow these steps to access the WindowsApps folder using PowerShell:

1. Launch the Windows start menu or Windows search.

2. Now, type in PowerShell and click the right arrow icon next to PowerShell to open more information. If this isn't working for you for some reason, you can check some other ways to open PowerShell on Windows.

3. Click the Run as Administrator option to run PowerShell with administrator rights.

PowerShell In Windows Search

4. In Powershell, run the following command and press the Enter key:

takeown /f “C:\Program Files\WindowsApps” /r
Change Ownership Command In Shell

The above command will restore all the files or folder ownership to the system administrator. It will take some time for your administrator user account to become the owner of the WindowsApps folder and everything in it.

The access you gain by executing the above process is similar to that of the Windows File Explorer-based method. You have just automated the process and eliminated the unhiding of system files. Now you can backup, clear some space, or make changes to the Windows apps' back-end files.

If you're facing crashes during executing the file, make sure to check out some effective ways to fix PowerShell crash errors.

3. How to Access WindowsApps via a Registry Hack

There's another quick way to do the same thing with just a few steps. If you're unable to use the PowerShell method stated above, you can use a simple registry hack to access the files in one go.

Follow these steps to take full ownership of the context menu for your files and folders and get to the WindowsApps folder:

  1. Download the Take Ownership registry file.
  2. Extract the zip and open the Add Take Ownership to Context menu registry file.
    Take Ownership Registry File In Explorer
  3. On the next screen, click Yes to add it to the registry.
  4. Next, exit the popup by clicking OK and navigate to the C:\Program Files directory.
  5. Select the WindowsApps folder and right-click on it.
  6. From the context menu, click the Take Ownership option.
    Take Ownership Context Menu
  7. In the Command Prompt, you need to give User Account Control Administrator rights for the registry hack to work.

Now, you are no longer required to do anything. Wait a few minutes for the window to close on its own. It will display success messages constantly in the Command Prompt. Once finished, you'll be able to access the WindowsApps folder and data files.

Enjoy Unrestricted Access to WindowsApps Folder

Using one of these methods, you should now be able to view the hidden files and folders on your computer. Now that you know everything about the WindowsApps folder, you can make changes to the UWP packages that are safe.

Moreover, in the WindowsApps folder—you can remove Windows app remnants, open any software directly from the .exe file, and inspect all removed packages, among other things.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK