The Complete Guide to Changing File Permissions in Windows
How to lock down sensitive information and make sure only those you trust have access to your files.How-To
On a shared system, access is everything. It prevents sensitive information from being read by untrusted eyes, and it keeps guardrails in place to keep users focused on the task at hand. It can become complicated with many users on a single device, though, making it crucial to keep on top of file permissions.
Photo: Jacob Bobo
Windows has built-in methods for changing file permissions to keep your most important data safe and secure and ensure access is given to only those who are authorized. Here we’ll walk you through the most important steps to control file and data permission in Windows, how to remove access for anyone who might have left your organization, and how to make files and folders read-only, among other related tasks.
Note: The primary instructions in this guide will focus on Windows 11, as those can often be easily translated to Windows 10 with minor alteration. However, in instances where the instructions differ dramatically between the two operating systems, we will give them individually for added clarity.
Different file permissions in Windows
Each Windows account can have different permissions for every file and folder, with different levels of access granted. The list of different permissions in Windows includes:
- Full Control: View and edit the file or folder and its subfolders. Users can change permissions, delete the file, take ownership of it and its subfolders.
- Modify: View and edit the file or folder and its subfolders, change permissions, and delete the file.
- Read and Execute: Doesn’t allow deletion or file editing, but still allows navigation through the files, folders, and subfolders.
- List Folder Contents: Only allows the user to navigate through any folders and subfolders, and view the file names. Crucially, they cannot edit or even view individual files within the folder.
- Read: Doesn’t allow any file editing, but does let the user view files within folders and subfolders, open them, and read their internal data. They can also copy files.
- Write: This is the same as Read, but allows the creation of new folders and subfolders, and gives the ability to add and delete files.
Files and folders can also have explicit permission, or inherited permission. “Explicit permission” is where specific permissions are given for particular user accounts and particular files and folders. The “inherited permission” is where a sub-file or folder takes on the permission structure of its parent folder.
How to check file permissions
Photo: Microsoft/Jon Martindale
Before you can edit the permissions for a file or folder, you need to see what the current permissions are first. Find the file that you want to check, then follow these steps to see its standing permissions.
- Right-click or tap and hold on the file or folder, and select Properties.
- Select the Security tab in the top row.
- In the top section called “Group or user names,” select individual accounts to view their particular permissions in the bottom section called, “Permissions for [Account name]”.
- Each account will have a check in either Allow or Deny, depending on the permissions for that particular account for each of the respective permissions.
How to give another user access to a file or folder
Photo: Microsoft/Jon Martindale
To give another user access to a file or folder, you need to adjust the permissions on that particular file or folder, or its parent folder. Here’s how to do it.
- Right-click or tap and hold on the file or folder, and select Properties.
- Select the Security tab in the top row.
- Select Edit.
- Select the group or user to change permissions for. In the above example, we’re modifying “Guests.”
- Under the heading, “Permissions for [AccountName],” use the check boxes within the “Allow” column to decide what level of access and permissions to give a user. Remember that some types of permission grant specific access – full control doesn’t need to be given and access can be restricted.
- Once permissions have been adjusted, select Apply, then OK to confirm the changes, then OK again on the main “Properties,” window.
How to remove a user’s access to a file or folder
Removing a group or user’s access to a file or folder is very much the same as adding a new user, only unchecking Allow boxes, and specifically checking Deny boxes.
- Right-click or tap and hold on the file or folder, and select Properties.
- Select the Security tab in the top row.
- Select Edit.
- Uncheck any relevant Allow boxes, such as Full Control, and Modify. If the user or group needs to still be able to see the folder, or read its contents without being able to edit it, consider leaving Read or List folder contents checked.
- Since it’s possible for a user to inherit access or edit permissions from another group, it’s important to explicitly Deny access if this user should not be able to access this file or folder. To remove access entirely, check every Deny box for that user. Alternatively, for more nuance, only select the most relevant boxes to leave, for example, read access intact.
- Once permissions have been adjusted for this specific file or folder from the relevant user accounts or groups, select Apply, followed by OK, then select OK again.
How to turn off permission inheritance for a file or folder
Source: Microsoft/Jon Martindale
Turning off permission inheritance is a straightforward way to restrict access to a file or sub-folder within a project or nest of files or folders without breaking off access to everything above it in the chain. This can be particularly useful when bringing new users on to a collaborative project, but you aren’t keen on them having access to everything and don’t want to control access individually for every user.
- Right-click or tap and hold on the file or folder, and select Properties.
- Select the Security tab in the top row.
- Select Advanced.
- Select Disable inheritance.
- Decide whether to convert all existing inherited permissions for this file or folder into explicit permissions, or to remove those inherited permissions entirely. Select the corresponding option.
- To re-enable inheritance for that file or folder, repeat the steps above, and select Enable inheritance. Follow any onscreen instructions to restore the ability to inherit permissions.
How to change the owner of a file or folder
Source: Microsoft/Jon Martindale
If you want to hand a file or folder off to another user and grant them the ultimate control over it and the ability to control who else can access it (including you), then you need to change the owner.
Note: The new owner may still not have much in the way of permissions to read or edit the file, but with ownership, they will be able to change that themselves.
- Make sure you are signed in to an administrator account.
- Right-click or tap and hold on the file or folder, and select Properties.
- Select the Security tab in the top row.
- Select Advanced.
- Next to where it says “Owner:” followed by your username and email, select Change. If it asks for admin approval, give it. If you need to save existing changes to permissions, do so if you want to keep them. Alternatively, select Discard to remove the recent permission changes you made.
- Type the name of the user or group you want to transfer ownership of the file or folder to. Select Check Names to confirm Windows recognizes it. If it doesn’t, make sure you have the name right. If in doubt, check back on the Advanced Security window for the list of users.
- When you’re happy with your changes, select OK. Then select Apply, followed by OK, then OK again on the Properties window.
How to restore default permissions
Source: Microsoft/Jon Martindale
If you make a mistake, lose track of your folder permissions, or find that you’ve locked yourself out of making further changes, then resetting the permissions to their Windows default is a good way to get back to a baseline so you can start again.
- Use Windows search and type in CMD.
- Right-click or tap-and hold on the Command Prompt result, and select Run as administrator.
- Access the folder you want to change permissions for. Do so by typing in “cd” followed by the folder location, for example: “cd C:\Users\[username]\Desktop\FolderName\Micro Center.” If you need to select a different drive letter, be sure to navigate to that drive first, or include the “/d” command following the cd. For example: “cd /d D:\Users\username\...”
- To reset folder permissions to their Windows defaults, type the following, and press Enter: icacls "file name" /reset /t /c /l".
The icacls command will open up file and folder permissions, while /reset will reset permissions for the folder to their inherited defaults. The /t will then apply that same reset to all files and subfolders, while the /c command will continue even if there are some files within that produce errors when changing permissions. The /l command ensures the changes are applied to the links between files if Windows encounters a shortcut, rather than the file it points to.
You can perform these same Command Prompt permission resets on individual files, too, just supply the full location path of that file, including the file name.
How to make a folder read-only
To make a folder read only, you’ll want to return to the Security tab and be extra restrictive with your choices, making sure no users can do anything but read it.
- Right-click or tap and hold on the folder, and select Properties.
- Select the Security tab in the top row.
- Select Edit.
- To ensure everyone can read the file, select the Everyone group, and make sure that Read is allowed on the bottom list.
- Then for each individual account, select them and remove any Allow checks for anything beyond Read.
- It’s probably a good idea that any admin account (or at least one) retains Full control over the file, so that it can be modified, moved, or deleted as needed. Alternatively, to lock down the folder as much as possible, use the “Deny” column to put more explicit restrictions on its use. Be aware though, this can override other permissions, which can create problems with access if niche cases need greater control over the folder and its contents.
How to fix “You don’t currently have permission to access this folder.”
If you run into this problem, it’s possible your network or system administrator doesn’t want you to have access to a certain file or folder. If that may be the case, check with them before making any manual changes.
However, if this message has appeared in error and you need access to that folder, here’s how to fix it.
- Sign in to an administrator account.
- Right-click or tap and hold on the file or folder, and select Properties.
- Select the Security tab in the top row.
- Select Advanced.
- The easiest way to get access is to change the folder’s owner. If that’s not possible, skip down to the Permissions section. Next to where it says “Owner:” select Change. If it asks for admin approval, give it.
- Type the username of whoever is getting permission into the box and select Check Names to confirm it’s accurate, then select OK. To take ownership of subfolders, check the box that says Replace owner on subcontainers and objects.
- Select Apply, then OK.
- To change Permissions instead, return to the Security tab and select Edit.
- Select the username from the top list.
- Under the heading, “Permissions for [YourAccountName],” use the check boxes within the “Allow” column to decide what level of access and permissions to give the account.
- When finished, select Apply, then OK to confirm the changes, then OK again on the main “Properties,” window.
And that’s how you can keep your files secure and protected across your system. If you have more questions about file management, can’t access your files, or if you just have worries about the health of your computer or device, our experts can help! Schedule an appointment with the Knowledge Bar by visiting our Services webpage.
More from MC News
- The Complete Guide to Essential Browser Settings
- Complete Guide to Windows 11 Disk Management
- Run AI Locally: The Best LLMs for 8GB, 16GB, 32GB Memory and Beyond
- How to Build a PC with a Hardline Water-Cooling Loop
- 3D Print a Mac Mini Monitor Mount
- Keyboard 101: Intro to Computer Keyboards
Jon Martindale is a freelance technology journalist and writer from Gloucestershire, UK. He's written for a range of publications over a 20-year career, including DigitalTrends, USNews, Forbes, and Lifewire, among many others. Over that time he's written countless how-to guides, best-of lists, hands-on reviews, and in-depth op/ed features.
He has been building and working with computers since his teens, and loves nothing more than trying out the latest components and gadgets to see what they can do. When he isn't staring at a monitor, he can be found chasing after with his two young children, playing board and roleplaying games, or walking his French bulldog cross.
Comment on This Post
See More Blog Categories
Recent Posts
Why Apple Shortcuts Is the Best Mac Local AI Feature You're Not Using
Shortcuts is a powerful automation tool built into Macs, iPhones, and iPads, and this year's Siri AI upgrade made it easier than ever to use.
Continue Reading About Why Apple Shortcuts Is the Best Mac Local AI Feature You're Not Using
