Batch File: Access Denied When Removing Permissions

0

Hello. I'm trying to remove my user's permission to access the "Recent" folder on my computer, but the code returns an "access denied" message. I already ran as administrator and it did not solve, could you help me?

Code:

cacls %userprofile%\AppData\Roaming\Microsoft\Windows\Recent /e /t /p %username%:n

Thank you in advance.

    
asked by anonymous 17.08.2018 / 01:46

0 answers