This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

Make any file or folder inaccesible in windows

manank14(25)
Published in
#hack
Words
93
Reading
1 min
Listen
Play
9y

Hey Friends,
Here's a little trick to make any file or folder inaccessible

Step 1: Goto that directory (containing target file)

Step 2: Hold Shift Key + Click Right Mouse Button -> CMD will be opened

Step 3: type- cacls (filename) /p everyone:n -> enter Y on prompt to confirm
Done, now file wont open, close, delete, rename without admin rights (It does not open with admin rights in windows 7)

To make it accessible again type- cacls (filename) /p everyone:f -> enter Y on prompt to confirm

Still confused??? Checkout this video:

Make any file or folder inaccesible in windows | Ecency