Few Windows errors are as frustrating as the “Windows cannot access the specified device” message, which prevents you from opening files or running applications. This error can appear for many reasons, from simple permission issues to file corruption or driver conflicts.
The pleasant news is that it's usually simple to fix. If you're dealing with this problem, keep reading for proven methods to get your PC back on track.
In this article
Part 1. Why Windows Cannot Access the Specified Device, Path, or File

The message can appear when you launch an app, open a local file, use a shortcut, access a USB drive, or connect to a network location. Microsoft troubleshooting guidance commonly points to a few recurring causes: incorrect permissions, an unavailable location, a broken shortcut, or a damaged application or file.
| What you see | Most likely cause | Best first action |
| A shortcut suddenly stops opening | The target was moved, renamed, deleted, or stored on a disconnected drive | Open the original location and recreate the shortcut |
| Only one file or folder is blocked | Permissions or a downloaded-file security block | Review Security permissions and the Unblock option |
| An EXE or installer will not run | Windows Security, antivirus software, or administrator restrictions | Verify the file source, then review security blocking |
| Many files or apps suddenly fail | System corruption, profile problems, or security policy changes | Run system-file checks and isolate recent system changes |
| The file path is valid but the file itself is unreadable | The file may actually be corrupted | Confirm the format and try file repair only after access issues are ruled out |
Part 2. 7 Fixes for Windows Cannot Access the Specified Device
Start with the simplest explanation first. Avoid changing permissions broadly or disabling security protection until you know what Windows is actually blocking.
1. Confirm the File or Program Location
If Windows cannot reach the target location, changing permissions will not help. This is especially common with shortcuts, USB drives, external disks, and network paths.
Step 1: Right-click the affected file or shortcut and select Properties.
Step 2: Check the path shown in the General or Shortcut tab.
Step 3: Open File Explorer and navigate to that location manually. Reconnect the external drive or network location if needed.

If the shortcut points to a file that was moved or renamed, create a new shortcut from the current location.
2. Check File or Folder Permissions
If the location exists but your account cannot open it, inspect the permissions assigned to your Windows account.
Step 1: Right-click the file or folder and select Properties.

Step 2: Open the Security tab and select your user account.
Step 3: Review the allowed permissions. If legitimate access is missing and you are authorized to change it, select Edit and grant only the permissions you actually need.

On work or school computers, Group Policy or administrator rules may intentionally restrict access. In that case, do not override the policy yourself; contact the system administrator.
3. Run the Program as Administrator
If the error appears only when launching a trusted program, insufficient application privileges may be the problem.
Step 1: Right-click the program or executable file.
Step 2: Select Run as administrator.

If this works, you have confirmed a permissions-related issue. If it does not, continue with the next checks rather than repeatedly forcing administrator access.
4. Unblock a Downloaded File
Windows may mark files downloaded from the internet as potentially unsafe. When that happens, the file can be present and readable but still blocked from running.
Step 1: Right-click the file and select Properties.
Step 2: Under the General tab, look for an Unblock option.
Step 3: Select Unblock, click Apply, and try opening the file again.

Only unblock a file if you trust its source.
5. Review Windows Security or Antivirus Blocking
Security software can prevent an executable or file from opening when it is flagged as suspicious. Before disabling protection, first review the quarantine, protection history, or blocked-app list.
If you use third-party antivirus software, check whether the affected file has been quarantined or denied. Add an exception only when you have verified that the file is safe. Avoid leaving real-time protection disabled after testing.
The original article used System Configuration and Task Manager to disable antivirus startup items:



For current Windows systems, use these only as diagnostic steps and re-enable any protection or startup item you disabled once testing is complete.
6. Recreate the Shortcut or Repair the App
If a shortcut is corrupted, delete the shortcut and create a new one from the original file or executable. If the error occurs only with one installed application, use Windows app repair or reinstall that application from its trusted source instead of changing system-wide permissions.
Temporary app data can also cause launch failures. If the affected program stores disposable cache data in %localappdata%, clearing only that program's cache may help.


Do not delete an entire AppData folder. Remove only clearly identified cache files for the affected application.
7. Repair Windows System Files
If the error affects many unrelated files or applications, damaged Windows system files may be involved. Open Command Prompt or Windows Terminal as administrator and run:
sfc /scannow
If SFC reports problems it cannot fully repair, run:
DISM /Online /Cleanup-Image /RestoreHealth
Restart Windows after the scan completes and test the affected file or program again.
Part 3. Repair a Corrupted File That Windows Cannot Open
If the path exists, your account has access, Windows Security is not blocking the file, and other files in the same location open normally, the file itself may be damaged. In that narrower situation, Repairit File Repair can help repair supported corrupted documents and archive files.
Repairit should not be used as a substitute for fixing Windows permissions, network paths, antivirus restrictions, or missing files. Use it only after those access problems have been ruled out. For supported file types, you can also repair specific formats such as corrupted Word files, damaged Excel workbooks, corrupted PowerPoint presentations, damaged PDF files, and corrupted ZIP archives. The broader Wondershare Repairit product family also covers supported media and document repair scenarios.
Step 1: Open Repairit, choose File Repair, and add the corrupted file you cannot open.


Step 2: Select Repair and allow Repairit to analyze the added file.

Step 3: Preview the repaired result when preview is available, then save the repaired file to a different folder from the damaged source.

Part 4. Prevent the Error from Returning
- Keep Windows and security software updated.
- Do not move or rename files that important shortcuts depend on.
- Reconnect external or network storage before opening files stored there.
- Download installers and executable files only from trusted sources.
- Avoid granting Full Control permissions to broad user groups unless it is genuinely necessary.
- Back up important files before editing permissions, reinstalling software, or repairing corrupted data.
Conclusion
“Windows cannot access the specified device, path, or file” is primarily an access problem, not automatically a corruption problem. Start by confirming the file location, permissions, security blocking, and shortcut or application state. If the error affects many programs, repair Windows system files. Only after the access path is valid and the file itself still refuses to open should you treat file corruption as the likely cause and use a compatible repair tool.
FAQ
-
Why does Windows say it cannot access the specified device, path, or file?
The message can appear when your account lacks permission, the file is blocked by security software, the path no longer exists, a shortcut is broken, or the file or application itself is damaged. Check the location and permissions before assuming the file is corrupted. -
How do I fix “Windows cannot access the specified device” in Windows 10?
Confirm that the file or program still exists, review its Security permissions, try Run as administrator for a trusted application, unblock downloaded files when appropriate, and review antivirus or Windows Security blocking. If the problem affects many apps, run SFC and DISM. -
Why does the error appear only when I use a shortcut?
The shortcut may point to a file that was moved, renamed, deleted, or stored on a disconnected drive. Open the original location and recreate the shortcut using the file's current path. -
Can antivirus software cause the Windows access error?
Yes. Security software can block or quarantine files it considers suspicious. Review the protection history or quarantine first, and add an exception only if you have verified that the file is trustworthy. -
Can Group Policy block access to a file or program?
Yes. Work and school computers may use Group Policy or application-control rules to restrict files, programs, drives, or PowerShell. If the restriction is managed by your organization, contact the administrator rather than trying to bypass it. -
Can Repairit fix “Windows cannot access the specified device, path, or file”?
Repairit does not fix Windows permissions, missing paths, antivirus restrictions, or Group Policy. It can help only when the affected file itself is corrupted and its format is supported by Repairit File Repair.