How to fix the "File Cannot Be Accessed by the System" Error

Usually, you need to access a file on the computer to deal with it. However, you may receive an error like the file cannot be accessed by the system which will prevent you from dealing with the target file. How to get rid of this issue to use the file as usual again? You can read this post to obtain some available solutions.

Error 0x80070780

Sometimes, when you want to access a file, you may receive a window with a message saying Error 0x80070780: The file cannot be accessed by the system. This error can happen in different situations, such as creating/deleting/copying/renaming a file on your computer.

When receiving this window, you can click on the Try Again button to try to execute the same operation again. Or you can just press the Cancel button to quit the operation directly.

Most of the time, you will still get this error 0x80070780 after pressing the Try Again button.

The Main Causes of Windows error 0x80070780

Error 0x80070780: the file cannot be accessed by the system always happens due to these reasons:

  1. Corrupted or damaged System files.
  2. Hard disk errors or bad sectors.
  3. The file or directory is corrupted and unreadable.
  4. Virus or malware infection.

Fortunately, there are corresponding solutions to fix the above issues, and we will show you the detailed fixes in the next part.

However, in most cases, you don’t know what the exact reason of the file cannot be accessed by the system error is. Thus, you can try the following solutions one by one to get rid of the error code 0x80070780.

Solutions to the File Cannot Be Accessed by the System Error Solution 1: Use the System File Checker to Fix Corrupted or Damaged System Files

One of the top reasons for the file cannot be accessed by the system error is the corrupted or damaged system files. In this situation, you can use the System File Checker to fix them.

Step 1: To run the System File Checker tool (SFC.exe), you need to enter Command Prompt firstly.

If you are running Windows 8/8.1:

Please point to the lower-right corner of the screen, and then click on the Search option where you need to input Command Prompt. From the search result, you need to right-click on Command Prompt and then choose Run as administrator. Then, you may need to input the administrator password or receive a confirmation, just input the password or click on Allow to continue.

If you are running Windows 10/7/ Vista:

Please click on Start and then type Command Prompt or cmd into the Search box. Then, right-click on the Command Prompt option and choose Run as administrator. When you are prompted for an administrator password or a confirmation, just type the password or click on the Yes button.

Step 2: If you are using Windows 10/8.1/8, please firstly run the inbox Deployment Image Servicing and Management (DISM) tool before running the System File Checker.

To use the DISM tool, you need to type the following command and press the Enter button:

DISM.exe /Online /Cleanup-image /Restorehealth

Step 3: Type sfc /scannow command into the Command Prompt and press the Enter button.

Then, the sfc /scannow command will begin to scan all the protected system files and replace the corrupted files with a cached copy which is located in a compressed folder at %WinDir%\System32\dllcache. Here, %WinDir% represents the Windows operating system folder like C:\Windows.

It will take a while to finish the scan process. Please be patient.

Step 4: When the verification ends, you will see the scan result:

1. Windows Resource Protection did not find any integrity violations.

It means that there are no damaged or corrupted system files.

2. Windows Resource Protection could not perform the requested operation.

To deal with this issue, you need to use System File Checker scan in safe mode to guarantee that the PendingDeletes and PendingRenames folders are there under %WinDir%\WinSxS\Temp.

3. Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

This means that the corrupted system files have already been fixed, and you can go to check whether the file cannot be accessed by the system error still exists.

4. Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

When you see this message, you need to manually replace the corrupted sys… copy of the file.

Solution 2: Check and Repair Bad Sectors & Disk Errors

If solution 1 doesn’t work for you, this means that the damaged or corrupted system files are not the exact reason for Error 0x80070780: The file cannot be accessed by the system issue.

Now, you need to consider if there are bad sectors or disk errors on the drive. If yes, you need to take some measure to shield the bad sectors or fix the errors on the drive.

The best choice is to use CHKDSK to check and fix the issue. Suppose that drive G: encounters error code 0x80070780.

Step 1: Still, you need to enter Command Prompt. The access way is mentioned in solution 1 and we will not repeat it here.

Step 2: Please type chkdsk g: /f /r in the Command Prompt window and then tap the Enter key. Here, g stands for the target drive letter. Of course, you need to replace it with your own one.

You can close this window when the checking and fixing process ends. After, you should go to check whether the file cannot be accessed by the system issue still exists.

Solution 3: Use Anti-virus Software

The infected viruses or malware can also cause Windows error 0x80070780 issue. So, you can search for reliable anti-virus software on the internet, download and install it on your computer to kill the viruses and malware.

Viruses and malware may make you lose some important files on your computer. If unfortunately, this issue happens, you can use a free file recovery tool to restore these data. MiniTool Power Data Recovery is such an option. You can use the trial edition of this software to check whether it can find the files you want to recover.

This program has four recovery modules, and they are This PCRemovable Disk DriveHard Disk Drive, and CD/DVD Drive. With them, you can recover deleted files from different kinds of data storage devices like internal hard drives, external hard drives, SD cards, memory cards, and more.

So, want to restore files deleted by virus attack? Please try this software to help you out.

Solution 4: Recover Files from the Drive and Format It to Normal

The last choice for you to resolve Windows error 0x80070780 issue is to format the faulty drive. However, you must know that format will make you lose all files on the target drive. Thus, you’d better move all the files on the drive to a safe location before formatting the drive.

What if cannot copy file error 0x80070780 occurs? You will need to ask the professional data recovery software - MiniTool Power Data Recovery for help.

Move 1: Recover data with MiniTool

Download MiniTool Power Data Recovery Trial Edition from the MiniTool official site to have a try.

Suppose that you want to recover data from drive G:.

Step 1: Open the software, and you will enter This PC module directly. This recovery module is just the target module you need to use to restore data from drive G: on your computer. Thus, just stay here, choose the drive G: from the drive list and click on the Scan button to start the scanning process.


On this interface, you can use the Settings option to only check the data types you want to recover. If it is necessary, you can press this button to enter the Scan Settings interface and make some selections accordingly.


Step 2: It will take a while to complete the scanning process. When it ends, you will see the scan result as follows. Normally, the scanned files are listed by path. You can open each path and unfold every folder to find the files you want to recover.\


Perhaps, it is not an easy work to find your needed files by path. While this software offers you some other features which can assist you to locate the target files quickly: Type and Find.

  • When you tap Type option, the software will show you the scanned files by their types. Then you can find the target files quickly.
  • When you press Find feature, you can enter the file’s name you want to recover and locate it directly.

Step 3: Since you are using the trial edition of this software, you are not allowed to save your wanted files. But, a full edition allows you to do this job. After getting a license key, you can register this software, check your needed files and save them to a safe location smoothly. If you are a personal user, the Personal Deluxe edition can fully meet your need.

Now, your important files are kept well to another location. You can feel free to format the drive to the normal state.

Move 2: Format the drive to the normal state

The format process is quite simple.

Step 1: Please go to Windows Explorer > This PC. Then, you can see the Devices and drives list. Next, right-click on drive G: and choose Format from the popup menu.

Step 2: The format window will appear. You can choose the file system, allocation unit size, and format method. After that, you need to press the Start button to begin the formatting process.

Step 3: When the process finishes, please click on the OK button and then press the Close button to quit the window.

If there is no other problem, this file cannot be accessed by the system issue should be solved.

News From

MiniTool Solution - data recovery and partition management industryMiniTool Solution
Category: Data Recovery ServicesCompany about: MiniTool Solution Ltd. is a software development company based in Canada. As a dedicated software development company, MiniTool Solution Ltd. provides customers with complete business software solutions in the data recovery and partition management industry.
This email address is being protected from spambots. You need JavaScript enabled to view it.