September 6, 2016

Simple Hack To Deny All Permissions Of Folder Using Command Prompt in Windows

With the increase in technology, use of a computer which was a luxury once upon a time became a necessity. In the present situation of Tech world, there is no wonder if anyone says that computer is an essential requirement for a human. We store a lot of our personal information right from our favourite photos, media files to official documents. Basically, we care a lot about our privacy. So, there arises a necessity to protect our personal data stored in the folders on our desktop.

18 CMD Commands Every Windows User Should Know

Basically, we care a lot about our privacy. But, our desktop or laptop may be used by our parents or siblings. Most of the times we don’t want our parents/siblings to see our data. Though we have hide option or a password protection option, it is not secure as it can be easily hacked. So, there arises a necessity to protect our personal data stored in the folders on our desktop. Our folders should neither be opened by others nor be deleted by others.
folder lock

Here’s A Trick To Deny All Permissions Of A Folder Using Command Prompt (CMD)

Step1:

Open Windows Command Prompt

Step2:

Change directory to Target folder

Step3:

type cacls folder_name /e /p everyone:n
Congratulations…!!! All permissions of that folder have been denied.

Top 15 Incredible Notepad Tricks, Hacks and Commands That You Must Give a Try

Here is a simple example:

  • There is a folder in E: drive named “Personal”

hide folder cmd

  • Open command prompt and type E: to change directory to E drive.

WhatsApp Hidden Tricks

cmd change directory

  • Now type cacls Personal /e /p everyone:n

How to Improve Wi-Fi Signal Strength on your Smartphone

directory succesful

  • You will get a command- processed dir: E:Personal
  • Now click on the “Personal” folder.

How To Open A Password Protected PDF File When You Lost Or Forgot PDF Password

no access folder

  • You’ll get a popup saying you don’t currently have permission to access this folder.
  • If you click on continue.

Best And Useful Internet hacks you should know

denied permission folder

  • Now you can’t open this folder, can’t delete/copy/move/rename. Your content will be safe!
  • To Regain Permission ” type cacls Personal /e /p everyone:f

regain permission

  • Now you can open this folder.

personal folder

Understanding The Commands:

  • cd- Change Directory
  • cacls- Change Access Control Lists
  • /e- edit
  • /p- permissions
  • everyone- every user
  • f-full
  • n-none

You can use this trick on pen drive too. But your pen drive must have NTFS File System. If your pen drive has FAT/FAT32 file system, you can convert it to NTFS.

How To Fix/Repair A Corrupted SD Card Or USB Flash Drive?

  • Plug your pen drive
  • Click on Format
  • Choose NTFS file system, and Format.

ntfs pendrive
Now there is no need to worry about your privacy information stored in your personal folders. Isn’t this hack amazing? Share this information with your friends and comment below if you know any hacks.

Leave a Reply

Your email address will not be published. Required fields are marked *