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




Your location is: Princeton, NJ

Your current IP address is: 2001:4455:2f7:b700:f880:7bad:b46b:1768

You can stream and download anonymously through your PC, Mac, Android, and iPhone through IP Vanish.

Get 3-Months Free, 30-Day Money Back Guarantee

  • 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.



Five Helpful Ways to Help You Make More Money With Your Blog

Can I make money from my blog?  What are the different ways that I can use to make money from my blog? How much money …

Successful Web Security
Tech Tips

13-Step Guide to Creating A Successful Web Security Plan for Your Server and Data

Putting a website security plan in place is necessary for the safety of your website. Without such a plan, you can never ensure the security …

search engine optimization

Top 10 Local SEO Myths to Forget in 2021

Search is a focal point for business owners and consumers alike. There are multiple ways to drive website traffic today. Top 10 Local SEO Myths …


4 Budget-Friendly Strategies to Engage Your Remote Employees

Businesses have changed radically in the last five years with the evolution of digital, cloud, and online capabilities. 4 Budget-Friendly Strategies to Engage Your Remote …

success tree
B2B Technology

How To Write A Marketing Plan in 2021

The marketing schools are getting smarter and smarter. They know that an M.B.A., or even an engineering degree, will not give you the skills you …

credit card
B2B Technology

10 Benefits of Accepting Credit Cards on Your Ecommerce Website

When a business decides to sell online, they probably think of PayPal’s handy payment button. It’s good for receiving money from customers and is compatible …