New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error could not open media. It may be in use by another process" with Windows 10 Insider Build 10547 #605
Comments
Thanks for the report. But for something to have returned, then you must be able to demonstrate that you don't get the same issue with older versions. So, have you tested older versions of Rufus on that same computer (if so which ones) and demonstrated that they weren't affected? Or is it just that you haven't been using Rufus in some time, and are now seeing this error, with a new version of Rufus, on a new version of Windows? From all the other reports I have seen, the For the record, I've been trying to see if there was any possibility to report which application is having hold of the drive back to the user (#312), but Windows makes that very difficult to do for whole drives, so I'm afraid you may have to figure it out on your own. |
To add to this, I'm seeing media access errors across all 3 of my machines that I've updated to the latest Windows 10 10547 (Threshold 2 RTM) builds. It still works on my Win 10 non insider machines, and Win 8 machines. On at least 1 of the 3 machines updated, I know I had successfully used 2.3 hours before updating with no changes in applications and the other 2 had been used previously but not quite so immediately. I'm going to run an update/rollback on of my Win 10 box's that's not currently an insider preview participant to see if the behavior persists. |
Okay. Be mindful that these releases are tagged insider for a reason: they may very well inadvertently break existing capabilities, which, once reported, Microsoft will fix back. Heck, for a long time I thought Windows 10 had completely broken the Windows To Go feature of Rufus... but then Microsoft fixed the To Go feature shortly before RTM... Oh, and as always, I'm not adverse to see a FULL log from Rufus of when you encounter the issue. I'd also be interested to know if you tried with more than one USB drive... |
I've been getting additional reports that Microsoft appears to have broken their disk partitioning services with Windows 10 insider build 10547. For instance, if you use I'm trying to get one of my platforms on the insider builds, but no luck so far... At any rate, if this is a global issue with disk partitioning, I'm pretty sure Microsoft will address this in a future release. |
We will see, if Microsoft changes something to make it work again. |
Finally got build 10547 and was able to confirm the issue. By the looks of it, starting with build 10547, Microsoft broke the For the record, Rufus requests a lock to the drive to be sure that no other application is using it, as well as an additional safety measure to ensure that, even if something goes wrong, a system drive will not be reformatted, as such a drive would already be locked. Of course, one workaround would be to not lock the physical drive before repartitioning, but before I go there, I'd rather make sure the current locking situation is not due to a bug from Microsoft, where they updated their USB handling and forgot to ensure that their lock/unlock code was properly balanced. I'll see if I can report a bug for this when I get a chance... |
We have to wait for the fix from microsoft. That rufus locks the drive is the right way. —Thilo. |
Definitely looks like a widespread bug for the latest insider builds. If you look at the Feedback reports for "Hardware, Devices and Drivers" → "USB devices and connectivity", you see a flurry of reports from people stating that they can no longer use "Safely eject USB" due to always getting "media is in use". This is consistent with the issue observed with Rufus and seems to have started with build 10532. As there are more and more people complaining about this, I'm pretty sure Microsoft is aware that they have a problem and will hopefully fix it soon. Oh and for the record, I am now consistently getting the |
I was able to use Rufus 2.4 to create a bootable USB drive with Windows 10. I was able to do this after an update to Windows 10. The same update seems to have fixed an ongoing issue where it was never safe to remove a USB from the machine even after closing all apps that may have been accessing the drive. I wanted to take a moment to thank you for being so responsive to the issue. Thanks Joe (Creatively.mehttp://Creatively.me) |
I got the latest Defender update as well, and while it seemed to have "fixed" the issue when I first tested after applying that update, things looked good, but then the problem came back again, and disappeared again after a while, so I don't think it's entirely been fixed. Considering that the latest Defender updates seem to have had some sort of effect (though officially these were only virus definitions), I'm wondering if Defender might not be the application keeping a lock. I haven't tried disabling Defender altogether yet, so that's just a wild guess. Still, it looks like we'll have to wait for Microsoft to properly fix this... |
I just got insider build 10565 pushed on one of my test machines, and while it seems to improve things a little (as well as come with a new icon for USB safe ejection - Microsoft are definitely fiddling with something here), it does not resolve the problem altogether. What I observed was the following. First run of Rufus from cold boot is usually fine. But then if you eject the USB and plug it back again, the old Access Denied from Rufus/Cannot safely eject from Windows comes back again. Oh, and you can also trigger this kind of behaviour without using Rufus altogether, if you play with So, yeah, some small progress, but you'll have to try a bit harder, Microsoft! Maybe the next build... |
I tried Rufus 2.5 Beta2 and it didn't work, @pbatard. :( I still get the Requesting Disk Access and then I'm told it can't do it because something else must be using it. Should I give Microsoft feedback on this? |
Oh, phooey, I forgot to press Alt+, . . . Sigh . . . |
Yay! Thank you, Sir! Using the Beta, I first plugged in the Jump Drive, set Rufus up, pressed and held Alt plus the comma, let 'em go and then clicked on Start! And away she flew! Bootable Jump Drive with Windows 10 Build 10565 on it. |
Glad to hear it worked for you. And yes, you need to press Alt-, simultaneously. Then you will get a message at the bottom saying "Exclusive USB drive locking disabled". I think Microsoft need to get feedback about this, if they haven't already, but preferably when trying to use |
I will definitely give feedback on the Jump Drive issue and will draft a couple of friends to check out the diskpart + clean issue so that when we all send feedback, I'll at least be able to give an intelligent report. :) Thanks again for all your hard work to get things going for us in spite of Microsoft. :) |
Beta3 solved the problem for me, no reboot required (on ver. 10.0 Build 10240) |
I don't understand. Are you using build 10240 (which is unaffected). If not, what is your build number? The issue described here only affects you if you are using Windows 10 Insider build number 10547 or later... And since this is a pure Microsoft problem, there is no "fix" for this in any of the BETAs of Rufus. |
Yes I'm using Build 10240, but I was affected. Did a reboot, no luck. I used task manager to kill as many user processes as possible. Still no luck. Then I just downloaded 2.5_BETA3 and it worked. |
Then this was a different problem. There was absolutely no fix for exclusive locking issues between 2.4 and any of the BETAs. |
Ok sorry, should i delete the comments? |
Nah that's okay. Just be mindful that if an issue mentions something like "with Windows 10 Insider Build 10547", if you are seeing a similar problem, but aren't running that version of Windows, it's probably something else. If you do a search, you'll see that there are many other reports of drive locking with Rufus, that generate the kind of error you saw. However, this issue is specific to the Windows Insider builds, as Microsoft broke locking altogether there. |
Will do, just thought there might be an additional Windows version with the same problem that is yet untracked. |
Not really. 10240 is the retail build of Windows 10, and it was pretty explicit from the get go that this specific issue would not affect the retail build. |
This seems to have been fixed in build 10586 at long last! I tested on a 10586 upgraded machine, and the issue no longer occurs. I will therefore close this issue. If you are still seeing an issue after upgrading to 10586 or later, please let me know. |
Pete, I’m sorry to say it doesn’t seem to be completely fixed yet although it seems to be fixed for my installation. Halasz is pretty knowledgeable and will probably cooperate; that’s why I snipped as much as I did. |
Where can I find Halasz report? Also, please be mindful that, regardless of the issue on Windows, some software and hardware, such as the one listed at the end of the Rufus FAQ (non exhaustive list) can produce the same error. In fact, even before the issue with Windows 10547 was reported, I used to get reports of similar issue about once or twice a month. Therefore, my expectation at this stage is that Halasz is simply one of the many users of an application that keeps an exclusive lock on USB media (which it shouldn't do), and he or she will have to identify what it is. Of course, I'm also waiting to see if more 10586 users do report that the issue is still present for them, as this would be confirmation that Halasz findings are related to the previous bug rather than an external application. |
Page 10 here: http://www.tenforums.com/windows-insider/26141-device-currently-use-usb-jump-drive-10.html I’ll go to the FAQ and see what’s there but I’m not a coder. L |
Okay. Let's see if other people running 10586 report the same thing. Be mindful that getting an error on safe ejection is very much something that can happen even in a non buggy release of Windows. For instance, you may get that in 10240 if you have a file open on the USB, or a disk utility application looking at the drive, or any other application that, for any reason, may have decided it needs access to the USB. The whole point of safe ejection is precisely to detect if any application is still using the drive, and produce an error if one does. I guess the one test to tell us if it's the 10547 Microsoft bug or something else would be to downgrade to 10240 and see if the issue still happens... Or we can simply wait to see how many people indicate that they still have an issue with 10586. |
We do have one member of TenForums who cannot get safe removal of her USB drive in RTM 10240. But she’s the only one I know of at this point. |
I tried to use a different PC to make the USB bootable with Windows 10 Pro before coming to this page and it worked. We can use Sysinternal's Process Monitor to find the list of process that are currently using the device. Killing those process would remove the handle on the USB drive and Rufus would have no problems on its requests a lock to the drive. |
Unfortunately, Process Monitor (and the current Windows APIs as a whole) are a bit too limited to be of much help... ProcMon may work if the issue is with an application having a file open on the USB device, but isn't of much help if the application has requested access to the the whole device.
In #312 I've been trying to see if it was possible to identify and report HxD-like processes that may have taken hold of the whole device on access error, because this is the fashion in which most of the applications that create an exclusivity issue will proceed, but I'm afraid that, even in Windows 10, there is NO monitoring API in Windows that can tell you: "Hey, applications Y, Z have requested access to disk X, and they have not relinquished that access yet". All Windows will ever tells you is: "Hey, something else is using that disk", but it can't tell you what, which really sucks... |
I have exited explorer, stopped avg antivirus until reboot, and unplug re-plug the device - from elevated command prompt format the device - thus closing all open file handles to the device and then run rufus 2.7. I still get the dreaded cannot open device, I have tried a number of the Alt-* keys including Z, ,, R to try to clear anything that is accessing the drive all to no avail.
|
Unfortunately the log doesn't say much as to what might be holding the drive "hostage"... |
Im not using any of the software and I have tried with several brands of usb drive... It has only just started occuring so could be related to an AV change I will uninstall and test., |
Interesting. I think you will indeed need to identify what has changed recently, to find the culprit. And if you do find the software that is preventing access, please make sure to report here. |
I just made the program work (had the same problem) i just reconnected the USB drive a couple of time got Errors that the USB is Malfunctioning (has a problem) then pluged it to a DIRECT USB port to the Motherboard and the isue was GONE .
|
I had a lot of pain with this. Not sure what other program is locking my device. Workaround is to download latest version v2.11, press Alt-, to disable locking and then run. |
Formatting the drive to FAT32 first then disabling the volume locking was the only way I was able to get around this. |
open command prompt as admin, enter diskpart, then list disk, make note of USB disk number. then "select disk #" where "#" is the number from "list disk" command. then "clean". once done, "exit". then rufus works fine. |
Hi guys .. I had the same problem but i tried another program called ISO to USB you can find it in isotousb.com and its absolutly working Wright now! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
I am attempting to create a Bootable USB with a new Windows 10 iso.(This is a different [new] copy of Windows 10 than the upgraded version on the workstation's Windows 10).
The process seems to be stuck at requesting disk access...
Here is the error message.
I am using Windows 10 Pro. I tried to run Rufus as a Administrator. I also tried using the new Beta version in case this had been addressed in the beta.
Here is the log: I hope this helps.
Thanks
Joe (Creatively.Me)
The text was updated successfully, but these errors were encountered: