Read time 6 minutes

Typically, users encounter no issues when installing and opening software, files, or folders on the Windows operating system. They usually start working smoothly right after installation. However, there are instances when users experience challenges when trying to launch a file.

Sometimes, an error is displayed when you try to install, update or start a file or program:
“Windows cannot access the specified device path or file.”

In this article, we will be discussing what causes this error and how to fix it.

What causes this error?

This error of “Windows cannot access the specified device path of file” is caused on your system due to the following reasons-

  1. You do not have the permissions to access the file.
  2. The location of the file or folder is currently inaccessible.
  3. The file might be blocked by the Windows operating system.
  4. The antivirus installed on your system may be restricting the access.
  5. The shortcut to the file is corrupted.
  6. The particular file or folder has been moved to a different location or deleted.
Methods to fix error “Windows cannot access the specified device path or file”
  1. Check the permissions of the file or folder
    One of the reasons for not being able to access the specific file or folder can be that its permissions have changed. Permissions are directive which determines who can access it and what operations can be done on it. Firstly, enable all the permissions for the file, and that will resolve the error. Please ensure you are an administrator or part of the domain admins group.
  2. Follow these steps to check the permission of the file or folder-

    1. Right-click on the file which is showing the error and go to ‘Properties’.
    2. Move to the ‘Security’ tab. Check the permissions that you have.
      Properties
    3. Click on ‘Edit’ to change the permission boxes and select ‘OK.’
      Click on ‘Edit’
  3. Check the file location
    The file location refers to the destination where the particular file is saved. The error ‘Windows cannot access the specified device path or file’ may occur if the file is saved in a non-existent location like a removable drive or external hard drive, which is not plugged into the system.
  4. Follow these steps to identify the file location-

    1. Right-click on the file and go to ‘Properties.’
    2. Under the ‘General’ tab, check for the ‘location’ of the file.
      check for the ‘location’ of the file
  5. Unblock the file
    Windows tend to block the file when it is coming from an unverified source. This is done entirely to protect the system from any potential threats and risks.
  6. Follow these steps to unblock the file-

    1. Right-click on the file and select ‘Properties.’
    2. Under the ‘General’ tab, select ‘Unblock’ if the option is available.
      select ‘Unblock’
  7. Disable the antivirus program
    There are times when antivirus interprets secure files as threats. Please make sure to check if the antivirus is blocking that particular file which further causes the error ‘Windows cannot access the specified device path or file.’
  8. Follow these steps to disable the antivirus from the system-

    1. Open ‘Task Manager’ on your system click on ‘More details.’
      Task Manager
    2. Go to the ‘Startup’ tab.
      ‘Startup’ tab
    3. Right click on the antivirus application and click on ‘Disable’.
  9. Check the file shortcut
    This error can also occur when the file shortcut fails in opening the actual file. The reason could be that the files have gone corrupt or the file doesn’t even exist. However, you can create a new short and try.
  10. Follow the simple process to check for the file shortcut-

    1. Right click anywhere on the desktop.
    2. Select ‘New’ and then go to ‘Shortcut.’
    3. Click on the ‘Browse’ option to locate the file which is showing that error. Click on ‘Next’.
      ‘Browse’ option
    4. Enter a name for this shortcut and click on ‘Finish.’
      Create shortcut
  11. Make certain that file has not been moved
    The error “Windows cannot access the specified device path or file” can also take place if the file has been deleted or moved to a different location. Please make sure that the file is in the same location as before.
How to recover the file if it is missing?

In case the important files and documents go missing, it is recommended to use a professional recovery tool. The Kernel for Windows Data Recovery software is one such tool a which serves the purpose with utmost efficiency. It is even capable of recovering data from flash drive or any other external drive.

Kernel for Windows Data Recovery software
It is a premium recovery software due to the following reasons-

  1. It helps to restore inaccessible or deleted files, documents, and folders from corrupted and removable drives. In fact, it can recover deleted data from Windows 10 operating system.
  2. It has 3 scanning modes- Quick, Deep, and File Trace, which can be used according to the level of corruption.
  3. It is supported by all Windows operating system versions.
  4. You have the liberty to choose the file location of the recovered documents.
  5. It is capable of recovering all types of file formats.

Conclusion

Sometimes, Windows is not able to open a file, document, or folder and shows the error “Windows cannot access the specified device path or file.” But there is no need to panic as it can be easily resolved manually in different ways. In some circumstances, if the files and folders get missing or deleted, they can be easily recovered using the Kernel Windows Data Recovery software.

Kernel for Windows Data Recovery