On Linux it just sticks around as a ghost until it's closed. Less noticeable but frustrating in its own way.
post
install powertoys, there's an addon called file locksmith that does exactly that
Sure, that 'fixes' it. The real question is, if that information is retrievable anyways... Why is it not a built-in part of windows. You get the error popup and it should just show two buttons: "Ok and "Find which program is using it"
Powertoys is basically all the things the engineers internally couldn't stand not having but the business won't allow to be officially integrated.
Same when you try to remove an external drive.
To be fair, this happens to me also in Debian Gnome, but very very rarely. On Windows, it keeps me from ejecting the drive until after I try it 4-5 times. Every time. In any case, lsof can help identify the culprit.
lsof | grep DRIVENAME should give which program is keeping it.
all 9 comments