Skip to content
WindowsAdvanced

How to Fix “You Need Permission to Perform This Action” Error in Windows 11/10 – Complete Access Denied & File Permission Troubleshooting Guide

The “You Need Permission to Perform This Action” message is a common Windows security error that can appear when you try to delete, rename, move, copy, edit,...

BI
Bison Technical Team Enterprise IT specialists
Updated 29 Aug 2026 18 min read 0 total views

The “You Need Permission to Perform This Action” message is a common Windows security error that can appear when you try to delete, rename, move, copy, edit, or open a file or folder.

You may see messages such as:

Advertisement

You need permission to perform this action

You require permission from Administrators to make changes to this folder

You require permission from SYSTEM to make changes to this file

You require permission from TrustedInstaller to make changes to this folder

Folder Access Denied

File Access Denied

The error can occur even when you are signed in with an administrator account. This is because being a member of the Administrators group does not automatically give your account ownership or unrestricted NTFS permissions over every file.

This guide explains the major causes of the problem and provides methods ranging from simple permission checks to advanced ownership and ACL repairs.


What Does “You Need Permission to Perform This Action” Mean?

Windows uses several security mechanisms to control access to files and folders.

These include:

  • User accounts
  • User groups
  • NTFS permissions
  • File/folder ownership
  • Access Control Lists (ACLs)
  • Permission inheritance
  • User Account Control (UAC)
  • SYSTEM permissions
  • TrustedInstaller ownership
  • Encryption
  • Application locks
  • Antivirus/security controls

When Windows determines that your account does not have the required rights for an operation, File Explorer prevents the action and displays a permission error.

For example, you may be able to open a file but not delete it because your account has Read permission but does not have Modify/Delete permission.


Common Situations Where This Error Appears

The error frequently occurs while:

  • Deleting a file
  • Deleting a folder
  • Renaming a folder
  • Moving files
  • Copying files
  • Replacing an existing file
  • Editing configuration files
  • Accessing another user's profile
  • Opening files from an old Windows installation
  • Accessing a hard disk moved from another computer
  • Accessing folders after reinstalling Windows
  • Modifying files under Program Files
  • Modifying protected Windows folders
  • Working with an external HDD or SSD
  • Changing application files

A common example is installing Windows on a new SSD and then connecting an older Windows disk. The files on the old disk may still be owned by the user account SID from the previous Windows installation.

Even if your new account has the same username, Windows can treat it as a completely different security identity.


Before Changing Permissions: Important Warning

Do not automatically take ownership of every Windows folder.

Avoid changing permissions recursively on folders such as:

C:\Windows

C:\Program Files

C:\Program Files (x86)

C:\ProgramData

C:\Windows\System32

C:\Windows\WinSxS

Windows intentionally protects many system files using TrustedInstaller and SYSTEM.

Changing ownership or permissions across an entire system directory can weaken security or cause Windows servicing, applications, or updates to malfunction.

Use the following solutions primarily for your own files, data folders, transferred disks, and folders whose permissions are genuinely incorrect.


Solution 1: Restart Windows and Try Again

Start with a restart.

A temporary application, background process, File Explorer instance, installer, synchronization utility, or security application may be holding the file.

Restart Windows and try the operation again.

This is particularly useful if the permission message appeared suddenly for a file you normally modify without problems.


Solution 2: Confirm You Are Using an Administrator Account

Open:

Settings → Accounts → Your info

Check whether your account is an Administrator.

You can also press:

Windows + R

Enter:

netplwiz

Press Enter.

Select your account and review its group membership.

An administrator account provides elevated privileges, but remember that administrator status alone does not override all NTFS ownership and permission rules.


Solution 3: Try the Operation with Administrator Privileges

If the permission error occurs inside an application, try launching that application as administrator.

Right-click the program and select:

Run as administrator

Then try the operation again.

For example, if Notepad cannot save a configuration file inside a protected application directory, opening Notepad as administrator may provide the elevation necessary to save the file.

Do not routinely run normal applications as administrator unless required.


Solution 4: Check the File or Folder Security Permissions

Right-click the affected file or folder.

Select:

Properties → Security

Select your username.

Review the permissions.

Typical permissions include:

  • Full control
  • Modify
  • Read & execute
  • List folder contents
  • Read
  • Write

For normal data folders, your account will generally need Modify permission to create, edit, rename, and delete content.

If the necessary permission is missing:

  1. Click Edit.
  2. Select your user account.
  3. Enable the required permission.
  4. Click Apply.
  5. Click OK.

If your username is not listed, click:

Add

Enter your Windows username and click:

Check Names

Then assign the appropriate permissions.


Solution 5: Take Ownership of the File or Folder

Incorrect ownership is one of the most common causes of this error.

Right-click the affected file or folder and select:

Properties → Security → Advanced

At the top, locate:

Owner

Click:

Change

Enter your username.

Click:

Check Names

Then click:

OK

For a folder containing many files and subfolders, you may also see:

Replace owner on subcontainers and objects

Enable this option if you intentionally want ownership to be changed throughout that folder tree.

Click:

Apply → OK

Close the Properties windows and open them again before testing access.


Solution 6: Grant Your Account Full Control

Taking ownership and having permission are related but different.

Ownership allows the owner to manage permissions. It does not necessarily mean that every required permission has already been granted.

After taking ownership:

Right-click folder → Properties → Security → Advanced

Check whether your account has sufficient permissions.

If necessary:

  1. Click Add.
  2. Click Select a principal.
  3. Enter your username.
  4. Click Check Names.
  5. Click OK.
  6. Select Full control if this is an appropriate personal/data folder.
  7. Apply the changes.

Avoid granting Full Control to broad groups such as Everyone merely to bypass an error.


Solution 7: Enable Permission Inheritance

Sometimes a folder has custom permissions that prevent it from inheriting the correct permissions from its parent.

Open:

Properties → Security → Advanced

Look for:

Enable inheritance

If inheritance has been disabled unintentionally, click Enable inheritance.

Apply the changes and test again.

What Is Permission Inheritance?

If a parent folder gives your account Modify permission, its child folders and files can normally inherit that permission.

For example:

D:\CompanyData

may give a user Modify permission.

Folders underneath it can inherit those permissions automatically.

If inheritance is disabled on a particular subfolder, its permissions can differ from the rest of the directory structure.


Solution 8: Use TAKEOWN from Command Prompt

For stubborn ownership problems, Windows includes the takeown command.

Open Command Prompt, Windows Terminal, or PowerShell as Administrator.

For a file:

takeown /f "D:\Data\example.txt"

For a folder and its contents:

takeown /f "D:\Data\ProblemFolder" /r /d y

The /r option processes subdirectories recursively.

The /d y option supplies a default Yes response where applicable during recursive processing.

After ownership is corrected, permissions may still need to be repaired using icacls.


Solution 9: Grant Permission Using ICACLS

icacls is Windows' built-in command-line utility for viewing and modifying file and folder ACLs.

For example:

icacls "D:\Data\ProblemFolder" /grant "%USERNAME%":(OI)(CI)F /T

Here:

  • (OI) = Object Inherit
  • (CI) = Container Inherit
  • F = Full Control
  • /T = Process matching files/directories below the specified folder

Use Full Control only when it is appropriate for the folder.

For normal data folders where full control is not necessary, Modify may be preferable:

icacls "D:\Data\ProblemFolder" /grant "%USERNAME%":(OI)(CI)M /T

M means Modify.

Be very careful when applying recursive icacls commands. Verify the path before pressing Enter.


Solution 10: Reset Incorrect NTFS Permissions

If permissions have become badly configured, icacls can reset ACLs toward inherited/default permissions.

Example:

icacls "D:\Data\ProblemFolder" /reset /T /C

Where:

  • /reset replaces ACLs with inherited/default ACLs where applicable
  • /T processes the directory tree
  • /C continues even if individual errors occur

This can be useful when a large data folder has inconsistent ACL entries.

However, do not use permission-reset commands blindly on Windows system directories, application directories, or folders with intentionally customized security.


Solution 11: Check Whether the File Is in Use

Not every access-denied problem is caused by NTFS permissions.

A program may currently be using the file.

Examples include:

  • Microsoft Word
  • Microsoft Excel
  • Outlook
  • Adobe applications
  • Backup software
  • Synchronization software
  • Database applications
  • Antivirus software
  • Windows services

Close applications that may be using the file.

Open Task Manager and check whether the related program is still running.

If appropriate, end the application process and try again.

For server or multi-user environments, be cautious: another user or service may legitimately have the file open.


Solution 12: Restart File Explorer

Sometimes File Explorer itself is involved in the problem.

Press:

Ctrl + Shift + Esc

Open Task Manager.

Locate:

Windows Explorer

Right-click it and select:

Restart

Then retry the operation.


Solution 13: Check Read-Only Attributes

Right-click the affected file and select:

Properties

Check whether:

Read-only

is enabled.

For an individual file, clear the attribute if it should be writable.

You can also use Command Prompt:

attrib -r "D:\Data\example.txt"

For a folder tree where files have incorrectly acquired the read-only attribute:

attrib -r "D:\Data\ProblemFolder\*" /s /d

Note that the Read-only checkbox behaves differently for folders than it does for individual files, so it should not be treated as proof of an NTFS permission problem.


Solution 14: Files from an Old Windows Installation

This is an extremely common scenario.

Suppose you reinstall Windows and then attempt to access:

D:\Users\OldUser\Documents

The folder may still belong to an account from the previous Windows installation.

Even if your new username is also OldUser, Windows security uses a unique Security Identifier (SID).

Therefore:

Old Windows account ≠ New Windows account

The practical solution for ordinary personal data is usually to take ownership of the required data folder and grant the new account the necessary permissions.

Do not recursively modify the entire old Windows installation unless you understand the consequences.


Solution 15: External HDD or SSD Shows Permission Denied

This commonly happens when an NTFS-formatted drive was previously used in another computer.

For example:

E:\Users\PreviousUser

may belong to a SID that does not exist on your current Windows installation.

For your own data folders:

  1. Right-click the folder.
  2. Open Properties → Security → Advanced.
  3. Change the owner.
  4. Enable inheritance where appropriate.
  5. Grant your current account Modify or Full Control as required.

If the drive contains thousands of files, applying permissions can take some time.


Solution 16: Check for EFS Encryption

Permissions cannot solve every access problem.

A file may have been encrypted using Encrypting File System (EFS).

Right-click the file and select:

Properties → Advanced

Check:

Encrypt contents to secure data

If the file was encrypted under another Windows account and you do not have the original EFS private key/certificate, simply taking ownership will not decrypt the file.

This distinction is extremely important.

Changing NTFS ownership is not a method for bypassing EFS encryption.


Solution 17: Check BitLocker Status

If an entire drive is protected by BitLocker, the drive must first be unlocked using an authorized method, such as the correct password, recovery key, or configured protector.

A BitLocker access problem is different from an NTFS file-permission problem.

Do not reset permissions merely because a BitLocker-protected drive cannot be accessed.


Solution 18: “You Require Permission from TrustedInstaller”

Windows uses the Windows Modules Installer / TrustedInstaller security principal to protect important operating-system components.

You may encounter:

You require permission from TrustedInstaller to make changes to this file

This commonly occurs with protected Windows files.

In most situations, you should not take permanent ownership of TrustedInstaller-protected operating-system files.

If your actual objective is to repair Windows, use supported servicing tools instead.

Open Terminal or Command Prompt as Administrator and run:

DISM /Online /Cleanup-Image /RestoreHealth

After DISM completes, run:

sfc /scannow

Restart Windows when finished.

These tools are safer for repairing protected Windows components than manually replacing or deleting system files.


Solution 19: “You Require Permission from SYSTEM”

SYSTEM is a highly privileged Windows security account used by operating-system services.

If a file belongs to SYSTEM, first determine why.

If it is a Windows component, service database, registry-related file, security database, or application service file, do not simply take ownership and delete it.

If it is an ordinary data folder whose permissions became incorrectly assigned, ownership and ACL correction may be appropriate.

Always identify the file before modifying SYSTEM-owned content.


Solution 20: Check Windows Security Controlled Folder Access

Windows Security includes ransomware protection known as Controlled Folder Access.

When enabled, it can prevent untrusted applications from modifying protected folders.

Open:

Windows Security → Virus & threat protection → Ransomware protection → Manage ransomware protection

Check:

Controlled folder access

If the feature is blocking a legitimate application, it is usually safer to allow the trusted application through Controlled Folder Access rather than disabling ransomware protection completely.


Solution 21: Check Third-Party Antivirus or Endpoint Security

Security applications can prevent files from being:

  • Modified
  • Deleted
  • Renamed
  • Created
  • Executed
  • Replaced

This is particularly common on corporate computers using endpoint protection.

Check the security application's event history or quarantine logs.

Avoid permanently disabling antivirus protection merely to delete a file.

If necessary, test whether a trusted file or application is being blocked and create a narrowly scoped exception only after confirming that the item is safe.


Solution 22: Try Safe Mode

If software running in the background is preventing access, Safe Mode can help isolate the problem.

Open:

Settings → System → Recovery → Advanced startup → Restart now

Then select:

Troubleshoot → Advanced options → Startup Settings → Restart

Select the appropriate Safe Mode option.

Try accessing or removing the file again.

If the operation works in Safe Mode, a third-party service, startup program, shell extension, or security utility may be interfering during normal startup.


Solution 23: Check the Disk for File-System Errors

Sometimes a damaged file system can produce errors that appear similar to permission problems.

Open Terminal or Command Prompt as Administrator.

For example:

chkdsk D: /scan

This performs an online scan of the specified NTFS volume.

If Windows identifies problems requiring offline repair, follow the recommended repair procedure.

For the Windows system drive, some repairs may require a restart.

Before performing disk repairs on a drive showing signs of physical failure, prioritize backing up important data.


Solution 24: Repair Windows System Files

If permission-related behavior occurs across many Windows components, check the operating system for corruption.

Run:

DISM /Online /Cleanup-Image /RestoreHealth

After it completes, run:

sfc /scannow

Restart Windows.

This is particularly appropriate when access errors occur alongside other Windows problems such as broken system applications, Explorer instability, failed updates, or corrupted Windows components.


Solution 25: Check Share Permissions for Network Folders

If the affected folder is on another computer, NAS, or Windows Server, local NTFS permissions are only part of the equation.

Windows network access can involve:

Share permissions + NTFS permissions

For example, a user might have Full Control in NTFS permissions but only Read permission at the network share level.

In that situation, the user may still be unable to create, edit, or delete files over the network.

Check both permission layers on the computer or server hosting the shared folder.


Solution 26: Check Effective Access

Windows can calculate the effective permissions of a user.

Open:

Folder Properties → Security → Advanced → Effective Access

Select the relevant user.

Use the effective-access calculation to determine what Windows believes that account can actually do.

This is especially useful in corporate environments where permissions may come from several groups.

For example, a user may belong to:

  • Users
  • Accounts
  • Department group
  • Shared-folder group
  • Domain groups

Effective Access can make complicated ACL troubleshooting easier.


Understanding Ownership vs Permissions

These two concepts are frequently confused.

Ownership

The owner has the authority to manage the object's permissions.

Permissions

Permissions determine what actions an account can perform.

Examples:

Read – View file contents.

Write – Create or change data.

Modify – Read, write, and generally delete.

Full Control – Includes Modify plus the ability to change permissions and take ownership.

Therefore, taking ownership alone may not immediately provide the access required for every operation.


Why Administrator Accounts Still Get “Access Denied”

Windows uses User Account Control (UAC).

Even when your account belongs to the Administrators group, normal applications usually run with a standard user security token until elevation is requested.

Additionally, administrator membership does not automatically override every NTFS ACL.

That is why an administrator can still encounter:

Access Denied

or:

You Need Permission to Perform This Action

This behavior is part of Windows' security architecture.


Recommended Troubleshooting Order

For an ordinary personal or business data folder, use this order:

  1. Restart Windows.
  2. Confirm the file is not open in another application.
  3. Check your current account.
  4. Review Properties → Security.
  5. Check the current owner.
  6. Take ownership if ownership is genuinely incorrect.
  7. Grant your account Modify or the required permission.
  8. Check inheritance.
  9. Use takeown if the graphical interface fails.
  10. Use icacls if ACL repair is required.
  11. Check antivirus or Controlled Folder Access.
  12. Try Safe Mode.
  13. Check the file system.
  14. Check whether encryption is involved.

Do not jump directly to changing permissions on Windows system folders.


Example: Fix Permission on a Personal Data Folder

Suppose you cannot delete:

D:\Backup\OldData

Open Terminal as Administrator.

Take ownership:

takeown /f "D:\Backup\OldData" /r /d y

Then grant your current user Modify permission:

icacls "D:\Backup\OldData" /grant "%USERNAME%":(OI)(CI)M /T

Try deleting or modifying the required files again.

This example is intended for an ordinary data folder that you own—not Windows system files.


Example: Permission Error After Reinstalling Windows

Suppose an old hard disk contains:

E:\Users\Balvinder\Documents

After reinstalling Windows, access is denied.

The most likely explanation is that the old folder permissions reference the SID of the previous Windows account.

For your own data, change the owner to the current account and grant the appropriate permissions.

There is usually no need to format the drive simply because ownership has changed.


What You Should NOT Do

Avoid dangerous shortcuts such as:

  • Giving Everyone Full Control over the entire C: drive
  • Taking ownership of the entire Windows folder
  • Resetting ACLs across the entire system drive without understanding the consequences
  • Deleting TrustedInstaller-owned system files
  • Permanently disabling antivirus protection
  • Disabling UAC solely to bypass file permissions
  • Formatting a drive before checking ownership
  • Assuming encrypted files can be recovered by taking ownership
  • Running recursive commands without verifying the target path

These actions can create serious security, stability, or data-loss problems.


Frequently Asked Questions (FAQ)

1. Why does Windows say “You Need Permission to Perform This Action”?

Windows displays this message when the account or process performing an operation does not have the required security rights, or when another security mechanism prevents the operation.


2. Why do I get this error even though I am an administrator?

Administrator membership does not automatically override all NTFS permissions. Ownership, ACL entries, UAC elevation, SYSTEM protection, TrustedInstaller protection, encryption, and security software can still restrict access.


3. How do I get permission to delete a folder?

For your own data folder, check:

Properties → Security → Advanced

Verify the owner and ensure your account has Modify/Delete permissions.

If ownership belongs to an obsolete account, change it to your current account.


4. What does “You require permission from Administrators” mean?

It generally means the current process or account does not have the required effective permission, even though an Administrators group may be involved in the folder's ACL.

Try an elevated process where appropriate and review the actual NTFS permissions.


5. What does “You require permission from SYSTEM” mean?

The file or folder is protected or owned by the Windows SYSTEM security principal. Determine whether it is system content before changing its ownership.


6. What does “You require permission from TrustedInstaller” mean?

The item is usually protected as part of Windows servicing or system-component security. Avoid modifying it unless you have a specific technical reason.


7. Is it safe to take ownership of a folder?

Usually yes for your own documents and data folders.

It may not be safe for Windows system folders or application directories because their original ownership and ACLs may be intentional.


8. Is it safe to take ownership of C:\Windows?

It is not recommended.

Changing ownership recursively across C:\Windows can interfere with Windows security and servicing.


9. What is TAKEOWN?

takeown.exe is a built-in Windows command-line tool used to recover ownership of files and folders.

Example:

takeown /f "D:\Data" /r /d y

Use it only on paths you have verified.


10. What is ICACLS?

icacls.exe is a Windows command-line utility used to display, modify, save, restore, and reset NTFS Access Control Lists.

It is useful for advanced permission troubleshooting.


11. Can I give Everyone Full Control?

Technically this may be possible on many data folders, but it is generally a poor troubleshooting method.

Grant permissions only to the accounts or groups that actually require them.


12. Why can I open a file but cannot delete it?

Read permission and delete/modify permissions are different.

Your account may have sufficient permission to read the file but insufficient rights to modify or delete it.


13. Why can't I access files from my old Windows installation?

The files may be owned by the SID of your previous Windows account.

Your new Windows account has a different SID even if you use the same username.


14. Will taking ownership delete my files?

Taking ownership normally changes security metadata; it does not itself delete file contents.

However, permission changes should always be performed carefully, particularly on important data.


15. Can taking ownership recover EFS-encrypted files?

No.

If EFS encryption was used, access normally requires the corresponding encryption certificate/private key. NTFS ownership does not decrypt EFS data.


16. Can antivirus cause this permission error?

Yes. Antivirus, endpoint protection, anti-ransomware software, or Controlled Folder Access can prevent applications from modifying protected files or directories.


17. Why can I access a network folder but cannot delete files?

You may have Read access but not Modify/Delete access. Additionally, both share permissions and NTFS permissions can affect network access.


18. Should I disable UAC to fix the problem?

Normally, no.

Disabling User Account Control reduces an important Windows security layer and is not a recommended general solution for file permission problems.


19. Why does the permission problem return after I change ownership?

Ownership may have changed while the ACL still lacks the required permissions. Alternatively, a parent folder, Group Policy, application, synchronization service, or security product may be restoring restrictions.

Check both ownership and effective permissions.


20. What should I do if none of these solutions work?

Determine whether the problem involves:

  • NTFS permissions
  • File ownership
  • A locked/in-use file
  • EFS encryption
  • BitLocker
  • File-system corruption
  • Antivirus protection
  • Controlled Folder Access
  • Network/share permissions
  • Windows system-file protection

If the problem affects only one folder, concentrate on that folder's ACL and ownership. If access errors occur throughout Windows, investigate operating-system corruption, storage problems, security policies, and the user profile.


Conclusion

The “You Need Permission to Perform This Action” error does not necessarily mean that Windows is malfunctioning. In many cases, Windows is correctly enforcing ownership and NTFS permissions that were assigned to another account, inherited from another folder, or deliberately configured to protect system components.

For personal data, the most effective solution is often to verify ownership, assign the current user appropriate permissions, and correct permission inheritance.

For Windows system files, however, avoid aggressive ownership changes. Use supported repair methods such as DISM and System File Checker whenever possible.

Most importantly, identify whether the problem is actually a permission issue, ownership issue, file lock, encryption problem, security-software restriction, or file-system problem before making broad security changes.

#tags

#YouNeedPermission #PermissionError #WindowsPermission #Windows11 #Windows10 #AccessDenied #FolderAccessDenied #FileAccessDenied #WindowsTroubleshooting #WindowsFix #NTFSPermissions #FilePermissions #FolderPermissions #TakeOwnership #WindowsOwnership #AdministratorPermission #AdminPermission #TrustedInstaller #SYSTEMPermission #WindowsSecurity #ICACLS #Takeown #WindowsCommands #CommandPrompt #WindowsTerminal #FullControl #PermissionDenied #WindowsAccessDenied #FileExplorer #WindowsExplorer #WindowsAdministrator #WindowsSupport #WindowsTips #WindowsHelp #TechSupport #ITSupport #ComputerRepair #PCRepair #WindowsRepair #SystemAdministrator #SysAdmin #NTFS #AccessControl #ACL #UserAccountControl #UAC #ControlledFolderAccess #WindowsSecurityTips #DataRecovery #WindowsErrors

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

BISON AI

Ask about “How to Fix “You Need Permission to Perform This Action” Error in Windows 11/10 – Complete Access Denied & File Permission Troubleshooting Guide”

This interface is ready to connect to your preferred AI provider. No article or user data is sent until that service is configured.

THE BISON BRIEF

Practical IT knowledge, once a week.

New troubleshooting guides, scripts and infrastructure notes. No noise.

By subscribing, you agree to our privacy policy.