I have the common problem with explorer.exe holding opened files on my virtual disks, so I can't forcibly unmount them. It seems, that force unmount option in CPL works like disk ejecting, and I need something safe like chkdsk's force close files.
I can see opened handles with handle.exe, but is there a way to force close them? If so, it would be nice to try the following seq:
- try unmount
- if any files are still opened, force close them
- if they are still opened, force unmount
1 reply to this topic
#1
Posted 26 August 2012 - 10:26 PM
#2
Posted 27 August 2012 - 05:11 AM
I have the common problem with explorer.exe holding opened files on my virtual disks, so I can't forcibly unmount them. It seems, that force unmount option in CPL works like disk ejecting, and I need something safe like chkdsk's force close files.
I can see opened handles with handle.exe, but is there a way to force close them? If so, it would be nice to try the following seq:
- try unmount
- if any files are still opened, force close them
- if they are still opened, force unmount
The unmount option in CPL asks you if you want to forcefully close all open handles. If you answer yes, it will try to do so in the same way as chkdsk and similar do. If that fails, it tries to just "eject" the volume anyway. There is nothing more or less "safe" with this, compared to how chkdsk and similar does it, except that chkdsk only tries first step, if closing of all open handles fails it would not forcefully "eject" the volume anyway.
One problem with imdisk.cpl could be if user who dismounts the volume has no permission to forcefully dismount filesystems. In that case it cannot try to close all open handles first. Instead it shows the "force?" message and tries to "eject" the volume anyway if you answer yes. But in this case "another method" for it would not help either, because the problem is basically with user's permissions.
Also tagged with one or more of these keywords: unmount, dismount, lock
Groups →
Project forge →
ImDisk →
Unable to unmount RAM disk via SYSTEM user.Started by s.kunal13 , 13 Jun 2017 unmount |
|
|
||
Boot methods & tools →
WinBuilder →
Win7PE →
Error while unmounting WIM filesStarted by dima23 , 13 Mar 2015 winbuilder, unmount, error and 5 more... |
|
|
||
Boot methods & tools →
USB Drive Format Utilities →
Partition USB Drive with 1 Partition LockedStarted by Chaudhry , 10 Mar 2014 partition, lock, usb, drive |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users