Why does the error appear?
Before dealing with "Error Copying File or Folder. Access is denied" error, we can check out the following factors which help explain why this error happens.
The hard disk is set into read only mode by mistake or corrupted file system. When the hard drive is write-protected, you cannot make any operation on the disk.
The target disk is corrupted. If the target disk or partition is corrupted or damaged because of bad sectors or disk errors, it won't be able to read or write data anymore. Then the "Access is denied" error message might appear.
The file or folder ownership has changed. In some cases, if you lose the ownership of certain files or folders, you cannot move, copy, delete, edit or save data.
You don't have the appropriate permissions. Permissions are series of rules that determine if you can access the files and folders. If you don't have one, you cannot change your data as you want.
The files are encrypted. As for files that are encrypted by users for the sake of protecting data, you are not allowed to copy or move them to another location.
How can you fix "Error copying file or folder. Access is denied" issue?
From above, we know this issue can be caused by various factors, thus there should be more than one solution. So we will introduce a few different solutions and you can try them one by one until the "access is denied" problem fixed in Windows 10/8/7.
Attention: in order to ensure data security, please first using data recovery software to recover the data from the inaccessible folder and move it to another safe location.
Solution 1. Remove read only attributes from the hard drive
If you set the hard drive into read only mode by mistake, you can remove the write protection attribute via Command Prompt.
Step 1. Click "Start" button and type "cmd" in the "Search" box. Right click the Command Prompt icon and select "Run as administrator".
Step 2. In the elevated Command Prompt window, type "diskpart" and press "Enter" to launch this tool.
Step 3. Then type the following commands and press "Enter" after each one.
"list disk>select disk #>attributes disk clear readonly"
If your hard drive is write-protected because of corrupted file system, you can reformat it completely, which usually can be done via Windows native tools. If you meet format errors like "Windows was unable to complete the format", you can switch to AOMEI Partition Assistant Standard. This powerful disk formatting tool is free and compatible with 32-bit and 64-bit Windows 10/8/7. Free download it and have a try.
Step 1. Install and run the freeware. Right click the hard drive which has "Access is denied" problem and select "Format Partition".
Step 2. Choose a proper file system in this window and click "OK".
Step 3. Click "Apply" to commit the pending operation.
If lucky, you might solve the "Error copying file or folder. Access is denied" problem. If it persists, check the rest solutions.
Solution 2. Check disk status
When the disk has some disk errors or bad sectors, the "Access is denied" error might also appear. Then you can use CHKDSK tool to check and fix disk errors if possible.
First open the Command Prompt window (refer to solution 1). Then input "chkdsk g: /f /r /x". Please replace "g" with the drive letter of your disk.
If running commands is kind of complicated, you can also use AOMEI Partition Assistant Standard to perform the same operation.
Step 1. Right click the hard drive and select "Advanced" > "Check Partition".
Step 2. In this window, choose the first way to both check and fix errors on the partition, and click "OK".
Step 3. Then wait for the process to be completed.
Solution 3. Restore the file/folder ownership
If you recently upgraded your Windows 10/8/7 to a newer version, some of your account information may have been changed. Therefore, you may no longer have ownership of certain files or folders and meet the "access is denied" issue. So you can try to restore the ownership and see if this resolves the problem.
Attention: You should log on your operating system as an administrator before trying to restoring the ownership since only an administrator has the privileges to make advanced changes to the file or folder.
Step 1. Right-click the file or folder you cannot copy to another disk. Then select "Properties".
Step 2. Click the "Security" tab, and then hit on "Advanced" button. Then "Advanced Security Settings for this file or folder" window will appear.
Step 3. Click "Change" to change the owner.
Step 4. Input your account name in the box under "Enter the object name to select". Then click the "Check Names" button (and the computer will complete the object name for you). After that, click "OK".
The first two steps are same as the Windows 10/8.
Step 1. Click the "Owner" tab. Then click the "Edit" to change the owner.
Step 2. Click the "Other users or groups" to select the user manually.
Step 3. 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 4. 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".
Step 5. Click "OK" to save the changes and close the Properties dialog.
Finally, try opening or making changes to the file or folder and check if the access denied error is solved.
Solution 4. Change file and folder permission
When you don't have the proper permissions to read or change the files/folders, then the system will deny your access. You can try to get yourself a permission.
Step 1. Right click the problem file or folder. Then select "Properties".
Step 2. Click the "Security" tab, and then the "Edit" button. This will open the Permissions dialog for this file or folder in which you can change the permissions.
Step 3. In the "Group or user names" box, click your account name. Then, in the Permissions for Users box, select the "Allow" check box 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.
Step 4. Click "OK" to save all the changes and close the Properties dialog.
Now, you can try opening or modifying the files or folders to check if this method works.
Solution 5. Decrypt the file or folder
When you cannot copy files since the access is denied, 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".
Step 3. If the "Encrypt contents to secure data" check box is ticked, you have to decrypt the file or folder to be able to move or edit it.
To decrypted the folders or files, you just need to untick Encrypt contents to secure data check box, click "OK" and then "OK" again.
No matter what leads to "Error Copying Files or Folders. Access is denied" on your Windows computer, all the methods listed above are worth your trying. Obviously, AOMEI Partition Assistant offers easier solutions. Besides, it can also solve other similar issues like external hard drive access denied.
If you want to experience more amazing functions like migrating OS to SSD, converting boot disk between MBR and GPT without data loss, recovering lost partition, you can try AOMEI Partition Assistant Professional.