{"id":25528,"date":"2024-07-04T23:02:21","date_gmt":"2024-07-04T23:02:21","guid":{"rendered":"https:\/\/gridinsoft.com\/blogs\/?p=25528"},"modified":"2025-07-09T01:16:58","modified_gmt":"2025-07-09T01:16:58","slug":"windows-cannot-access-the-specified-device-path-or-file-error","status":"publish","type":"post","link":"https:\/\/gridinsoft.com\/blogs\/windows-cannot-access-the-specified-device-path-or-file-error\/","title":{"rendered":"Windows Cannot Access The Specified Device, Path or File Error Fix Guide"},"content":{"rendered":"<p><strong>Windows Cannot Access The Specified Device, Path or File is a system error<\/strong> that users may encounter while trying to run a program or open a folder. The error obviously flags an issue that the system has encountered while following the command, which may happen for a selection of reasons. Here, I will explain all the potential sources of that error and ways to fix it.<\/p>\n<h2>Windows Cannot Access Error Overview<\/h2>\n<p>There are quite a few reasons for this issue to appear, and, as its name implies, the reason for this is <strong>the system facing troubles with accessing what you ordered it to access<\/strong>. Most commonly, it follows the attempt to run a program, open a certain directory or an attached drive. The deeper reason for all this is the malfunction of certain system settings, account permissions, or sometimes hardware. In rare cases, it is a rather intended behavior of the system, particularly when <a href=\"https:\/\/gridinsoft.com\/antivirus\">the security system<\/a> interrupts the normal operations.<\/p>\n<figure id=\"attachment_25553\" aria-describedby=\"caption-attachment-25553\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/windows-cannot-access-error.webp\" alt=\"Windows cannot access the specified device error\" width=\"510\" height=\"228\" class=\"size-full wp-image-25553\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/windows-cannot-access-error.webp 510w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/windows-cannot-access-error-300x134.webp 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><figcaption id=\"caption-attachment-25553\" class=\"wp-caption-text\">Typical example of the &#8220;Windows cannot access the specified device, path or file&#8221; error<\/figcaption><\/figure>\n<p>Fixing steps for the issue will therehence differ quite a lot, and the user may need to go through multiple solutions to find what exactly is wrong. Unfortunately, it is pretty hard to say what exactly caused the issue, if we are not talking about digging through event logs and similar complicated stuff. <strong>Below, you will find the comprehensive list of solutions<\/strong> that target pretty much any possible source of the Windows Cannot Access issue.<\/p>\n<p>Several specific cases of this error <a href=\"https:\/\/www.reddit.com\/r\/ValorantTechSupport\/comments\/16x02p2\/windows_cannot_access_the_specified_device_path\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">appear to refer<\/a> to some of the popular online games, namely Valorant and League of Legends. Users complained about the issue preventing the game from running, despite the game launcher working fine.<\/p>\n<h2>Windows Cannot Access The Specified Device, Path of File Ways to Fix<\/h2>\n<p>We begin with the least complicated fix options, as it is hard to get hold of realistic stats about which fix is the most effective. One should thoroughly follow the guide, as skipping steps can stop the solution from working.<\/p>\n<h3>Wait for an Update<\/h3>\n<p>In the actual case of Windows Cannot Access that I\u2019ve just described, the only working remedy was just to sit and wait <a href=\"https:\/\/gridinsoft.com\/patch\">for the fix to appear<\/a>. It may happen to pretty much any game, even the largest titles, and the developers will likely fix the problem in just a few hours. <strong>To be a good citizen, you can also report the issue<\/strong> on the game\/app forum, unless it is already reported.<\/p>\n<h3>Run App as Administrator<\/h3>\n<p>Yes, this obvious step may sometimes help with solving the Windows Cannot Access problem. Either the user can lack access permissions for a specific directory the file is located in, or the program tries to access one, having only user privileges. It is a particularly common case when the program works with system files, ones from the C:\\\\Windows folder.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/run-as-admin.webp\" alt=\"Run app as administrator\" width=\"932\" height=\"530\" class=\"aligncenter size-full wp-image-25549\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/run-as-admin.webp 932w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/run-as-admin-300x171.webp 300w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/run-as-admin-768x437.webp 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/p>\n<h3>Reinstall the Program<\/h3>\n<p>Among the most efficient advice for solving the Windows Cannot Access issue that happens to a specific program <strong>is to simply reinstall it<\/strong>. If the files were corrupted, any attempt to run the program will lead to the system stumbling on these bad files and showing the said pop-up notification.<\/p>\n<div class=\"su-note\"  style=\"border-color:#e4e4ce;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fefee8;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">Important! Do not try downloading any \u201cfixes\u201d for these bad files. Locating the problematic file may be tedious, and trying to source it from third party sites instead of the program installer is just yet another source of problems.<\/div><\/div>\n<h3>Create a New Shortcut<\/h3>\n<p>A particularly common case for this error to happen is when the user tries to run a program through a shortcut, but the executable file\u2019s address has changed. Thus, the shortcut tries to run a non-existent file, causing errors. And to make it work properly, one should create this shortcut from scratch.<\/p>\n<p>Open the folder of a program (or a file) you are trying to open. There, <strong>find the executable file (.exe extension)<\/strong> or the file you need, click it with the right mouse button, and find \u201cCreate shortcut\u201d. For Windows 11, you may need to click the \u201cShow more options\u201d button to show the extended menu with this function.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/create-shortcut-1.png\" alt=\"Create shortcut menu\" width=\"551\" height=\"647\" class=\"aligncenter size-full wp-image-25550\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/create-shortcut-1.png 551w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/create-shortcut-1-255x300.png 255w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/p>\n<h3>Check for Correct Software Location<\/h3>\n<p>Similarly to the shortcut issue, you may have placed the software or a file you are trying to run on an attachable drive. All the shortcuts in this case will be functioning until you plug off the drive. If you have attachable drives, consider plugging them into the system and trying again. This is especially probable if you were installing certain software from that drive: programs often default to their installer directory.<\/p>\n<h3>Stop Third-Party Security Software<\/h3>\n<p>Among the other reasons for Windows having troubles accessing certain folders and files may be <strong>the interference from third-party software<\/strong>. In particular, antivirus programs are capable of disrupting access to certain folders \u2013 both when they are performing the scan or when the folder <a href=\"https:\/\/gridinsoft.com\/malware\">is considered malicious<\/a>. Removing this block is possible only through stopping the antivirus from running.<\/p>\n<p>Find it among the programs in the system tray, click the icon with the right mouse button, and choose \u201cExit\u201d (or a similar option). This should stop the antivirus from running, at least until the next system reboot.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/stop-antimalware.png\" alt=\"Stop antivirus program\" width=\"323\" height=\"213\" class=\"aligncenter size-full wp-image-25551\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/stop-antimalware.png 323w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/stop-antimalware-300x198.png 300w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><\/p>\n<h3>Disable PUA Protection<\/h3>\n<p>One more problem that stems from antivirus software, particularly from Microsoft Defender, <strong>is the app being blocked with the PUA protection feature<\/strong>. As the name suggests, it aims at preventing <a href=\"https:\/\/gridinsoft.com\/unwanted-program\">unwanted apps<\/a> from running. Thing is \u2013 MS Defender is not ideal and may have false positives, leading to a genuine app being blocked.<\/p>\n<p>To solve this, you can either create MS Defender exclusion or disable the corresponding option in the Settings. The first one is recommended, as disabling the entire protection block for running a single app is a bit of an overkill. Open Windows Security, go to <strong>Virus and Threat Protection and click \u201cManage Settings\u201d<\/strong>.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/ms-def-exclusions.webp\" alt=\"Add exclusions Windows Cannot Access\" width=\"1000\" height=\"745\" class=\"aligncenter size-full wp-image-25552\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/ms-def-exclusions.webp 1000w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/ms-def-exclusions-300x224.webp 300w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/ms-def-exclusions-768x572.webp 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Here, scroll all the way down to find Exclusions, and click <strong>Add or Remove Exclusions<\/strong> button to continue. The menu that follows is rather simple to use: just click the button and paste the location of the file that you cannot open correctly.<\/p>\n<h3>Upgrade File Permissions<\/h3>\n<p>In certain cases, it is not user permissions that do not allow the program to reach specific locations, but the lack of permissions of the program itself. This may happen particularly often in the systems that have multiple users . Fortunately, to solve this, you don\u2019t need to make any significant changes \u2013 just give the file additional permissions. Click the file that caused the Windows Cannot Access issue with the right mouse button, go to <strong>Properties \u2192 Security<\/strong>, and click on the account you are currently using. Now, deselect all the checkboxes from the column titled \u201cDeny\u201d (to the right).<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/file-properties.webp\" alt=\"Upgrade file permissions\" width=\"540\" height=\"699\" class=\"aligncenter size-full wp-image-25554\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/file-properties.webp 540w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/file-properties-232x300.webp 232w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/p>\n<p>This should disable any restriction that may stop the system from accessing the files and showing the error notification.<\/p>\n<h3>Enable Admin Permissions in Gpedit<\/h3>\n<p>In a selection of cases, the reason for the Windows Cannot Access error is the lack of user privileges. While this may be solved locally, for specific apps, as I\u2019ve just shown above, the best option is <strong>to grant max permissions for all the user actions<\/strong>. To do this, you would need to go through the Group Policies Editor.<\/p>\n<div class=\"su-note\"  style=\"border-color:#e4e4ce;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fefee8;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">Important: Group Policies Editor is available ONLY in Windows 10\/11 Pro and Enterprise editions. Home, Educational and other editions have the Editor blocked, making this part of the guide impossible to accomplish.<\/div><\/div>\n<p>Click Win+R and type \u201cgpedit.msc\u201d \u2013 this will open the Group Policy Editor. Here, go to Local Computer Policy \u2192 Computer Configuration.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions1.webp\" alt=\"Group Policies user permissions to admin\" width=\"1528\" height=\"1074\" class=\"aligncenter size-full wp-image-25557\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions1.webp 1528w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions1-300x211.webp 300w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions1-1024x720.webp 1024w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions1-768x540.webp 768w\" sizes=\"auto, (max-width: 1528px) 100vw, 1528px\" \/><\/p>\n<p>In this menu, find the <strong>Admin Approval Mode for Built-In Administrator<\/strong>. This policy is what allows us to skip the addiitonal approvals and execute all the programs with admin permissions even for regular users. Set its value to Enabled, then press Apply and Ok. Reboot for the changes to take effect, and try running the file again.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions2.webp\" alt=\"Group Policies user permissions to admin\" width=\"1538\" height=\"1084\" class=\"aligncenter size-full wp-image-25558\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions2.webp 1538w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions2-300x211.webp 300w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions2-1024x722.webp 1024w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions2-768x541.webp 768w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/gpedit-user-permissions2-1536x1083.webp 1536w\" sizes=\"auto, (max-width: 1538px) 100vw, 1538px\" \/><\/p>\n<h3>Check for Source Disk Integrity<\/h3>\n<p>One particular reason for the files corruption described in one of the paragraphs is disk issues. Despite how reliable modern disks are, there is still <strong>a possibility of it having a bad sector or cell<\/strong>. This step is not that much about fixing the existing issue rather than detecting the source and preventing it in future.<\/p>\n<figure id=\"attachment_6272\" aria-describedby=\"caption-attachment-6272\" style=\"width: 512px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2018\/07\/victoria-hdd.jpg\" alt=\"Victoria HDD\" width=\"512\" height=\"405\" class=\"size-full wp-image-6272\" title=\"\" srcset=\"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2018\/07\/victoria-hdd.jpg 512w, https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2018\/07\/victoria-hdd-300x237.jpg 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><figcaption id=\"caption-attachment-6272\" class=\"wp-caption-text\">The interface of a disk check-up utility. Green and orange tiles on the image say about the disk damage.<\/figcaption><\/figure>\n<p>Pick a disk check tool of your choice and scan all of your drives. I particularly recommend <a href=\"https:\/\/hdd.by\/victoria\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">a free Victoria HDD <\/a>tool \u2013 a renowned software of this kind. Presence of sectors with significant access delay, or even outright bad sectors is what you may blame for the Windows Cannot Access issue. Most of the disk scanning software also offers to fix the issue by remapping the drive, so you will be able to fix all the issues without going for a lot of software. This, however, is far from being the only possible source of the problem.<\/p>\n<h3>Reinstall Windows<\/h3>\n<p>There are cases when the Windows Cannot Access error <strong>is an outcome of some severe system malfunctions<\/strong>. You can understand that this is the case when, aside from this error, <strong>you see your system going completely crazy<\/strong>: missing menus, reboots, random BSODs and overall bad system performance. In that case, all the aforementioned methods are unlikely to work, simply because the problem is deeper than file locations or misconfigurations. And the only and the best remedy here is to perform a clean system installation.<\/p>\n<p>You can opt for the reinstallation way you like: clean install from a thumb drive, using restore point or a backup, or else. I will only warn you against downloading system images from third-party sites, due to the risk of new problems or even malware.<\/p>\n<h2>Can the Windows Cannot Access Error be a Virus Sign?<\/h2>\n<p><strong>Yes, this error may be caused by malware activity.<\/strong> Quite a few samples of malicious software mess up with system and software settings, in order to arrange their own needs. In particular, such activity is characteristic to spyware, <a href=\"https:\/\/gridinsoft.com\/backdoor\">backdoors<\/a>, dropper malware and sometimes ransomware. Most of them are rather hard to notice without specialized software, so I recommend scanning the system with GridinSoft Anti-Malware.<\/p>\n<p style=\"padding-top:15px;padding-bottom:15px;\"><a href=\"\/download\/antimalware\" rel=\"nofollow\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" src=\"\/blogs\/wp-content\/uploads\/2022\/07\/env02.webp\" alt=\"Windows Cannot Access The Specified Device, Path or File Error Fix Guide\" width=\"798\" height=\"336\" class=\"aligncenter size-full\" title=\"\"><\/a><\/p>\n<p>Please note that malware removal does not always fix the issue. Settings that have changed will remain the same, and one may need to go through the steps from above to get the system functioning correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Cannot Access The Specified Device, Path or File is a system error that users may encounter while trying to run a program or open a folder. The error obviously flags an issue that the system has encountered while following the command, which may happen for a selection of reasons. Here, I will explain all [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":25562,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[1549],"tags":[1523,330,457],"class_list":{"0":"post-25528","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-troubleshooting","8":"tag-tutorials","9":"tag-windows-10","10":"tag-windows-11"},"featured_image_src":"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2024\/07\/windows-cannot-access-device-path-directory-error.webp","author_info":{"display_name":"Stephanie Adlam","author_link":"https:\/\/gridinsoft.com\/blogs\/author\/adlam\/"},"_links":{"self":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts\/25528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/comments?post=25528"}],"version-history":[{"count":3,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts\/25528\/revisions"}],"predecessor-version":[{"id":25561,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts\/25528\/revisions\/25561"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/media\/25562"}],"wp:attachment":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/media?parent=25528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/categories?post=25528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/tags?post=25528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}