Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • Turn Your Phone into a Home Control Dashboard or Remote How-To
  • SMSS.exe Windows process – What is it? Windows 10
  • How to Find BIOS Version on Computer Computer Tips
  • Amazon Fire TV remote not working? Try these 7 fixes Computer Tips
  • Alternative Browsers You May Not Have Heard Of Before macOS
  • How to Create a Linux Disk Partition Linux Tips
  • Latest Automated Social Media Tools Compared & Reviewed Tools Review
  • Quickly delete an image from iCloud Tutorials

How to Set File and Folder Permissions in Windows

Posted on October 6, 2020 By bilal 1983 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!

    –

    Share this:

    • Facebook
    • X
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

  • 9 ways to troubleshoot if Facebook is not working on your device Computer Tips
  • What Streaming Services Can You Use on Nintendo Switch? Computer Tips
  • OTT Explains Why Your iPhone Charges Fast First and Then Slows Down Computer Tips
  • How to Split Your Laptop or PC Screen/Monitor in Windows Computer Tips
  • How to Edit Your Reviews – Amazon Customer Service Computer Tips
  • Run Older Programs in Compatibility Mode in Windows 11/10

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

  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • 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
  • 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

  • – 436
  • – 939
  • 1xBet giriş, güzgü 1 xBet Azərbaycanda rəsmi sayt – 413
  • AI Tools & Guides
  • Amazon Web Services
  • Apple Watch
  • Calculator
  • Computer Tips
  • Cool Websites
  • Dasinmaz emlak elanlari, ev elanlari, ev alqi satqisi, kiraye evler, torpaq, obyekt, bina, bina ev, mənzil, villa, kreditle satilan evler – 814
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • islamic Books
  • Linux
  • Linux Tips
  • Mac OS X
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorial
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Windows XP Tips
  • Wordpress
  • бонусы до 250%, официальный сайт в Узбекистане – 69
  • Мостбет Уз Ставки на спорт и казино в букмекерской конторе Mostbet Uz – 527
  • ベラジョンカジノの出金方法一覧【2023年 最新】出金限度額・出金の流れ・出金手数料・出金条件 – 466
  • Fixed macOS Error You can’t open the application
  • How To Watch Netflix Together With Remote Friend (Android | iOS)
  • How to Track GMail Emails on Android
  • How to Download Torrents on Android
  • Mirror Your Android Screen to Any Computer With TeamViewer
DMCA.com Protection Status

Recent Posts

  • How to Secure Facebook Account With Mobile in 4 Easy Steps
  • How To Watch Netflix Together With Remote Friend (Android | iOS)
  • How to Track GMail Emails on Android
  • How to Download Torrents on Android
  • Mirror Your Android Screen to Any Computer With TeamViewer

Recent Comments

  1. Instagram stories not working/loading? Try These 9 Fixes on Can’t update PS5 system software? Try These 10 Fixes
  2. How to Link to a Specific Part Of A Webpage & Share it on Best PDF to Word Converter Online (Free Without Email)
  3. See What’s Taking up Space on Your Hard Drive on 7 best 3D scanning apps for Android and iOS
  4. Make your Devices Read Out Text, With Text to Speech on 9 Best 10K Running Apps for 2023
  5. How to Find your Router’s IP Address on How to Fix Apple CarPlay Not Working? 7 Possible ways
  • How to Whitelist Specific YouTube Channels on Adblocker How-To
  • The Fastest & Easiest Ways To Get To Inbox Zero Computer Tips
  • Is Apple Keychain The best password manager? General Software
  • How to Share & Repost Images on Instagram Web Site Tips
  • How to Use Xenia the Best Xbox 360 Emulator for Windows 10 How-To
  • How to Disable Adobe Flash in Microsoft Edge on Windows 10 Windows 10
  • How to reduce electricity bill GEPCO raises tariffs

    Using the AC this summer will be more expensive. NEPRA has introduced a new electricity tariff for household consumers in Gujranwala. This called “U

  • Prevent Apple AirTag Stalking or Spying Tutorials

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version