Access Denied When Copying Files Windows 10/8/7

Brithny updated on Feb 07, 2021 to Computer Instruction | How-to Articles

A quick overview of all five troubleshooting methods of access denied when copying files

Reliable Solutions Solution Details
1. Take the Ownership of the File or Folder
  1. Open "Windows Explorer" and locate the file/folder, right-click on it and select "Properties"...Read More>>
2. Change File and Folder Permission
  1. Right-click the file or folder, then click "Properties". Click the "Security" tab...Read More>>
3. Decrypt the File or Folder

Right-click the file or folder, and then click "Properties". Click the "General" tab, then click "Advanced"...Read More>>

4. Run CHKDSK Command
  1. Press the "Windows" key and type cmd. Right-click "Command Prompt" ...Read More>>
5. Use Data Recovery Software

Under the Specify a location section, click "Browse" on Select Folder to choose the location where you lost the folder...Read More>>

"When I try to copy or open the files from my C drive Windows 10, I get an access denied error message: error copying file or folder, access is denied. Is there any way to deal with this situation?"

error copying file or folder access is denied

If you are faced with an access denied file or folder error in your Windows system, you are not alone. Many Windows users have got it. This usually occurs when they are accessing or making changes to a file or folder. Sometimes the error appears when copying files or upgrading from a previous version of Windows. 

Part 1: What Causes This Access Denied Error

Before you are going to solve this problem, find out what causes this error will do you a favor.

  • Folder ownership has changed.
  • You do not have the appropriate permissions.
  • The file is encrypted.
  • The file is corrupted
  • There are bad sectors on the drive

From the factors above, we can fix the error respectively.

Part 2: How to Fix Access Denied Error When Copying Files (5 Solutions)

This annoying issue stops you from opening or copying the file or folder. And there may be some important data in that folder but you can’t access them now. But not to worry. Here are useful solutions that can help you fix this error or save your data:

To avoid data loss, using data recovery software to recover the data from the inaccessible folder and move it to another safe location.Go to Solution 5 for more details

Solution 1: Take the Ownership of the File or Folder 

If you recently upgraded your computer to Windows 10 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.

For Windows 10/8 users to take the ownership:

Step 1: Open "Windows Explorer" and locate the file/folder, right-click on it and select "Properties".

Take ownership of file or folder.

Step 2: Go to Security and click "Advanced", go to the "Owner" tab.

Fix 'You'll need to provide administrator permission to copy files or folder' error.

Step 3: If you want to change the owner to a user or group that is not listed: Click "Change" > "Other user and groups", and type the name of the user or group in "Enter the object name to select", then click "Check Names" > "OK".

Change owner to take a ownership of target files or folders.

Step 4: If you want to change a user or a group that is listed:

Click new owner in the "Change" to box and make changes.

Change a user.

Step 5: If you want to change the owner of all sub-containers and objects within the tree: Select "Replace owner on sub-containers and objects" box.

Change subcontainers to fix 'access denied' issue.

Try opening or making changes to the file or folder and see if the access denied error disappears.

For Windows 7 users to take the ownership:

Step 1: Right-click the problem file or folder. Then select "Properties".

Step 2: Click the "Security" tab, and then the "Advanced" button. This will open the Advanced Security Settings for this file or folder.

take the ownership in windows 7

Step 3: Click the "Owner" tab. Then click the "Edit" button to change the owner.

edit the ownership in windows 7

Step 4: Click the "Other users or groups" button to choose the user manually.

choose other users groups

Step 5: Type the account name to the box under. Enter the object name to select. Then click the "Check Names" button (to let the computer to enter the complete object name for you). After that, click "OK".

Step 6: Check "Replace owner" on the sub-containers and objects If you want to take the ownership of all the files and subfolders. Then click "OK". Click "OK" to apply the changes. Check and see if the error disappears.

Solution 2: Change File and Folder Permission (Give Full Control)

This error may be related to permission. Permissions determine whether you can access or change files and folders. You can try to get yourself permission:

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

Step 2: Click the "Security" tab.

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

In the "Group or user names" box, click your account name. Then, in the Permissions for Users box, select the "Allow" checkbox of "Full control" (this will allow you to have full control to access and modify this file or folder). After that, click "OK" to apply the changes.

give full control

You can open or modify the files or folders to check if this method works.

Solution 3: Decrypt the File or Folder

Encryption 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. When you are unable to copy files, you can check whether they are encrypted by following these steps:

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

Step 2: Click the "General" tab, then click "Advanced".

If the "Encrypt contents to secure data" checkbox is selected, you have to decrypt the file or folder to be able to open it.

Solution 4: Run CHKDSK Command 

If your hard drive has bad sectors, you may also encounter "access denied while copying files" error. Thus, you are suggested to run the CHKDSK command. It marks the bad sectors and prevents data corruption by fixing file system errors. 

Step 1: Press the "Windows" key and type cmd.

Step 2: Right-click "Command Prompt" and choose "Run as administrator".

Step 3: Enter the following command: chkdsk e: /f /r /x  ("e" means the drive letter of the partition you want to repair).

run chkdsk command

Step 4: After the process, try to access your folder to see whether it works or not.

CHKDSK Alternative

If you don't have any technical know-how and want to minimize data risks, using third-party software could be a better choice. The Command line is suitable for computer professionals since wrong commands can cause severe problems. Therefore, we strongly recommend you try an automatic command line alternative.

EaseUS Tools M is a practical computer fixing tool that is safe and light-weighted. It's a perfect alternative to CHKDSK command. Use this one-click tool to solve your computer issues.

To fix file system error or disk error:

Step 1: DOWNLOAD EaseUS Tools M for Free and install it.

Step 2: Open the software and select the "File showing" option. 

Step 3: Choose the drive and wait for repairing. After the operation completes, click the "View" button to check the drive. 

select the drive and check off file system error

Solution 5: Use Data Recovery Software to Access the Files

Corrupted files cannot work properly and these files can be of any file type like pictures, documents, system files, etc. Many corrupted files cannot be repaired or accessed. But you can still try EaseUS file recovery software to scan the location and restore as many files as possible. EaseUS has many highlights:

  • Recover deleted, formatted, and inaccessible data in different data loss situations.
  • Recover photos, audio, music, and emails from any storage effectively, safely and completely.
  • Recover data from the recycle bin, hard drive, memory card, flash drive, digital camera, and camcorder.

Try this software and access your files now.

Step 1. Select a location and start scanning.

Launch EaseUS Data Recovery Wizard, hover on the location(hard drive partition, external HDD, Card devices) where you lost data, then click "Scan".

select a location and click scan

Step 2. Preview and select the files.

Wait until the scanning completes. If you need to double-click the item to preview the file, then select the data you attempt to recover.

Choose files to recover

Step 3. Recover lost data.

Click "Recover", choose a location to save the recovered data, then click "OK". You should store the data in another place instead of the original one.

Recover lost data

To Sum Up

The solutions above are worthy of trying, no matter what causes this "access denied when copying files" error. What's more, the solutions can also solve other similar issues like LOCATION IS NOT AVAILABLE error

Was This Page Helpful?