一些Windows错误非常常见。您可能会不时遇到它们。打开 .exe 文件时您可能会遇到的一个此类错误是:
Windows 无法访问指定的设备、路径或文件,您可能没有访问该项目的适当权限。

此错误消息可能与 svchost.exe、regsvr.exe、spoolsv32.exe、taskmgr.exe、sys.exe、rundll.exe、explorer.exe、csrss.exe、winupdate.exe 甚至任何 .exe 程序等文件有关您可能已在Windows计算机上安装的软件文件。
也许这些系统文件已因恶意感染而损坏,并且您的防病毒软件可能已删除系统文件,因为您的 PC 已被其中一个恶意程序感染 - 原因可能很多。如果是系统文件造成了问题,那么运行系统文件检查器(System File Checker)可能是一个好主意。
您没有指定路径的读取或写入权限
以下是一些故障排除步骤,您可以尝试修复错误。但您必须首先确保文件不在当前可访问的位置,例如网络位置或当前未连接到 PC 的外部驱动器等。此外,请检查文件是否已移动或删除。
1]检查权限
检查您是否有权( permissions)打开该文件。如果需要以管理员身份运行(Run),看看是否有帮助。否则(Else),您可能必须拥有该文件的所有权(take ownership of the file)。您可以使用我们的Ultimate Windows Tweaker轻松完成此操作。Ultimate Windows Tweaker可让您轻松地将“获取(Take)文件(Files)和文件夹(Folders)的所有权”选项添加到Windows 11/10。
提示(Tip):RegOwnit 让您可以完全控制和拥有 Windows 注册表项(take full control & ownership of Windows registry keys)。
2]检查快捷方式
如果它是您单击以打开文件的快捷方式(shortcut),您可能需要检查目标文件是否仍位于目标位置。如果是,那么快捷方式本身可能已损坏。删除它并创建一个新的快捷方式。
3]确保文件没有被删除
浏览(Browse)到文件的位置并确保文件存在,因为如果文件已被移动,您可能会收到此错误。
4]快捷方式损坏
也许快捷方式已损坏。重新创建并查看。
5]检查位置
检查您是否尝试访问当前不可用的位置,例如联网或可移动驱动器。
6]此文件来自另一台计算机,可能会被阻止以帮助保护这台计算机

如果该文件是从Internet下载的,请右键单击该文件并打开“属性”。
在“常规(General)”选项卡的底部,您将看到归类为“安全性:此文件来自另一台计算机,可能会被阻止以帮助保护这台计算机”(This file came from another computer and might be blocked to help protect this computer)。
点击取消阻止(Unblock)。Click Apply > OK。这应该会有所帮助。
相关(Related):您需要在 Windows 11/10 上执行此操作的权限。
7]检查(Check)您的防病毒软件是否阻止了文件
您可能还想检查您的防病毒软件(antivirus software)是否由于某种原因阻止了该文件。如果您确信该文件是安全的,请暂时禁用您的安全软件,然后尝试打开该文件。
I hope something helps you!
Windows cannot access the specified device, path or file
Some Windows errors are very сommonly encountered. You may encounter them every once in a while. One such error you may come across while openіng a .exe file is :
Windows cannot access the specified device, path or file, You may not have the appropriate permissions to access the item.

This error message can be related to files like svchost.exe, regsvr.exe, spoolsv32.exe, taskmgr.exe, sys.exe, rundll.exe, explorer.exe, csrss.exe, winupdate.exe or even any .exe program file of software you may have installed on your Windows computer.
Maybe these system files have got corrupted due to malicious infections and maybe your antivirus may have deleted the system file because your PC was infected by one of the malicious programs – the reasons could be many. If it’s a system file that is creating a problem, running the System File Checker might be a good idea.
You don’t have read or write permission to the specified path
Here are a few troubleshooting steps you may try to fix the error. But you will have first to ensure that the file is not in a location that is currently accessible, like maybe a network location or an external drive that is not currently connected to the PC, etc. Also, check that the file has been moved or deleted.
1] Check the permissions
Check if you have permissions to open the file. If required Run as administrator and see if it helps. Else you may have to take ownership of the file. You may use our Ultimate Windows Tweaker to do so easily. Ultimate Windows Tweaker will let you add the Take ownership of Files and Folders option easily to even Windows 11/10.
Tip: RegOwnit lets you take full control & ownership of Windows registry keys.
2] Check the shortcut
If it is a shortcut that you are clicking on to open the file, you may want to check if the target file is still located at the destination. If yes, then maybe the shortcut itself may have got corrupted. Delete it and create a new shortcut.
3] Ensure that the file has not been deleted
Browse to the location of the file and make sure the file exists, because you can receive this error if the file has been moved.
4] Shortcut corrupted
Maybe the shortcut has become corrupted. Recreate it and see.
5] Check the location
Check if you are attempting to access a location that is not currently available such as a networked or a removable drive.
6] This file came from another computer and might be blocked to help protect this computer

If the file has been downloaded from the Internet, right-click on the file and open Properties.
Under the General tab, towards the bottom you will see classified under Security: This file came from another computer and might be blocked to help protect this computer.
Click on Unblock. Click Apply > OK. This should help.
Related: You need permission to perform this action on Windows 11/10.
7] Check if your antivirus software is blocking the file
You may also want to check if your antivirus software is blocking the file for some reason. If you are convinced that the file is safe, temporarily disable your security software and then try to open the file.
I hope something helps you!