Skip to content

How To Blog

  • How To Fix Your Computer Without Calling In Geeksquad How-To
  • Best Outdoor Wifi Security Cameras for 2019 Smart Home
  • red dot on apple watch Apple Watch
  • Turn Off User Account Control (UAC) for a Specific Application How-To
  • zakat calculator on gold Calculator
  • This Free AI Tool Removes Background From Videos But Has A Catch How-To
  • How to Hide Someone to Appear in Google Photos Memories How-To
  • Do Cloud-Based Simulation Services Mean You Can Ditch That Expensive Workstation? Reviews

How to Set File and Folder Permissions in Windows

Posted on October 6, 2020 By blog_786 1 Comment on How to Set File and Folder Permissions in Windows

Usually you don’t need to worry about permissions on Windows because the operating system already does it. Each user has their own profile and their own set of permissions, which prevents unauthorized access to files and folders.

However, there are times when you might need to manually configure permissions on a set of files or folders to prevent other users from accessing the data. This post assumes that other “people” also have access to the same computer that you are using.

If not, you can just encrypt your hard drive and that’s it. However, when other people, such as family or friends, can access the computer, then permissions can come in handy.

Of course there are other alternatives like hiding files and folders using file attributes or using the command line to hide data. You can even hide the entire drive in Windows if you like.

If you want to set permissions to share files with others, check out my post on creating a hidden network share or how to share files between computers, tablets, and phones.

How to Set File and Folder Permissions in Windows

Data security

The only other time you’ll need to mess with folder or file permissions is when you get a Permission Denied error when trying to access data. This means that you can take ownership of files that do not belong to your current account and still access them.

This is important because it means that setting permissions on a file or folder does not guarantee that the file or folder is secure. In Windows, an administrator on any Windows PC can override permissions for a set of files and folders, taking responsibility for them. Once you get ownership, you can set your own permissions.

So what does this mean in English? Basically, if you have data that you don’t want others to see, you should either not store it on this computer at all, or use an encryption tool like TrueCrypt.

For those tech-savvy readers, you’re probably saying, “Hey wait, TrueCrypt is no longer supported due to security vulnerabilities and should not be used!” Well that’s true, however TrueCrypt was independently audited and Phases I and II were completed.

You should only download TrueCrypt 7.1a, which has been uploaded to a verified mirror on GitHub. If you are not at all comfortable using TrueCrypt, the only other suggestion I can suggest is VeraCrypt, which was the successor to TrueCrypt but fixed many flaws.

File and folder permissions

Now that we’ve got all this sorted out, let’s talk about permissions in Windows. Every file and every folder in Windows has its own set of permissions. Permissions can be split into ACLs with users and corresponding rights. Here’s an example with a list of users at the top and permissions at the bottom:

How to Set File and Folder Permissions in Windows

Permissions are also either inherited or not. Typically, in Windows, each file or folder gets its permissions from the parent folder. This hierarchy continues down to the root of the hard drive. At least three users have the simplest permissions: the SYSTEM currently logged in and the Administrators group.

These permissions are usually taken from the C: Users Username folder on your hard drive. You can access these permissions by right-clicking a file or folder, choosing Properties, and then clicking the Security tab. To change the permissions for a specific user, click that user, and then click the Change button.

How to Set File and Folder Permissions in Windows

Note that if the permissions are grayed out like in the example above, the permissions are inherited from the containing folder. I’ll go over how to remove inherited permissions below, but first, let’s understand the different types of permissions.

Permission types

Types of permissions

There are six types of permissions in Windows: Full Control, Modify, Read and Execute, List Folder Contents, Read, and Write. Folder content listing is the only permission that is exclusive to folders. There are more complex attributes, but you don’t have to worry about them.

So what does each of these permissions mean? Well, here’s a nice diagram from the Microsoft website that reveals the meaning of each file and folder permission:

How to Set File and Folder Permissions in Windows

Now that you understand what each permission controls, let’s take a look at changing some of the resolutions and checking the results.

Edit Permissions

Before you can edit any permissions, you must take ownership of the file or folder. If the owner is another user account or system account, such as Local System or TrustedInstaller, you cannot change permissions.

Read my previous post on how to take ownership of files and folders in Windows if you are not currently the owner of them. Now that you are the owner, let’s do one more thing:

  1. If you give a user Full Control permissions on a folder, the user can delete any file or subfolder no matter what permissions are set for these files or subfolders.
  2. Permissions are inherited by default, so if you need custom file or folder permissions, you must first turn off inheritance.
  3. Deny override permissions Allow permissions, so use them sparingly and preferably only for specific users, not groups
  4. If you right click on a file or folder, select Properties and click on the Security tab, and now we can try to change some permissions. To get started, click the “Change” button.

    How to Set File and Folder Permissions in Windows

    There are several things you can do at this point. First, you will notice that the Allow column is probably grayed out and cannot be changed. This is due to the inheritance I talked about earlier.

    How to Set File and Folder Permissions in Windows

    However, you can check items in the Deny column. So if you just want to block access to a folder for a specific user or group, first click the Add button, and after adding you can check the Deny button next to the Full Control field.

    How to Set File and Folder Permissions in Windows

    When you click the Add button, you must enter a username or group name in the field and then click Check Names to make sure they are correct. If you don’t remember the name of the user or group, click the “Advanced” button and then just click “Find”. It will show you all users and groups.

    How to Set File and Folder Permissions in Windows

    Click OK and the user or group will be added to the ACL. Now you can check the Allow or Deny column. As mentioned, try using Deny for users only, not groups.

    How to Set File and Folder Permissions in Windows

    What happens if we try to remove a user or group from the list. Well, you can easily delete the user you just added, but if you try to delete any of the items that were already there, you will get an error.

    How to Set File and Folder Permissions in Windows

    To turn off inheritance, you need to go back to the main Security tab for a file or folder and click the Advanced button at the bottom.

    How to Set File and Folder Permissions in Windows

    In Windows 7, you have one extra tab for the owner. In Windows 10, it just moved to the top and you need to click on “Change”. Anyway, in Windows 7, click Change Permissions at the bottom of the first tab.

    How to Set File and Folder Permissions in Windows

    In the Advanced Security Settings dialog box, clear the Include Inherited Permissions From Parent check box.

    How to Set File and Folder Permissions in Windows

    When you do this, another dialog will appear asking you if you want to convert inherited permissions to explicit or simply remove all inherited permissions.

    How to Set File and Folder Permissions in Windows

    If you’re not sure exactly what permissions you need, I suggest choosing Add (Explicit Permissions) and then just remove whatever you don’t need. Basically, clicking on the Add button retains all the same permissions, but now they will not be greyed out and you can click Remove to remove any user or group. By clicking Delete, you will start from scratch.

    It looks a little different on Windows 10. After clicking the “Advanced” button, you must click the “Disable inheritance” button.

    How to Set File and Folder Permissions in Windows

    When you click on this button, you get the same options as in Windows 7, but in a different form. The Convert option is the same as Add, and the second option is the same as Remove.

    How to Set File and Folder Permissions in Windows

    The only thing you need to understand is the Effective Permissions or Effective Access tab. So what are effective permissions? Well, let’s take a look at the example above. I have a text file and my Aseem account has full control. What if I add another item to the list so that the Users group is denied full access.

    How to Set File and Folder Permissions in Windows

    The only problem here is that the Aseem account is also a member of the user group. So I have Full Access in one permission and Deny in the other, which one is better? Well, as I mentioned above, Deny always takes precedence over Allow, so Deny will win, but we can confirm this manually as well.

    Click “Advanced” and go to the “Effective Permissions” or “Effective Access” tab. In Windows 7, click the Select button and enter the name of the user or group. On Windows 10, click the Select User link.

    In Windows 7, as soon as you select a user, it will immediately display the permissions in the list below. As you can see, all permissions are unchecked, which makes sense.

    How to Set File and Folder Permissions in Windows

    In Windows 10, after selecting a user, you must click the “View active access” button. You will also see a nice red cross to indicate no access and a green check mark to indicate allowed access, which is a little easier to read.

    How to Set File and Folder Permissions in Windows

    So now you know everything there is to know about Windows file and folder permissions. To understand everything, you need to play with yourself a little.

    The main thing to understand is that you need to be the owner to edit permissions, and that any administrator can take ownership of files and folders regardless of the permissions on those objects. If you have any questions, do not hesitate to leave comments. Enjoy!

    –

Computer Tips

Post navigation

Previous Post: Legally Download Windows 10, 8, 7 and Install from USB Flash Drive
Next Post: How to Fix “Page fault in non paged area” Error

Related Posts

  • How to Resize a Video or Change Resolution Computer Tips
  • 7 Ways to Child Proof a Computer Computer Tips
  • Update Facebook Status From a Dumbphone using Facebook Texts Computer Tips
  • How To Download Shows and Movies From Netflix Computer Tips
  • How to Fix Android Hotspot Not Working? Computer Tips
  • How to Stabilize Video in Premiere Pro 2022 Computer Tips

Comment (1) on “How to Set File and Folder Permissions in Windows”

  1. Pingback: Windows cannot access the specified device, path, or file error - How To Blog

Leave a Reply Cancel reply

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

Archives

  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Windows XP Tips
  • Wordpress

Recent Posts

  • Easily save snap chat videos
  • 21 best time management tools and apps you need
  • Micro Portable Speaker Tribute Stormbox
  • How to verify on Instagram
  • 11 Best Ways to Improve Alexa Capabilities

Recent Comments

  1. How to reset Windows 10 from factory settings - How To Blog on The Easiest Way to Clean Install Windows 10
  2. How to reset Windows 10 from factory settings - How To Blog on 7 Best Programs to Immediately Install on Your New Computer
  3. How to reset Windows 10 from factory settings - How To Blog on What To Do If You Think Your Computer Or Server Has Been Infected With Malware
  4. 9 Best Ways to Fixing Safari Not Working on Mac? - How To Blog on How To Hard Reset a Mac OS X Computer & Reinstall The OS
  5. How to uninstall Avast antivirus on Mac - How To Blog on 4 Ways To Uninstall Apps On Mac
  • How To Sync Outlook Contacts With Android, iPhone, Gmail & More iPhone
  • The 7 Best Online Invoicing Services Product Reviews
  • How to create a mood board on pinterest technology
  • Best simple calculator 2020

    Best simple calculator 2020

  • 7 Best Bike Computers for Cycling Enthusiasts 2022 Gadgets
  • 3 Slideshow Screensavers Far Better Than The Windows 10 Default Software Reviews
  • 5 Ways To Prevent Other People From Accessing Apps On Your iPhone iOS
  • Understanding Linux Permissions and chmod Usage Linux Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version