What is 'c:/program files/windows apps' hidden folder and why can't I access it?

Hey there,

 

Doing some playing and ran across the hidden folder mentioned in the title. There is only one account on our Surface, full admin access naturally and I was wondering what this folder is and why I can't access it. When I try to access the folder, I get the following:

 

"You don't currently have permission to access this folder. Click continue to permanently gain access to this folder."


So, like a good lad, I click continue and.........

 

"You have been denied permission to access this folder."

 

But wait......I can click a hyper link to the security tab, Ok......

 

"You must have read permissions to view the properties of this object. Click advanced to continue."

 

No sweat!!!!

 

"You must have read permissions to view the properties of this object. Click continue to attempt the operation with administrative permissions."

 

Okey Dokey!

 

This of course takes me to advanced security settings where it says the owner of the folder is 'trusted installer' and 'administrators' is showing correctly with read and execute access for this folder, all subfolders and files.

 

Can someone please clarify what this folder is for and why there is a folder on my Surface RT that I cannot access?

 

Thanks for reading,

 

Question Info


Last updated November 13, 2019 Views 37,437 Applies to:
Answer
Answer

Do This>>>

open the CMD as said above write This>>>

TAKEOWN /F "C:\Program Files\WindowsApps" /R /D Y

(Whit quotes...copy paste it...it's better)


you will see like this a hundreds>>>

SUCCESS: the file (or folder): XXX bla bla bla 

and wait till it stops.

then type again This>>>

ICACLS "C:\Program Files\WindowsApps" /grant administrators:F /T 

you may see nothing happened...for a second...then ...boooooom :D

after that you will see something like:successfully processed XXXXX files ; Failed processing 0 files

if its exactly like that"Failed processing files" then your done and good...go and have fun

Thanks to Rohit Siddegowda..i just fixed the a mistake from him(cuz paths whit spaces need quotes)

(After doing all this you may not get modify permissions...to fix that too copy the file to other place,modify it,delete the first file,and then add your modified file to the folder)

54 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer
Answer

Hi Brad,

 

Welcome to the Microsoft Community.

 

Windowsapps folder is where all the Modern apps data is stored. If you install any apps from the Windows Store is also stored in the same location. This folder is not provided full permissions so that if anything wrong happens by mistake, you might face issues with the modern apps.

 

If you still want to take ownership of the folder, you may try to follow these steps:

a.     Swipe in from the right edge of the screen, and then tap Search.

(If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.)

b.    Enter “CMD” without quotes in the search box, tap or click Apps

c.     Touch and hold the Command prompt tile in the search results. Then drag your finger down until the tile is outlined by a solid line. Once it happens release your finger from the screen.

d.    Tap or Click Run as administrator.

e.    At the command prompt, type “takeown /f <foldername> /r /d y” without quotes and then press ENTER. (Replace <foldername> with the path of the folder).

f.      Then, type “icacls <foldername> /grant administrators:F /T” without quotes and hit enter. (Replace <foldername> with the path of the folder).

 

Using the above mentioned commands, we took the ownership of the folder and then assigned the Administrators group Full Control Permissions for the folder.

 

If you are still facing the issue, please reply and we will be happy to help you.

 

Rohit S

27 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.