How To Fix “You Need Permission To Perform This Action” Error Message

In an NTFS file system, each file and folder are assigned certain permissions. This guide will help you fix the error, “you need permission to perform this action” while opening a file…

Fix You Require Permission From Administrators System to Make Changes to This Folder

Have you ever tried to access, move, or edit a file or folder, and were prompted with a dialog box stating “you require permission” to perform the action, even though you are logged in from an administrator account? If so, this is the article for you.

In an NTFS file system, each file and folder are assigned certain permissions. If it is a regular file/folder, almost anyone can make changes to it. However, if it is a critical system file, you may not be allowed to perform any actions.

What this message means is that you are not authorized to make changes to an item. This can be due to several factors. In some cases, users have even reported they needed permission from the user account they were logged in from to modify an item.

Causes of “You Need Permission to Perform This Action”

You may be experiencing issues while trying to access, rename, edit, move, or even delete a file or folder on a Windows PC. This can occur due to any one of the following reasons:

  • You are logged in from a standard user account.
  • The folder ownership has changed.
  • You do not have the appropriate permissions.
  • The file is encrypted.
  • The file is corrupted.
  • The user profile is corrupted.
  • File/folder is locked by the service, system, or process.

Either way, you will find a solution to fix the issue below. But before we begin, let us discuss the different permissions types.

Types of Permissions in Windows

Windows uses the following set of 6 permissions for files and folders:

  • Full Control
  • Modify
  • Read & Execute
  • List Folder Contents
  • Read
  • Write

Each of these permission types has a dedicated role which you can then modify for each user or user group.

The table below highlights what each of these permission types allows.

Permission TypeDetails
Full ControlPermits the user(s) to:
-View file name and subfolders
-Navigate to subfolders
-View data in the folder’s files
-Add files and subfolders to the folder
-Change the folder’s files
-Delete the folder and its files
-Change permissions
-Take ownership of the folder and its files
ModifyPermits the user(s) to:
-View the file names and subfolders
-Navigate to subfolders
-View data in the folder’s files
-Add files and subfolders to the folder
-Change the folder’s files
-Delete the folder and its files
-Open and change files
Read & ExecutePermits the user(s) to:
-View file names and subfolder names
-Navigate to subfolders
-View data in the folder’s files
-Run applications
List Folder ContentsPermits the user(s) to:
-View the file names and subfolder names
-Navigate to subfolders
-View folders
-Does not permit access to the folder’s files
ReadPermits the user(s) to:
-View the file names and subfolder names
-Navigate to subfolders
-Open files
-Copy and view data in the folder’s files
WritePermits the user(s) to:
-View the file names and subfolder names
-Navigate to subfolders
-Open files
-Copy and view data in the folder’s files
-Create folders
-Add new files
-Delete files
File and folder permissions types and details

Now that you understand what each of these permissions does when allotted, let us move on to fixing the issue.

Fix Folder/File Access Denied

You may be presented with either one of the following dialog boxes:

Folder/File Access Denied
You need permission to perform this action
You require permission from the computer's administrator to make changes to this file/folder
You need to provide administrator permission to delete this folder
You require permission from SYSTEM to make changes to this folder
You require permission from <Username> to make changes to this folder

To resolve this issue, perform the following tasks in the given chronological order.

Log in as Administrator

To begin with, you must first ensure that you are logged in from an administrative account. Administrative accounts have complete control over the computer, as well as the other user accounts on it.

To check if your account is a standard account or an administrator, navigate to the following:

Settings app >> Accounts

Here you will see the status of your user account.

User account status
User account status

Learn how to change your user account type or create a new administrator account.

Now that you are logged in with administrative privileges, try making changes to the file/folder again. If it still does not work, you must then modify the permissions or take ownership of the item itself.

Give User Account Full Control

We must now give the user account you are logged into full control of the file/folder you want to modify. To do this, follow these steps:

  1. Open the item’s properties.

    Open item properties
    Open item properties

    Right-click on the file/folder and then click Properties from the context menu.

  2. Open the Security tab.

    Open item security
    Open item security
  3. Click Edit.

    Edit security
    Edit security
  4. Click Add.

    Add object
    Add object

    This will open the “Select Users or Groups” window.

  5. Click Advanced.

    Open advanced users or groups selection settings
    Open advanced users or groups selection settings
  6. Click Find Now.

    Find existing users and groups on device
    Find existing users and groups on the device

    This will fetch the details of all the users and groups on your computer.

  7. Select the user/group you want to give rights to from the search results and click Ok.

    Select user group
    Select user/group
  8. Click Ok on “Select Users or Groups” window.

    Click OK
    Click OK

    The user/group has now been selected and will be added to the list.

  9. Select the user/group from the list and then check the “Full Control” box under Allow.

    Give full controol to usergroup
    Give full control to the user/group
  10. Click Apply and OK.

  11. Click Ok again on the Properties window.

You will now successfully add a user account or group to grant it access to the chosen item with full control. Check to see if you can now make modifications without seeing the “Access Denied” prompt.

If this solution did not work for you, then try taking ownership of the item.

Change Ownership

Taking ownership of a file or folder means it is yours, and you can do as you please. However, we do not recommend that you take ownership of system files and directories, as manipulating them could turn fatal for your OS.

Once you have taken ownership of the item, you will no longer need permissions from any other account, let it be a SYSTEM, TrustedInstaller, or any other for that matter.

Follow these steps to take ownership of a file or folder on a Windows PC:

  1. Open the item’s properties.

    Open item properties
    Open item properties

    Right-click on the file/folder and then click Properties from the context menu.

  2. Open the Security tab.

    Open item security
    Open item security
  3. Click Advanced.

    Open adanceed security settings
    Open advanced security settings
  4. Click Change in front of the owner.

    Change owner
    Change owner

    This will open the “Select Users or Groups” window.

  5. Click Advanced.

    Open advanced users or groups selection settings
    Open advanced users or groups selection settings
  6. Click Find Now.

    Find existing users and groups on device
    Find existing users and groups on device

    This will fetch the details of all the users and groups on your computer.

  7. Select the user account you want to give rights to from the search results and click OK.

    Select user group
    Select user/group
  8. Click Ok on “Select Users or Groups” window.

    Click OK
    Click OK

    The user account has now been selected and will be made the owner of the file/folder.

  9. (Optional) If you also want to change the owner of the subdirectories and items, check “Replace owner on subcontainers and objects.”

    Apply ownership change on subcontainers and objects
    Apply ownership change on subcontainers and objects
  10. (Optional) If you do not want this item to have the same permissions as its parent folder, click Disable Inheritance.

    Disable permission inheritance from parent directory
    Disable permission inheritance from the parent directory

    Then click “Remove all inherited permissions from this object.”

    Remove inheritied permissions
    Remove inherited permissions
  11. Select the user from the “Permission entries” list and click Edit.

    Edit permissions
    Edit permissions
  12. Check “Full Control” and click Ok.

    Assign full control
    Assign full control
  13. Click Apply and Ok on the advanced security window.

    If prompted with a dialog box, click Ok.

  14. Click Ok again on the Properties window.

Alternative to this method, you can also take ownership of an item by using Command Prompt.

You will now have complete ownership of the file/folder. After these steps, you should be able to make changes to the item without obstacles.

Frequently Asked Questions (FAQs)

Is it safe to change ownership?

It is safe to change the ownership of a file or folder as long as it is not a system-critical item. Critical system files are usually under the ownership of SYSTEM or TrustedInstaller, which are accounts with special permissions and run specific Windows files to perform Windows operations smoothly.

Is it safe to change permissions?

It is best practice to leave the permissions of system files and folders unaltered, as it can be injurious to the OS. However, changing user permissions for other files and folders is entirely safe and can be adjusted according to their allowed privileges.

How do I delete a file/folder after having closed it?

Even though you may have closed a file or folder, you may still see “The action can’t be completed because the folder or a file is open in another program” when attempting to delete it. This is not a permission or ownership issue.
The associated process for the task is still running in the background, preventing you from deleting the item.
Simply restart the computer and then delete the file/folder.

Latest posts
Patch Tuesday Windows 10
Windows 10 KB5032189 Fixes Touchscreen, Update Installation Issues

Protect your Windows 10 devices with KB5032189 that addresses zero-day vulnerabilities that are actively being exploited.

View post
Windows 11 Known Issues and Solutions
Windows 11 Latest Known Issues And Their Fixes

Each Windows update comes with its own set of issues. Learn what problems there are in the latest Windows updates before installing them, and bypass/fix them if needed.

View post
Patch Tuesday Windows 11
Windows 11 KB5032190 Update Fixes 3 Vulnerabilities, Enables Moment 4 Features

Patch up the zero-day vulnerabilities in Windows 11 with KB5032190.

View post

Leave the first comment