Is Windows 11 denying you access to a data folder: an old drive connected to a new PC, the folder of a former user account, an external drive formatted as NTFS on another computer or a folder restored from a backup? This guide explains why File Explorer blocks access, what the Continue button really does, and how to regain control of your own files by taking ownership of the folder, with a backup of the permissions so you can roll back. The steps also apply to Windows 10.
Never change the permissions of Windows folders (C:\Windows and its subfolders, for example) or of program installation folders. Microsoft explicitly advises against it: it can stop programs or Windows from working.
Message shown by File Explorer:
You don't currently have permission to access this folder.
Click Continue to permanently get access to this folder.
Observe before acting
| Observation | Most likely cause | Step |
|---|---|---|
| Message with a Continue button on a data folder | Your account lacks read permission, but an administrator can grant it | Step 1 |
| Continue is not enough, access remains denied | The owner is an account from another PC or a deleted former account | Steps 2 to 4 |
| The folder opens, but some files show "Access denied" | Files encrypted by another user (EFS) | Special cases |
| Access denied to a shared folder on the network | Share permissions, not the local disk | Shared folder unreachable on the network (0x80070035) (French guide) |
| A program cannot save to Documents, Pictures or Desktop and Windows Security shows a notification | "Controlled folder access" protection | Controlled folder access blocking your files (French guide) |
Step 1: understand and use the Continue button
When to use it: the message with Continue appears on a data folder that belongs to you (photos, documents, backups), and your account is an administrator of the PC.
According to Microsoft, when you click Continue, User Account Control (UAC) asks for administrator rights, then a background process permanently changes the permissions of the folder, all its subfolders and files, to give your account Full Control. It is not temporary access.
Expected result: the folder opens and the message no longer appears. If access is still denied, go to step 2.
Good to know: for a folder reserved for administrators, Microsoft recommends using a tool started as administrator instead (Command Prompt, PowerShell) to avoid this permanent change of permissions.
Step 2: back up the current permissions
When to use it: before changing the owner or the permissions (steps 3 and 4). This backup lets you roll back.
The icacls command can save the access control lists (DACLs) of a folder and all its contents to a file, then reapply them later. In the following examples, the folder concerned is D:\Ancien: adjust this path to your case.
Expected result: a permissions backup file exists. Keep it until everything works.
Step 3: take ownership of the folder
When to use it: the owner of the folder is an account that no longer exists or that comes from another PC.
The owner of a folder decides its permissions. Microsoft states that an administrator can take ownership of any file on the PC.
Expected result: under Security > Advanced, your account appears as Owner. Microsoft points out that after a change of owner, you may still need to grant yourself permissions: that is step 4.
Step 4: grant yourself access to the folder
When to use it: you are the owner, but access is still denied.
Expected result: the folder and its files open normally.
Rollback: to reapply the permissions saved in step 2, as administrator:
icacls D:\Ancien\ /restore "%USERPROFILE%\Desktop\acl_ancien.txt" /c
This command restores the saved permission lists (DACLs); it does not restore the previous owner.
Special cases
| Situation | What to do |
|---|---|
| Files encrypted by another user (EFS) | Microsoft states that these files remain accessible only to the person who encrypted them (or to the designated recovery agent), regardless of the other permissions. To check, add the Attributes column in Details view: an E indicates an encrypted file. Taking ownership is not enough: you need the former account's certificate. |
| Windows or program folder (C:\Windows, Program Files…) | Do not change its owner or permissions. If a program no longer works, reinstall it instead. |
| Work or school PC | Permissions may be enforced by your organisation: contact your IT department. |
| The path contains spaces | Put it in quotation marks in the takeown and icacls commands of steps 3 and 4. |
Final check
- ☐ Your account appears as owner under Security > Advanced (if you followed step 3).
- ☐ The folder and its files open without an access denied message.
- ☐ No Windows or program folder has been changed.
- ☐ The permissions backup file is kept until everything has been checked.
Sources
- Microsoft Learn: Continue dialog box for folder access in Windows Explorer (KB 950934)
- Microsoft Learn: Take Ownership of a File or Folder) (older Windows 7 procedure, still valid in principle)
- Microsoft Learn: takeown command
- Microsoft Learn: icacls command (/save, /restore, /grant)
- Microsoft Learn: Access is denied error message appears when permissions are correct (EFS-encrypted files)
Still having the problem?
Reply in this topic with your Windows version (Windows + R keys, then winver), where the folder comes from (another PC, former account, external drive, backup), the type of account you use (administrator or standard), the exact message shown and the output of the commands you have already tried. Replace your user name with "USER" if you paste command output.