How to Resolve: You need permission to perform this action

Updated June 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link

  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Windows requires permissions for actions you perform on your computer. But it’s your computer, isn’t it? So, why do you need permission to access certain files and folders? There are several related answers.

Windows want to protect you from accessing certain files because changing them can damage the operating system. Therefore, if your Windows user account does not have the right permissions, you will not be able to access certain files or folders.

In this case, you will get an error message “You must have permission to perform this action“. This is frustrating, of course. But here are some very effective solutions to fix this error.

What causes the “You need permission to perform this action” error message?

There is no single cause for this error, but it is better if it does not occur again. However, in some situations, the error occurs more often, for example when you try to copy files, change the folder/file name, delete a file or folder, or install a program.

Ideally, these actions should not cause any problems. If you do not have the correct security permissions, if the permissions have not been changed correctly, or if the folder or file is locked by a service or system process because it is an important file for Windows to work, you may encounter this error.

The error can also be caused by malware infection or the use of some third-party applications. All this can be frustrating even if you have an administrator account, as you cannot create, modify or even delete files and folders.

How to repair the “You must have permission to perform this action” error message?

June 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

Changing the directory owner

  1. First, find the file you cannot access. Right-click on that file and select Properties.
  2. Select the Security tab and click Administrator under Group and User Names.
  3. Click the Advanced button at the bottom.
  4. In the Owner section, click Edit.
  5. In the Select User or Group window, click Advanced.
  6. Then in the Advanced section, click Find Now and select the group that you want to have full rights to the files on your computer. Click OK to close this window.
  7. Now go to the Permissions tab and click Add.
  8. Click Select Primary.
  9. Repeat steps 5 and 6 to select the desired user or group.
  10. Set the Type to Allow and check the Full Control option. Now click OK to save your changes.
  11. You are now the owner of the selected file and can modify it without restriction.

Use the command line to change security/ownership permissions

  1. Press the Windows + X keys to open the Win + X menu and select Command Prompt (Admin) from the list. If
  2. Command Prompt is not available, you can use PowerShell (Admin) instead.
  3. When Command Prompt opens, type takeown /f (path_to_folder) /r /d y and press Enter. By running this command, you take ownership of the selected directory or file.
  4. Now type icacls (path_to_folder) /grant administrators:F /T and press Enter to execute the command.
  5. You then give the Administrators group full control over the directory. If you want to grant full access to another user or group, enter the appropriate name.

Once these two commands are executed, you become the owner and grant full control to the selected user or group. For this command to work, you must replace (path_to_folder) with the exact location of the file or directory that caused the File Access Denied error message.

Check your antivirus program

Another cause of this problem could be your antivirus program. To solve the problem, users recommend disabling your antivirus program and see if that helps. If not, you should uninstall your antivirus program and see if that solves the problem.

If uninstalling the antivirus program does not solve the problem, you should consider switching to another antivirus program. There are many good antivirus programs on the market, but if you want an antivirus program that won’t affect your system, we recommend that you try popular third-party antivirus programs.

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Frequently Asked Questions

  1. Check the type of Windows user account.
  2. Get full control over the file or folder.
  3. Add yourself to the Administrators group.
  4. Boot into safe mode.
  5. Run SFC and CHKDSK.

Your computer may be infected with viruses or malware that are causing the "You need permission to perform this action" error message. Run a scan for and remove malware from your computer using Windows Defender. After that, you can check if the error has disappeared.

Go to the System and Security settings group, click on Security and Maintenance, and expand the options under Security. Scroll down until you see the Windows SmartScreen section. Click on the Change Settings button. You must have administrator rights to make these changes.

Scroll to Top