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

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)


Open Windows Command Prompt


Change directory to Target folder


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.


Product Reviews

Poshmark: A Guide to Safe Buying and Profit Selling

The iconic French designer icon, Yves Saint Laurent, once said, “I have always believed that fashion was not only to make women more beautiful but …

business of former athletes

Life after Sports: Businesses Common for Athletes after their Careers

Many athletes, after finishing their careers, find themselves very successful in other areas and often even begin to earn more income than earlier. The qualities …

girl using his cellphone
Tech Tips

5 Most Effective Content Writing Tips for Small Businesses

There are over 409 million users visiting blogs on WordPress every month. If you are not writing and publishing content about your business online, you’re …

movie stream

The 15 Best Movie Streaming Sites: Watch Movies Online

There’s nothing like relaxing after a long day with a good movie. Movies are what keep us entertained, especially in the post-pandemic era where digital …

personal safety apps

27 of the Best Personal Safety Apps For Your Smartphone for 2021

This article is about the best personal safety apps., and student safety apps, most of them free, and a few paid, but, fear not (no …

home workout

5 Best Home Workout Apps

Despite the likelihood of Toronto entering the grey zone of the reopening framework this February, most businesses that are recreational in nature such as gyms …