"Access Denied" or other errors when you access or work with files and folders in Windows (2024)

Skip to main content

Microsoft

Support

Support

Sign in

Sign in with Microsoft

Sign in or create an account.

Hello,

Select a different account.

You have multiple accounts

Choose the account you want to sign in with.

Windows 8 Enterprise Windows 8 Pro Windows 8 Windows 7 Enterprise Windows 7 Professional Windows 7 Ultimate Windows 7 Home Premium Windows 7 Home Basic Windows 7 Starter Windows Vista Enterprise Windows Vista Ultimate Windows Vista Business Windows Vista Home Premium Windows Vista Home Basic Windows Vista Starter Microsoft Windows XP Professional Microsoft Windows XP Home Edition Microsoft Windows XP Starter Edition More...Less

Summary

When you try to access or work with files and folders in Windows, you experience one or more of the following issues:

  • Issue 1: You receive an "Access Denied" error message or a similar message.

  • Issue 2: You cannot access, change, save, or delete files and folders.

  • Issue 3: You cannot open a file or folder after you install a new version of Windows.

Resolution

To resolve a particular issue, follow the steps for the issue that best describes your situation. Use the method for your version of Windows.

Note You may not always receive an “Access Denied” error message for these kinds of issues. If particular steps do not resolve the issue, try a different set of steps.

CauseAn "Access Denied" error message can occur for one or more of the following reasons:

  • The folder ownership has changed.

  • You do not have the appropriate permissions.

  • The file is encrypted.

Resolution

Windows 8

You may not have ownership of a file or folderIf you recently upgraded your computer to Windows 8 from an earlier version of Windows, some of your account information may have changed. Therefore, you may no longer have ownership of some files or folders. You might be able to resolve this issue by restoring your ownership of the files and folders.

To take ownership of a file or folder, follow these steps:

  1. Press and hold the folder that you want to take ownership of, then tap Properties. (If you are using a mouse, right-click the folder, and then click Properties.)

  2. Tap or click the Security tab, tap or click Advanced, then tap or click Change. If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

  3. Type the name of the person that you want to give ownership to, and then click Check Names.

    Note The account name for the person that you are assigning ownership to is displayed.

  4. Click OK.

  5. If you want this person to be the owner of the files and subfolders that are contained in this folder, select the Replace owner on subcontainers and objects check box.

  6. Click OK.

You may not have the appropriate permissionsIssues that you experience when you try to access files and folders may be related to permissions. Permissions are rules that determine whether you can access or change files and folders. To check permissions on a file or folder, follow these steps:

  1. Press and hold or right-click the file or folder, and then click Properties.

  2. Tap or click the Security tab.

  3. Under Group or user names, tap or click your name to see the permissions that you have.

To open a file, you have to have the Read permission. To change the permissions of a file or folder, follow these steps.

Important You must be logged on as an administrator to change permissions on files and folders.

  1. Press and hold or right-click the file or folder, and then tap or click Properties.

  2. Tap or click the Security tab.

  3. Under Group or user names, tap or click your name to see the permissions that you have.

  4. Tap or click Edit, tap or click your name, select the check boxes for the permissions that you must have, and then click OK.

The file or folder may be encryptedEncryption can help protect files and folders from unwanted access. You cannot open an encrypted file or folder without the certificate that was used to encrypt it. To determine whether a file or folder is encrypted, follow these steps:

  1. Press and hold or right-click the file or folder, and then tap or click Properties.

  2. Tap or click the General tab, and then tap or click Advanced.

If the Encrypt contents to secure data check box is selected, you have to have the certificate that was used to encrypt the file or folder to be able to open it. In this situation, you should obtain the certificate from the person who created or encrypted the file or folder, or have that person decrypt the file or folder.

Windows 7

You may not have ownership of a file or folderIf you recently upgraded your computer to Windows 7 from an earlier version of Windows, some of your account information may have changed. Therefore, you may no longer have ownership of some files or folders. You might be able to resolve this issue by restoring your ownership of the files and folders.

To take ownership of a file or a folder, follow these steps:

  1. Right-click the folder that you want to take ownership of, then click Properties.

  2. Click the Security tab, click Advanced, then click the Owner tab.

  3. Click Edit.

    Note If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

  4. Click the name of the person that you want to give ownership to.

  5. If you want this person to be the owner of files and subfolders in this folder, select the Replace owner on subcontainers and objects check box.

  6. Click OK.

You may not have the appropriate permissionsIssues that you experience when you try to access files and folders may be related to permissions. Permissions are rules that determine whether you can access or change files and folders. To determine the permissions of the file or folder, follow these steps:

  1. Right-click the file or folder, then click Properties.

  2. Click the Security tab.

  3. Under Group or user names, click your name to see the permissions that you have.

To open a file, you have to have the Read permission. To change permissions on a file or folder, follow these steps.

Important You must be logged on as an administrator to change permissions on files and folders.

  1. Right-click the file or folder, and then click Properties.

  2. Click the Security tab.

  3. Under Group or user names, click your name to see the permissions that you have.

  4. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.

For more information about permissions, see What are permissions?.

The file or folder may be encryptedEncryption can help protect files and folders from unwanted access. You cannot open an encrypted file or folder without the certificate that was used to encrypt it. To determine whether a file or folder is encrypted, follow these steps:

  1. Right-click the file or folder, and then click Properties.

  2. Click the General tab, then click Advanced.

If the Encrypt contents to secure data check box is selected, you have to have the certificate that was used to encrypt the file or folder to be able to open it.

You should obtain the certificate from the person who created or encrypted the file or folder, or have that person decrypt the file or folder.

For more information, see Import or export certificates and private keys.

CauseA problem that prevents you from accessing or working with files and folders can occur for one or more of the following reasons:

  • 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

Resolution

Windows 8

You may not have ownership of a file or folderIf you recently upgraded your computer to Windows 8 from an earlier version of Windows, some of your account information may have changed. Therefore, you may no longer have ownership of some files or folders. You might be able to resolve this issue by restoring your ownership of the files and folders.

To take ownership of a file or folder, follow these steps:

  1. Press and hold the folder that you want to take ownership of, then tap Properties. (If you are using a mouse, right-click the folder, and then click Properties.)

  2. Tap or click the Security tab, tap or click Advanced, then tap or click Change. If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

  3. Type the name of the person that you want to give ownership to, and then click Check Names.

    Note The account name for the person that you are assigning ownership to is displayed.

  4. Click OK.

  5. If you want this person to be the owner of the files and subfolders that are contained in this folder, select the Replace owner on subcontainers and objects check box.

  6. Click OK.

You may not have the appropriate permissionsIssues that you experience when you try to access files and folders may be related to permissions. Permissions are rules that determine whether you can access or change files and folders. To check permissions on a file or a folder, follow these steps:

  1. Press and hold or right-click the file or folder, and then click Properties.

  2. Tap or click the Security tab.

  3. Under Group or user names, tap or click your name to see the permissions that you have.

To open a file, you have to have the Read permission. To change the permissions of a file or folder, follow these steps.

Important You must be logged on as an administrator to change permissions on files and folders.

  1. Press and hold or right-click the file or folder, and then tap or click Properties.

  2. Tap or click the Security tab.

  3. Under Group or user names, tap or click your name to see the permissions that you have.

  4. Tap or click Edit, tap or click your name, select the check boxes for the permissions that you must have, and then click OK.

For more information about permissions, see What are permissions?.

The file or folder may be encryptedEncryption can help protect files and folders from unwanted access. You cannot open an encrypted file or folder without the certificate that was used to encrypt it. To determine whether a file or folder is encrypted, follow these steps:

  1. Press and hold or right-click the file or folder, and then tap or click Properties.

  2. Tap or click the General tab, and then tap or click Advanced.

If the Encrypt contents to secure data check box is selected, you have to have the certificate that was used to encrypt the file or folder to be able to open it. In this situation, you should obtain the certificate from the person who created or encrypted the file or folder, or have that person decrypt the file or folder.

The file or folder may be corruptedFiles can become corrupted for several reasons. The most common reason is that you have a file open when your computer crashes or loses power. Most corrupted files cannot be repaired. In this situation, you should either delete the file or restore the file from a backup copy.

For more information about corrupted files and how to fix them, see Corrupted files: frequently asked questions.

Your local user profile may be corruptedOccasionally, Windows might not read your local user profile correctly. This may prevent you from accessing files and folders. In this situation, you may have to use a new local user profile. To create the profile, you must first create a local user account. When the new account is created, the profile is also created. To create a local user account, follow these steps:

  1. Swipe from the right edge of the screen, tap Settings, and then tap Change PC settings. (If you are using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, click Settings, and then click Change PC settings)

  2. In the navigation pane, tap or click Users.

  3. Tap or Click Add a User, then tap or click Can they sign in without a Microsoft account?

  4. Tap or click Local account.

  5. Enter your new account name.

  6. If you want to use a password, enter and verify the password that you want to use. If you decide not to use a password, tap or click Next without entering a password.

  7. Tap or click Finish.

Windows 7

You may not have ownership of a file or folderIf you recently upgraded your computer to Windows 7 from an earlier version of Windows, some of your account information may have changed. Therefore, you may no longer have ownership of some files or folders. You might be able to resolve this issue by restoring your ownership of the files and folders.

To take ownership of a file or a folder, follow these steps:

  1. Right-click the folder that you want to take ownership of, and then click Properties.

  2. Click the Security tab, click Advanced, and then click the Owner tab.

  3. Click Edit. If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

  4. Click the name of the person that you want to give ownership to.

  5. If you want that person to be the owner of files and subfolders in this folder, select the Replace owner on subcontainers and objects check box.

  6. Click OK.

You may not have the appropriate permissionsIssues that you experience when you try to access files and folders may be related to permissions. Permissions are rules that determine whether you can access or change files and folders. To check permissions on a file or a folder, follow these steps:

  1. Press and hold or right-click the file or folder, and then click Properties.

  2. Tap or click the Security tab.

  3. Under Group or user names, tap or click your name to see the permissions that you have.

To open a file, you have to have the Read permission. To change permissions on a file or folder, follow these steps.

Important You must be logged on as an administrator to change permissions on files and folders.

  1. Right-click the file or folder, and then click Properties.

  2. Click the Security tab.

  3. Under Group or user names, click your name to see the permissions you have.

  4. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.

For more information about permissions, see What are permissions?.

The file or folder may be encryptedEncryption can help protect files and folders from unwanted access. You cannot open an encrypted file or folder without the certificate that was used to encrypt it. To determine whether a file or folder is encrypted, follow these steps:

  1. Right-click the file, then click Properties.

  2. Click the General tab, and then click Advanced.

If the Encrypt contents to secure data check box is selected, you have to have the certificate that was used to encrypt the file or folder to be able to open it.

You should obtain the certificate from the person who created the file. For more information, see Import or export certificates and private keys.

The file or folder may be corruptedFiles can become corrupted for several reasons. The most common reason is that you have a file open when your computer crashes or loses power. Most corrupted files cannot be repaired. In this situation, you should either delete the file or restore the file from a backup copy.

For more information about corrupted files and how to fix them, see Corrupted files: frequently asked questions.

Your user profile may be corruptedOccasionally, Windows might not read your local user profile correctly. This may prevent you from accessing files and folders. In this situation, you may have to use a new local user profile. To create the profile, you must first create a local user account. When the new account is created, the profile is also created.

For more information about how to create user profiles, see Fix a corrupted user profile. After the new user profile is created, you can copy your existing user files to the new profile so that you can access them.

CauseProblems that prevent you from accessing files and folders after you upgrade to a new version of Windows can occur for one or more of the following reasons:

  • The folder ownership has changed.

  • The files are being stored in a Windows.old folder from your previous system.

Resolution

Windows 8

You may not have ownership of a file or folderIf you recently upgraded your computer to Windows 8 from an earlier version of Windows, some of your account information may have changed. Therefore, you may no longer have ownership of some files and folders. You might be able to resolve this issue by restoring your ownership of the files and folders.

To take ownership of a file or a folder, follow these steps:

  1. Press and hold the folder that you want to take ownership of, then tap Properties. (If you are using a mouse, right-click the folder, and then click Properties.)

  2. Tap or click the Security tab, tap or click Advanced, then tap or click Change. If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

  3. Type the name of the person that you want to give ownership to, and then click Check Names.

    Note The account name for the person that you are assigning ownership to is displayed.

  4. Click OK.

  5. If you want this person to be the owner of the files and subfolders that are contained in this folder, select the Replace owner on subcontainers and objects check box.

  6. Click OK.

You have to recover files from the Windows.old folderIf you recently upgraded your computer to Windows 8 from an earlier version of Windows, and you did not reformat the hard disk, you might still be able to access your old files from the Windows.old folder.

To fix this problem automatically, click the Fix it button or link. In the File Download dialog box, click Run, and then follow the steps in the Fix it Wizard. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.

Fix it for me

Notes

  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.

  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD, and then run it on the computer that has the problem.

Let me fix it myselfTo manually retrieve the files, follow these steps:

  1. Open the desktop, tap the folder icon, and then click Computer. Or, press the Windows logo key+E.

  2. Double-tap or double-click the drive that Windows is installed on (typically, drive C).

  3. Double-tap or double-click the Windows.old folder.

  4. Double-tap or double-click the Users folder.

  5. Double-tap or double-click your user name.

  6. Open the folders that contain the files that you want to retrieve. For example, to retrieve files in the Documents folder, double-tap or double-click Documents.

  7. Copy the files that you want from each folder and paste them to a folder in Windows 8. For example, if you want to retrieve everything from the Documents folder, copy all the files and folders from the Documents folder in the Windows.old folder, and then paste them to the Documents library in Windows 8.

  8. Repeat steps 5-7 for each user account on your computer.

For more information about how to recover data from an earlier version of Windows, see Recover lost or deleted files.

Windows 7

You may not have ownership of a file or folderIf you recently upgraded your computer to Windows 7 from an earlier version of Windows, some of your account information may have changed. Therefore, you may no longer have ownership of some files and folders. You might be able to resolve this issue by restoring your ownership of the files and folders.

To take ownership of a file or a folder, follow these steps:

  1. Right-click the folder that you want to take ownership of, and then click Properties.

  2. Click the Security tab, click Advanced, and then click the Owner tab.

  3. Click Edit. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

  4. Click the name of the person that you want to give ownership to.

  5. If you want that person to be the owner of files and subfolders in this folder, select the Replace owner on subcontainers and objects check box.

  6. Click OK.

You may have to recover files from the Windows.old folderIf you recently upgraded your computer to Windows 7 from an earlier version of Windows, and you did not reformat your hard disk, you might still be able to access your old files from the Windows.old folder.

To fix this problem automatically, click the Fix it button or link. In the File Download dialog box, click Run, and then follow the steps in the Fix it Wizard.If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.

Fix it for me

Notes

  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.

  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD, and then run it on the computer that has the problem.

Let me fix it myselfTo manually retrieve the files, follow these steps:

  1. Click Start, then click Computer.

  2. Double-click the drive that Windows is installed on (typically, drive C).

  3. Double-click the Windows.old folder.

  4. Double-click the Users folder.

  5. Double-click your user name.

  6. Open the folders that contain the files that you want to retrieve. For example, to retrieve files in the Documents folder, double-click Documents.

  7. Copy the files that you want from each folder and paste them to a folder in Windows 7. For example, if you want to retrieve everything from the Documents folder, copy all the files and folders from the Documents folder in the Windows.old folder, and then paste them to the Documents library in Windows 7.

  8. Repeat steps 5-7 for each user account on your computer.

For more information about how to recover data from an earlier version of Windows, see Recover lost or deleted files.

SUBSCRIBE RSS FEEDS

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

"Access Denied" or other errors when you access or work with files and folders in Windows (2)

Microsoft 365 subscription benefits

"Access Denied" or other errors when you access or work with files and folders in Windows (3)

Microsoft 365 training

"Access Denied" or other errors when you access or work with files and folders in Windows (4)

Microsoft security

"Access Denied" or other errors when you access or work with files and folders in Windows (5)

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

"Access Denied" or other errors when you access or work with files and folders in Windows (6)

Ask the Microsoft Community

"Access Denied" or other errors when you access or work with files and folders in Windows (7)

Microsoft Tech Community

Thank you for your feedback!

×

"Access Denied" or other errors when you access or work with files and folders in Windows (2024)

FAQs

"Access Denied" or other errors when you access or work with files and folders in Windows? ›

Check the security settings. Right-click on the folder and select Properties then the Security tab. If you don't have permissions to see the security then you will need to click Advanced and take ownership. Also make sure that your user has full permissions to access the folder.

How to solve folder access denied problem? ›

Right-click the file or folder, and then click Properties. Click the Security tab. Under Group or user names, click your name to see the permissions that you have. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.

How to fix Access is denied error when using Windows services? ›

Windows Services Access Denied: Troubleshooting and Solutions
  1. Run apps as an Administrator.
  2. Adjust service permissions.
  3. Use Tweaking Repair.
  4. Disable UAC (User Account Control)
  5. Check Service Dependencies.
  6. Temporarily Disable Security Software.
  7. Remove Access Denied with CMD.
Nov 9, 2023

How do I fix access denied you don't have permission to access? ›

You can try:
  1. Clearing your browser cookies and history.
  2. Turning off VPN and VPN extensions.
  3. Disabling your proxy.
  4. Switching to a premium VPN service.
  5. Resetting your browser data.

How to bypass you have been denied permission to access this folder? ›

Fixes for "You Don't Currently Have Permission to Access This Folder"
  1. Right-click on the folder to navigate to "Properties".
  2. Go to the "group or username" section on the "Security" tab.
  3. Click on "Advanced", and then "Change".
  4. Type your account name. ...
  5. Check "Replace owner on sub containers and objects" > "OK".
May 20, 2024

How do I fix denied permissions? ›

Change permissions based on their type
  1. On your device, open the Settings app.
  2. Tap Security & Privacy Privacy. Permission manager.
  3. Tap a permission type. If you allowed or denied permission to any apps, you'll find them here.
  4. To change an app's permission, tap the app, then choose your permission settings.

How do I fix access to the path is denied? ›

  1. Open Windows Explorer.
  2. Go to the Following directory: C:\users\[*username]\AppData\
  3. Right Click on the folder Roaming.
  4. Select Properties.
  5. Go to the Security Tab.
  6. Make sure that user has full permissions to the directory.
Jun 12, 2023

How do I get rid of access denied in Windows? ›

Folder Access Denied You Need Permission
  1. Right-click on the problematic folder and press “Properties.”
  2. In the “Security” tab, click “Advanced.”
  3. Locate “Owner” in the new window that opens and tap “Change.”
  4. Type “Users” in the dialogue box provided, then hit “o*k.”
Feb 25, 2022

Why is my computer saying access denied? ›

If you are trying to install a software on your computer and encounter the "Access Denied" error, you might feel frustrated and confused. This error usually means that you do not have the required permissions or privileges to perform the installation.

Why is my computer saying I dont have permission to access? ›

You may encounter this error if your external hard drive is connected to a device without the right permissions settings. Other possible causes include user account control settings which restrict access to external drives, or a corrupted Windows Photos app.

How do I get rid of access denied hard drive? ›

How to Fix Access Denied for External Hard Drive
  1. Method 1: Switch Computers and Check the Cable.
  2. Method 2: Change Permission for Accessing External Hard Drive.
  3. Method 3: Change the Drive Letter.
  4. Method 4: Check Disk Utility.
  5. Method 5: Format.
Jun 13, 2023

How do I unlock a folder that is access denied? ›

Top 5 Ways to Fix Destination Folder Access Denied in Windows 10/8/7
  1. Right-click the folder that you want to take ownership of, and then click "Properties" from the Context Menu.
  2. Click "Security" > "Advanced", and then click the "Owner" tab.
  3. Click "Change". ...
  4. The owner section will now change.
May 16, 2024

How do I open a file if I get an access denied message? ›

Here are some steps you can try to resolve the issue:
  1. Right-click on the folder where the doc and pdf files are located and select "Properties".
  2. Click on the "Security" tab.
  3. Click on "Edit" and then "Add".
  4. Type in your new user profile name and click "Check Names".
Feb 28, 2024

How to override access denied? ›

The quickest and easiest way to solve an access denied error is by clearing your browser data. Furthermore, you might want to disable any VPN extensions or proxies, or resetting the browser altogether.

How to fix folder permissions? ›

Setting Permissions
  1. Access the Properties dialog box.
  2. Select the Security tab. ...
  3. Click Edit.
  4. In the Group or user name section, select the user(s) you wish to set permissions for.
  5. In the Permissions section, use the checkboxes to select the appropriate permission level.
  6. Click Apply.
  7. Click Okay.
Apr 19, 2024

How do I fix a folder that is not accessible? ›

You might be able to resolve this issue by restoring your ownership of the files and folders.
  1. Right-click the folder that you want to take ownership of, then choose "Properties".
  2. Click "Security" > "Advanced" > "Change". ...
  3. Type the name of the user that you want to give ownership to, and then click "Check Names" and "OK".
May 9, 2024

How to solve destination folder access denied? ›

How do I fix destination folder access denied?
  1. Fix 1. Change ownership.
  2. Fix 2. Perform clean boot.
  3. Fix 3. Gain permissions.
  4. Fix 4. Run CHKDSK to fix file system.
  5. Fix 5. Format the device.
May 16, 2024

Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6311

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.