Quickly resolve “You Don’t Currently Have Permission to Access This Folder” Error

This article helps you fix an issue where you try to access a folder and get the “You don’t currently have permission to access this folder” error.

You don't currently have permission to access this folder error in Windows 11

Reason for You Don’t Currently Have Permission to Access This Folder error

The reason for this error is simple – your current user account does not have the necessary permission to open the folder.

Fix denied Permission to access this folder error in Windows 10 or Windows 11

There are two methods to solve the denied permission to access this folder. I would discuss them in detail.

Press the Continue button

Typically, if you press the continue button, you should see a progress bar and be granted access to the folder; however, for user accounts, this method may not work for Network shared denials. This method works only when you have an administrator account, and the other account is either a standard account or an administrator account. To reiterate, if you are on a non-admin account, the access would not be granted.

image 13
On a non-admin account, something like this error would appear

Take Ownership of the folder to resolve the access denied error

Another idea to fix this issue is to add “Take Ownership” to the context menu, then take ownership afterwards. After taking ownership, you can take Ownership of them to get access to the folder.

Commands to take Ownership

The commands below help add the Take Ownership option to the user’s context menu.

  • Open Command Prompt as administrator.
  • Copy and paste these commands.
reg add "HKCR\*\shell\TakeOwnership" /ve /d "Take Ownership" /f

reg add "HKCR\*\shell\TakeOwnership" /v "HasLUAShield" /t REG_SZ /d "" /f

reg add "HKCR\*\shell\TakeOwnership" /v "NoWorkingDirectory" /t REG_SZ /d "" /f

reg add "HKCR\*\shell\TakeOwnership" /v "NeverDefault" /t REG_SZ /d "" /f

reg add "HKCR\*\shell\TakeOwnership\command" /ve /d "powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%%1\\\" && icacls \\\"%%1\\\" /grant *S-1-3-4:F /t /c /l' -Verb runAs\"" /f

reg add "HKCR\*\shell\TakeOwnership\command" /v "IsolatedCommand" /t REG_SZ /d "powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%%1\\\" && icacls \\\"%%1\\\" /grant *S-1-3-4:F /t /c /l' -Verb runAs\"" /f

reg add "HKCR\*\shell\TakeOwnership" /ve /d "Take Ownership" /f

reg add "HKCR\*\shell\TakeOwnership" /v "HasLUAShield" /t REG_SZ /d "" /f

reg add "HKCR\*\shell\TakeOwnership" /v "NoWorkingDirectory" /t REG_SZ /d "" /f

reg add "HKCR\*\shell\TakeOwnership" /v "NeverDefault" /t REG_SZ /d "" /f

reg add "HKCR\*\shell\TakeOwnership\command" /ve /d "powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%%1\\\" && icacls \\\"%%1\\\" /grant *S-1-3-4:F /t /c /l' -Verb runAs\"" /f

reg add "HKCR\*\shell\TakeOwnership\command" /v "IsolatedCommand" /t REG_SZ /d "powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/c takeown /f \\\"%%1\\\" && icacls \\\"%%1\\\" /grant *S-1-3-4:F /t /c /l' -Verb runAs\"" /f

reg add "HKCR\Drive\shell\runas" /ve /d "Take Ownership" /f

reg add "HKCR\Drive\shell\runas" /v "HasLUAShield" /t REG_SZ /d "" /f

reg add "HKCR\Drive\shell\runas" /v "NoWorkingDirectory" /t REG_SZ /d "" /f

reg add "HKCR\Drive\shell\runas" /v "Position" /t REG_SZ /d "middle" /f

reg add "HKCR\Drive\shell\runas" /v "AppliesTo" /t REG_SZ /d "NOT (System.ItemPathDisplay:=\"C:\\\")" /f

reg add "HKCR\Drive\shell\runas\command" /ve /d "cmd.exe /c takeown /f \"%%1\\\" /r /d y && icacls \"%%1\\\" /grant *S-1-3-4:F /t /c" /f

reg add "HKCR\Drive\shell\runas\command" /v "IsolatedCommand" /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\\\" /r /d y && icacls \"%%1\\\" /grant *S-1-3-4:F /t /c" /f

You can also use this reg file from Shawn instead.

  • After doing these, “Take Ownership” would appear.
  • Once you click Take Ownership, a Command Prompt window will appear to take Ownership.
  • You should then be able to access the folder, thereby resolving the “You don’t currently have permission to access this folder” error.

These two solutions can help you access a folder in Windows if you are getting an access denied error.

Previous Article

Stop Windows Corruption Now: SFC Scannow and DISM Commands in Windows 10/11

Next Article

[Known issue] Outlook contacts disappeared or not showing