Details
Required Access: File owner or administrator with appropriate permission
Description
Windows uses file and folder permissions to control who can access, modify, delete, or manage files and directories. These permissions help protect sensitive information, prevent unauthorized changes, and manage access to shared resources.
On NTFS-formatted drives, administrators can configure permissions for individual users and groups.
This guide explains how Windows permissions work, how to change them using File Explorer, how inheritance affects access, and how to troubleshoot common permission problems.
Procedure
1. Understanding Windows NTFS Permissions
Windows NTFS permissions determine what actions users and groups can perform on files and folders.
Common permissions include:
| Permission | Description |
|---|---|
| Full Control | Read, write, modify, delete, and change permissions and ownership |
| Modify | Read, write, execute, and delete files or folders |
| Read & Execute | View files and execute applications |
| List Folder Contents | View the contents of a directory |
| Read | View file contents and attributes |
| Write | Create or modify files and folders |
Permissions are assigned to users or security groups.
For example, a shared department folder might have the following permissions:
| User or Group | Permission |
|---|---|
| Administrators | Full Control |
| SYSTEM | Full Control |
| Department Staff | Modify |
| Department Managers | Full Control |
| Other Users | No explicitly granted access |
Important: NTFS permissions are evaluated using the user's security token, including applicable group memberships. An explicit Deny entry can override otherwise allowed access, so Deny permissions should be used carefully.
2. Viewing Current File or Folder Permissions
Before changing permissions, inspect the existing configuration.
Step 1: Locate the File or Folder
- Open File Explorer using
Windows + E. - Navigate to the file or folder.
- Right-click the item.
- Select Properties.
Step 2: Open the Security Tab
- Select the Security tab.
- Review the users and groups listed.
- Select a user or group to view its permissions.
The permissions area displays Allow and Deny settings.
Step 3: Review Advanced Permissions
Click Advanced to open Advanced Security Settings.
This window provides additional information, including:
- Current owner
- Permission entries
- Inheritance settings
- Effective access
- Auditing settings, where available
3. Changing Permissions Using File Explorer
Step 1: Open Security Settings
- Right-click the file or folder.
- Select Properties.
- Open the Security tab.
- Click Edit.
Step 2: Select a User or Group
Select the account whose permissions need to change.
If the account is not listed, click Add.
Step 3: Assign Permissions
Select the required permission under the Allow column.
For example, to let a user modify documents, select Modify.
Windows automatically includes the standard permissions associated with Modify.
Step 4: Save the Changes
- Click Apply.
- Click OK.
- Close the Properties window.
Step 5: Verify Access
Sign in as the affected user, or test using an appropriate account, and confirm that the intended access works.
Avoid assigning Full Control when Modify or Read permissions are sufficient.
4. Adding a New User or Group
To grant access to a new user or group:
- Right-click the folder and select Properties.
- Open Security.
- Click Edit.
- Click Add.
- Enter the username or group name.
- Click Check Names.
- Click OK.
- Assign the appropriate permissions.
- Click Apply.
For domain environments, verify that the correct domain or location is selected.
Best Practice: Assign permissions to security groups whenever possible. This makes access easier to manage when employees join, leave, or change departments.
5. Understanding Permission Inheritance
Windows folders commonly inherit permissions from their parent directories.
For example:
D:Company
|
+-- Accounting
| +-- Reports
|
+-- Human Resources
+-- Employee Records
If D:Company grants Read access to a group, subfolders may inherit that permission.
Inheritance reduces the need to configure every folder individually.
Disabling Inheritance
- Right-click the folder.
- Select Properties.
- Open Security.
- Click Advanced.
- Select Disable inheritance.
Windows offers two options:
Convert inherited permissions into explicit permissions: Retains the existing entries as independently managed permissions.
Remove all inherited permissions: Removes inherited entries, which can immediately restrict access.
For most administrative changes, converting inherited permissions is safer because it preserves the existing entries while allowing modifications.
Warning: Disabling inheritance incorrectly can prevent users, services, or administrators from accessing important resources.
6. Changing File or Folder Ownership
Ownership determines which account has authority over an object's security settings.
Administrators may need to change ownership when files belong to deleted accounts or when restoring data from another system.
Steps to Change Ownership
- Right-click the file or folder.
- Select Properties.
- Open Security.
- Click Advanced.
- Locate the Owner field.
- Click Change.
- Enter the intended user or group.
- Click Check Names.
- Click OK.
- Apply the changes.
For directories, the option to replace the owner on subcontainers and objects may also be available.
Changing ownership does not automatically grant the new owner every file access permission. Review the permission entries afterward.
7. Managing Permissions Using icacls
Windows includes the icacls command-line utility for viewing and modifying NTFS permissions.
Open Command Prompt or PowerShell with the appropriate privileges.
View Current Permissions
icacls "C:Shared"
Grant Read Access
icacls "C:Shared" /grant "Users:(RX)"
Grant Modify Access
icacls "C:Shared" /grant "Staff:(OI)(CI)M"
The flags (OI) and (CI) indicate object and container inheritance, allowing the entry to apply to child files and folders.
Remove Explicit Permissions for an Account
icacls "C:Shared" /remove:g "Staff"
This removes explicit Allow entries for the specified account or group. It does not necessarily remove inherited entries.
Back Up Permissions
icacls "C:Shared" /save "C:acl-backup.txt" /T
This saves access control lists for the specified directory tree. The backup location must be writable, and the command does not back up file contents.
Restore Permissions
icacls "C:" /restore "C:acl-backup.txt"
Restore operations require an appropriate parent path and a compatible ACL backup. Test restoration procedures before using them in production.
Security Warning: Incorrect icacls commands can change permissions on large numbers of files. Verify the target path and test commands on noncritical data first.
8. Troubleshooting Access Denied Errors
Issue: Access Denied When Opening a Folder
Possible Cause: The user lacks Read or folder traversal permissions.
Solution:
- Open the folder's Security settings.
- Review the affected user's group memberships.
- Check inherited and explicit permissions.
- Use the Effective Access tab to evaluate access.
- Grant the minimum required permissions.
Issue: Cannot Save or Modify a File
Possible Cause: The user has Read access but lacks Write or Modify permissions.
Solution:
- Open the file's Security properties.
- Check the assigned permissions.
- Confirm the file is not marked read-only.
- Check whether another application has locked the file.
- Grant appropriate Write or Modify access if authorized.
Issue: Access Denied After Moving Files
Possible Cause: The moved or copied files may have retained or inherited different permissions, depending on the operation, filesystem, and tools used.
Solution:
- Inspect the destination permissions.
- Check whether inheritance is enabled.
- Compare access control entries with a working file.
- Correct the entries according to the destination's security policy.
Issue: User Cannot Access a Network Share
Possible Cause: The user may have sufficient NTFS permissions but insufficient network share permissions.
Solution:
- Review the folder's NTFS Security settings.
- Open the folder's Sharing settings.
- Select Advanced Sharing and review share permissions.
- Verify the user's group membership.
- Test access using the network path.
When accessing files through a Windows network share, both share permissions and NTFS permissions apply. The effective access is constrained by both sets of permissions.
9. NTFS Permissions vs. Share Permissions
| Feature | NTFS Permissions | Share Permissions |
|---|---|---|
| Applies to | Files and folders on NTFS | Access through a network share |
| Local access | Yes | No |
| Network access | Yes | Yes |
| Granular control | Extensive | Limited |
| Inheritance | Supported | Not the same NTFS inheritance model |
For network access, the effective permissions depend on both systems.
For example, if share permissions allow Read but NTFS permissions allow Modify, the user is still limited to Read through that share.
10. Security Best Practices
- Follow the principle of least privilege.
- Use security groups instead of assigning permissions individually whenever practical.
- Avoid granting Everyone Full Control.
- Avoid unnecessary explicit Deny entries.
- Preserve SYSTEM and required administrative permissions.
- Document permission changes.
- Back up ACLs before major changes.
- Review inheritance before changing permissions.
- Use Effective Access to troubleshoot complex group memberships.
- Verify access using the intended user account.
- Avoid changing permissions on system folders without a documented requirement.
11. Quick Reference
| Task | Method |
|---|---|
| View permissions | Properties → Security |
| Change permissions | Security → Edit |
| Add a user or group | Security → Edit → Add |
| View inheritance | Security → Advanced |
| Change owner | Advanced → Owner → Change |
| Check effective access | Advanced → Effective Access |
| View ACL using command line | icacls "C:Shared" |
| Grant Modify access | icacls "C:Shared" /grant "Staff:M" |
| Back up ACLs | icacls "C:Shared" /save backup.txt /T |
Addtional Information
Understanding Windows file and folder permissions is essential for maintaining secure systems and resolving access problems.
Administrators should understand how NTFS permissions, ownership, inheritance, and share permissions work together before modifying access.
By following the principle of least privilege and verifying changes, administrators can maintain secure file access while reducing the risk of unauthorized modification or accidental data exposure.
