Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Set File and Folder Permissions in Windows

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Setting file and folder permissions in Windows lets you control who can read, modify, or delete your data. This guide walks you through changing permissions for individual users and groups using the built-in security settings, so you can protect sensitive files without third-party tools.

What You'll Need

  • A Windows PC (Windows 10 or Windows 11 recommended)
  • An account with administrator privileges (required to change permissions on most system folders and other users' files)
  • The name of the user or group you want to grant or restrict access to

Step-by-Step

  1. Locate the file or folder you want to modify in File Explorer.
  2. Right-click the item and select Properties.
  3. Go to the Security tab. You'll see a list of users and groups that already have permissions.
  4. To change permissions for an existing user or group, select it and click Edit.
  5. In the new window, check or uncheck the boxes under Allow or Deny for each permission (e.g., Full control, Modify, Read & execute, Read, Write).
  6. Click Apply and then OK to save changes.
  7. To add a new user or group, click Add in the Security tab, then type the user's name (e.g., username or Everyone) and click Check Names to verify it.
  8. After adding, select the new user and set the desired permissions as described above.
  9. For advanced options, click Advanced on the Security tab. Here you can view or change the owner, add more specific permissions, or enable inheritance.

Common Mistakes

  • Denying permissions unintentionally: The Deny checkbox overrides Allow. If you accidentally deny a permission, the user will be blocked even if they're in a group that allows it.
  • Changing permissions on system folders: Modifying permissions on folders like C:\Windows can break Windows. Only change permissions on your own files or folders you created.
  • Not applying changes to subfolders: When you change permissions on a folder, the changes don't automatically apply to files inside unless you enable inheritance or replace permissions on child objects. Use the Advanced settings to propagate changes.
  • Using 'Everyone' too broadly: Granting permissions to the Everyone group gives access to all users, including guests, which can be a security risk.

Tips

  • Use groups instead of individual users when possible. For example, add users to a group like Sales and assign permissions to that group—easier to manage.
  • Keep inheritance enabled for most folders so that new files automatically get the same permissions as the parent folder. You can disable it for specific subfolders if needed.
  • Use Read & execute for folders that should be browsed but not modified.
  • For sensitive data, consider encrypting the folder (right-click > Properties > General > Advanced > Encrypt contents) in addition to setting permissions.
  • Test permissions by logging in as the affected user, not just by looking at the settings.

Troubleshooting

You get 'Access Denied' when trying to change permissions. Make sure you're logged in as an administrator. If you're the owner but still can't change, take ownership first: go to the Security tab, click Advanced, then next to Owner, click Change, enter your username, and check Replace owner on subcontainers and objects.

Changes don't seem to take effect. Permissions are cached. Have the affected user log off and back on, or restart the computer. Also, check if a Deny entry is overriding your Allow.

You can't add a user because the name isn't found. Verify the username is correct. In a workgroup, use computername\username. In a domain, use domain\username. You can also click Advanced in the Select Users or Groups window to search.

After changing permissions, you can't access your own files. This can happen if you removed your own permissions. Boot into Safe Mode (Shift + Restart), log in as Administrator, and restore your permissions. If that fails, use the Take Ownership option in the Advanced settings.

Frequently Asked Questions

What's the difference between 'Read' and 'Read & execute'?

Read allows viewing and opening files. Read & execute also allows running programs and scripts. For folders, Read & execute lets you list contents and traverse subfolders.

How do I set permissions for all files in a folder at once?

Right-click the folder, go to Properties > Security > Advanced, then check Replace all child object permission entries and click Apply. This propagates the current permissions to all subfolders and files.

Can I set permissions for a specific file type (e.g., all .txt files)?

No, Windows permissions are set per file or folder, not by file type. You'd need to apply the same permissions to each file or use a script to automate it.

Why can't I see the Security tab for some files?

The Security tab is hidden on drives formatted as FAT32 or exFAT. Convert the drive to NTFS (which may require reformatting) to use permissions. Also, some system files may hide the tab for safety.

What does 'Full control' actually allow?

Full control grants all permissions: read, write, modify, delete, and the ability to change permissions and take ownership. It's the highest level of access.

Is there a command-line way to set permissions?

Yes, you can use the icacls command in Command Prompt (run as administrator). For example: icacls "C:\Folder" /grant "username":(OI)(CI)F grants full control to a user.