Sometimes when you try accessing a few files or folders, you may come across the error “File cannot be accessed by the system” which prevents you from accessing the files. This can occur for different reasons including file permissions, not enough space in the disk, pending updates, etc. Below are a few methods from which you can get rid of the issue. Choose the relevant method for your issue and fix it.
Method 1: Run as Administrator
If your account doesn’t have Administrator rights, sometimes you will be denied to access files and folders. You can change the account type and make it an administrator account and try to resolve the issue. Let us see how to change the account to an administrator account.
Step 1: In the search, window type Control Panel and click on Open.
Step 2: Click on Change account type under User Accounts.
Step 3: Select the account you want to change as Administrator.
Step 4: Click on the Change the account type.
Step 5: Once you are in the Change account type section, select the Administrator option and click on the Change Account Type.
Step 6: Restart your System. Now you are logged in as an Administrator and reverify whether the issue is resolved.
Method 2: Disable Services
Step 1: In the windows search box type System Configuration and Open it.
Step 2: Go to the Services tab and select the checkbox Hide all Microsoft services present at the bottom left corner and click on Disable all. Click on OK.
Step 3: Restart your System. Check whether the issue is resolved.
Method 3: Disk Cleanup
Step 1: In the windows search box, type Disk Cleanup and Open it.
Step 2: A dialog box will open, select C drive if you have more than one drive, and click on OK
Step 2: There appears another dialog box that contains all the temporary files. Select all the checkboxes and click on Clean up system files.
Step 3: If the dialog box appears again just select all the checkboxes, click OK and click on Delete Files in the confirmation popup message. This process will take a few minutes.
Step 4: Once done with the clean up Restart your computer and check whether you can access files and folders.
Method 4: Execute DISM command
Step 1: Press Win+X keys, and select Windows Terminal(Admin) option from the menu.
Step 2: In the PowerShell, terminal execute the below command and hit Enter. Wait for the process to complete.
DISM.exe /Online /Cleanup-image /Scanhealth
Step 3: Same way execute the below command in a new terminal and hit enter. This will also take a few minutes to complete.
DISM.exe /Online /Cleanup-image /Restorehealth
Step 4: Once done with the above execution Restart your computer.
Method 5: Update Windows
Step 1: Press Win + R keys, type ms-settings:windowsupdate, and click OK.
Step 2: Click on Install now to install the latest windows updates.
Step 3: When the update completes Restart your computer.
I hope one of the above methods worked for you and your issue is now been resolved. Please comment and let us know.
Software Engineer who is passionate about content writing.