Fix: “You have been denied permission to access this folder” error

Milan Stanojevic avatar. By: Milan Stanojevic
12 minute read

Home » Fix: “You have been denied permission to access this folder” error

In order to protect your files from unauthorized access, Windows 10 can lock certain folders. This means that some folders are inaccessible for certain non-administrator users. Users reported You have been denied permission to access this folder message, and today we’re going to show you how to fix it.

“You have been denied permission to access this folder” message, how to fix it?

Fix – “You have been denied permission to access this folder”

Solution 1 – Change the ownership of the folder

As we already mentioned, many folders are protected by Windows, and you can’t access them without certain privileges. However, by changing the ownership of the folder you can fix You have been denied permission to access this folder message. Changing the ownership is relatively simple, and you can do it by following these steps:

  1. Locate the folder that you can’t access and right click it. Choose Properties from the menu.
  2. Go to Security tab and click the Advanced button.
  3. Look for the Owner section at the top of the window. Click the Change button.
  4. In the Enter the object name to select field enter your username or email address associated with your Microsoft account. Now click Check Names. If your input is correct, the input field will change. This is perfectly normal, so no need to worry about it. Some users are recommending to enter Everyone instead of your username, and this method also works, but it will also allow every user on your PC to have full access to this folder.
  5. Click OK button to save the changes.
  6. Owner section will now be changed. Check Replace owner on subcontainers and objects option and click Apply and OK buttons.

After taking the ownership over the folder, you should be able to access it without any problems.

Solution 2 – Modify your registry

Modifying the registry can be a risky process, so before you make any changes we advise you to back up your registry just in case. If you’re getting You have been denied permission to access this folder message, you can fix it by changing the ownership of that folder. We already explained how to do that in our previous solution, but there’s another way to do it. Changing the ownership doesn’t have to require several steps, and you can do it simply with a single click. Before you can use this feature, you need to make few changes to your registry. To do that, follow these steps:

  1. Download Take Ownership.zip file.
  2. Open the zip file and extract the available files to any folder.
  3. Now run Install Take Ownership.reg file.
  4. When the confirmation message appears, click Yes to confirm.
  5. After doing that, just right click the problematic folder and choose Take Ownership option from the menu.

As you can see, this is a more straightforward and simple solution, but it requires you to make some changes to your registry. If you don’t want to use this feature anymore, or if it’s giving you trouble, be sure to run Uninstall Take Ownership.reg file to remove it.

Solution 3 – Use TakeOwnershipEx

Previous method is quite simple to use, but some users aren’t comfortable with modifying their registry. If that’s the case, you might want to download and try TakeOwnershipEx tool. This is a simple tool that will allow you to take ownership over any folder on your PC. After you download TakeOwnershipEx and install it, you need to do the following:

  1. Start TakeOwnershipEx tool.
  2. Click Take Ownership button.
  3. Now select the problematic folder.
  4. After doing that you’ll see a success message on the screen.
  5. Optional: If you want, you can always restore ownership settings to default by using Restore Ownership option.

Unlike the previous solution, this one offers a way to restore ownership, which can be quite useful if you’re trying to access any system file. If you’re not comfortable modifying your registry, and you want to use a third-party tool to fix You have been denied permission to access this folder message, feel free to use this simple tool.

Solution 4 – Close Shared Folder Sessions

Several users reported that this issue occurs even after making changes to the ownership settings. If that’s the case, you might have to close Shared Folder Sessions. This is relatively simple, and you can do it by following these steps:

  1. Press Windows Key + X to open Win + X menu. Select Computer Management from the menu.
  2. When Computer Management opens, navigate to System Tools > Shared Folders > Sessions.
  3. You should now see all available sessions. Right click them and choose Close Session from the menu. In addition, you can also right click Sessions in the left pane and choose Disconnect All Sessions.
  4. After that, close Computer Management and check if the problem is resolved.

Solution 5 – Try using a different explorer application

If you’re getting You have been denied permission to access this folder message, you might want to try using a different explorer application. File Explorer is default application for file access in Windows 10, but if you can’t access the folder with it, we suggest that you download Q-Dir. Simply download and run this portable application and try to access the folder by using this tool. Several users reported success by using this method, so be sure to try it out.

Solution 6 – Copy the folder to a different location

If you can’t access a folder due to You have been denied permission to access this folder message, there’s a simple workaround that you can try. According to users, you can copy the folder to a different location and try it access it from there. This might not be the best solution, but it works according to users, so be sure to try it out.

Solution 7 – Use Command Prompt to access files

You have been denied permission to access this folder message can prevent you from accessing certain folders, but there’s a way to circumvent this issue. According to users, you can access any folder on your PC simply by using Command Prompt as administrator. To start Command Prompt as administrator, do the following:

  1. Press Windows Key + X to open Win + X menu.
  2. Choose Command Prompt (Admin) from the menu.

After Command Prompt starts, you can use it to access and copy files from the problematic folder. If you’re not familiar with Command Prompt, you’ll need to learn few basic commands in order to use this tool.

Solution 8 – Create a new group and add your user account to it

According to some users, they fixed the issue simply by creating a new group and giving ownership over the folder to the new group. This is relatively simple, and you can do it by following these steps:

  1. Press Windows Key + R to open the Run dialog. Enter lusrmgr.msc and press Enter or click OK.
  2. When Local Users and Groups window opens, select Groups in the left pane. Right click Groups and choose New Group.
  3. New Group window will appear. Enter the desired Group name. Now click the Add button.
  4. In Enter the object names to select filed enter your username or Microsoft account email. Click Check Names. If your input is valid, click OK.
  5. Click the Create button to create a new group.
  6. Now close that window.

After creating a new group, you need to change the ownership of the problematic folder. You can do that simply by following steps from Solution 1. Keep in mind that you need to enter the name of the group while changing the ownership instead of your username. In addition, if you see Replace all existing inheritable permissions on all descendants with inheritable permissions from this object option while changing the ownership, be sure to select it.

Fix – “You have been denied permission to access this folder” USB

Solution 1 – Connect your USB flash drive to a different PC

Many users reported that they are getting You have been denied permission to access this folder message while trying to access certain folders on removable storage. If you have the same problem, we advise you to connect the problematic USB flash drive to a different PC. After doing that, create a copy of the problematic folder and delete the original. Rename the copy, and connect the flash drive back to your PC. After doing that the issue will be resolved, and you should be able to access that folder.

Solution 2 – Use xcopy command

If you can’t access a folder on your USB flash drive due to this error, we suggest that you try using the xcopy command. This is a bit advanced processes, so before you can perform it, we advise you to do a bit of research and learn how to use xcopy command. In addition, you’ll need to use this command from Command Prompt. We already explained how to start Command Prompt as administrator in one of our previous solutions, so be sure to check it out.

Solution 3 – Uninstall USB driver

According to users, they fixed You have been denied permission to access this folder message simply by uninstalling their USB device driver. This is a simple procedure, and you can do it by following these steps:

  1. Start Device Manager. To do that, press Windows Key + X and choose Device Manager from the menu.
  2. Go to the View menu and check Show hidden devices option.
  3. Locate your USB flash drive and right click it. Choose Uninstall from the menu.
  4. When the confirmation message appears, click OK to uninstall the driver.

Now you need to connect your USB flash drive to a different port on your PC. After doing that, Windows 10 will automatically install the necessary drivers and the issue will be fixed.

Solution 4 – Make sure that you’re authenticated

Users reported You have been denied permission to access this folder message on certain HP computers. According to them, they are unable to access their USB flash drive until they are properly authenticated. In order to that, you need to click the HP icon in the lower right corner and follow the authentication process. This is a security measure on some HP computers, and if you own an HP PC we advise you to try this solution.

Solution 5 – Change the security settings

If you’re having this issue on your HP computer, you might be able to solve it by changing the security settings. To do that, you need to follow these steps:

  1. Open HP Client Security.
  2. Navigate to the Device Permissions.
  3. Click on Change.
  4. Now change the removable storage settings and allow full access for administrators and users. Few users reported that this option is grayed out, but it can still be changed.
  5. After doing that, save changes and try to access your USB flash drive again.

According to users, this fixed You have been denied permission to access this folder message on their HP computer, so you might want to try this solution out.

Solution 6 – Uninstall HP software

According to users, HP software can often interfere with your USB flash drive and prevent you from accessing it. If you’re getting You have been denied permission to access this folder message on your HP computer, you can solve it by removing HP software. To do that, follow these steps:

  1. Press Windows Key + I to open the Settings app.
  2. When the application opens, go to System section. Now navigate to Apps & features tab.
  3. List of all installed applications will now appear. Locate HP software such as HP Device Manager for example. Select the software and click the Uninstall button.

If you don’t want to use Settings app, you can uninstall the problematic applications by following these steps:

  1. Press Windows Key + S and enter programs. Select Programs and Features from the list of results.
  2. When Programs and Features window opens, locate HP software and double click it to remove it.

Usually HP Device Manager is the cause for this problem, but sometimes other HP software can cause this issue. To fix the issue, you might have to remove all HP applications from your PC. Few users reported that HP Security Client is also responsible for this problem, so we advise you to remove this application as well. According to some users, there could be some issues while removing HP Security Client. Users reported that you need to remove depending applications before you’re able to remove HP Security Client, therefore be sure to do that.

Solution 7 – Change the ownership of the drive

You have been denied permission to access this folder is an ownership issue, and in most cases you can fix it by changing the ownership. If you have this problem with your USB flash drive, we advise you to change the owner of the drive. To do that, right click your USB flash drive and choose Properties. Now go to the Security tab and follow the steps from the first solution in this article. After taking the ownership of the desired drive, the issue should be resolved.

Solution 8 – Use Partition Wizard software

According to users, you can fix You have been denied permission to access this folder message simply by running Partition Wizard software. You just need to run this software and let it scan your USB flash drive. After doing that, close the application and you should be able to access the USB drive without any problems.

Fix – “You have been denied permission to access this folder” no Security tab

Solution 1 – Connect your drive to a different PC

If you have problem accessing certain folders due to You have been denied permission to access this folder message, you might need to change your security permissions. We already explained how to do that in our previous solutions, however, some users reported that Security tab is missing on their PC. This is an unusual problem, and if you have this issue, you might have to remove your hard drive or removable storage and connect it to a different PC. After doing that, you should be able to access the files and make the necessary changes. This is just a workaround, but if you need to access your files urgently, be sure to try it out.

Solution 2 – Use Command Prompt

Since You have been denied permission to access this folder message requires you to change your security permissions, you need to use Settings tab. Unfortunately, number of users reported that this tab is missing on their PC. However, this doesn’t have to be a major problem since you can take ownership of the folder from Command Prompt. To do that, follow these simple steps:

  1. Open Command Prompt as administrator. We showed you how to do that in one of our previous solutions, so be sure to check it out.
  2. Once Command Prompt opens, you need to enter the following lines:
    • takeown /F <folder path> /R /D Y
    • C:\>icacls <folder path> /grant administrators:F /T
      Be sure to replace <folder path> with the correct path to the folder that you can’t access.
  3. After running those commands, close Command Prompt and check if the problem is resolved.

Solution 3 – Change Group Policy settings

If you can’t find Settings tab in Properties window, you might have to change Group Policy settings. This is a simple procedure, and you can perform it by following these steps:

  1. Press Windows Key + R and enter gpedit.msc. Click OK or press Enter.
  2. Local Group Policy Editor will now open. In the left pane navigate to User Configuration > Administrative Templates > Windows Components > File Explorer. In the right pane double click Remove Security tab.
  3. Select Disabled option from the menu and click on Apply and OK to save changes.
  4. Close Group Policy Editor.

After making the changes, Security tab will become available and you should be able to access it and change the folder ownership.

You have been denied permission to access this folder message usually appears if you don’t have the necessary privileges to access a specific folder. In most cases you can fix this problem simply by changing the ownership of the folder or by removing the problematic apps. If those solutions don’t work, feel free to try any other solution from this article.

READ ALSO:

Discussions

Next up

How to install a Virtual Private Network on Windows Server 2019

Aleksandar Ognjanovic By: Aleksandar Ognjanovic
2 minute read

Using a VPN on your Windows Server has a lot of advantages for all parties included and it allows users in a small environment access to […]

Continue Reading

This is how you can fix Windows 10 ODBC issues

Aleksandar Ognjanovic By: Aleksandar Ognjanovic
3 minute read

ODBC is quite useful for application access routines, especially for professional users. And, seemingly, there are a plethora of issues for Windows 10 users who […]

Continue Reading

Microsoft might update Windows 10 to enable custom quick actions

Matthew Adams By: Matthew Adams
2 minute read

The Windows 10 Action Center includes Quick Action buttons that provide shortcuts for adjusting settings. For example, users can press the Tablet mode button to […]

Continue Reading