| Windows 7: External hard drive can't be removed |
07 Dec 2011
|
#1 | | Windows 7 Home Premium 64 Bit OS |
External hard drive can't be removed Hello all
I have previously started a thread asking a question about
why external drives cannot be safely removed due to being either
in use by another process or wording similar to this.
I have now searched this forum for any previous threads relating to this problem, and also at other forums without any definitive answer as to a solution. I was previously told about a program called LockHunter which
I have used to identify the system processes which stop the drive from being able to be removed. Unfortunately, the tools within the program cannot solve the problem as shown in the screenshot below: Attachment 187300
I have searched around for a few hours trying to find a solution to this problem to no avail.
Does anyone know of a definitive solution that they could outline step by step here or is this another bug in Windows that they have deemed to hard to patch and therefore placed the topic in the too hard basket?
Ty in advance for replies
Just thought I would add that I just checked the security of my external drive. This is unrelated to the previous question, but does anyone know why there would be an SID
(EG: S-1-5-21 ETC ETC) named as the owner of my external drive? I have just put about 600GB worth of backup on this and prior to that it was unused.
I understand that SID's can be remnants from having the drive plugged in to other machines, however the same SID which appears if I look at the owner of the root drive letter does not also appear in the first screen in the security tab under group or user names. I have always been useless when it comes to setting permissions and how they work - could anyone explain to me what is going on here please?
Last edited by AllOnTheBus; 21 Dec 2011 at 12:55 AM..
| My System Specs |
| OS Windows 7 Home Premium 64 Bit OS |
08 Dec 2011
|
#2 | | Windows 7 Ultimate x64 & Mac OS X 10.7.1 United Kingdom |
as the wise Linus from "linus tech tips" once said "lifes to short to saftley remove" | My System Specs | | System Manufacturer/Model Number Built by badgers!!! OS Windows 7 Ultimate x64 & Mac OS X 10.7.1 CPU Intel Core i5 2500k Motherboard Asus P8z68 Memory Corsair Vengence 8gb 1866mhz Graphics Card XFX Ati HD6950 2Gb Sound Card Mobo Optical to Yamaha Rx-V667 7.2 home cinema system Monitor(s) Displays Samsung LED 32" TV Screen Resolution 1920x1080 Keyboard Saitek Cyborg V7 Mouse Saitek R.A.T 9 PSU Corsair HX650w Modular Case NZXT Phantom White Cooling Corsair H60 Push/Pull Hard Drives 120gb Corsair Force 3 SSD Internet Speed Too slow! Other Info AMD fusion E350N Home server-Windows Home Server 2011 (also made by badgers!)
2011 Macbook 2.4ghz Core2Duo, 4gb ddr3, 120gb Ocz Vertex SSD |
08 Dec 2011
|
#3 | | Windows 7 Home Premium 64 Bit OS |
Life is short I will agree with that.
Really not a helpful post though as you are probably aware. | My System Specs | | OS Windows 7 Home Premium 64 Bit OS |
08 Dec 2011
|
#4 | | |

Quote: Originally Posted by AllOnTheBus Life is short I will agree with that.
Really not a helpful post though as you are probably aware.  I could only get my USB drives to safely remove about 20% of the time. I changed the setting for them in Device Manager to Hot Plug. I use sync.exe from SysInternals: Sync
to make sure disk data is flushed to the drive before I shut off my USB docks or unplug my USB key. Haven't had any issues.
afa the permission thing, this post may or may not fix it up: File permissions mystery!
edit: I realize sync.exe was last updated in 2006. But on NT based systems like XP, Vista, Windows 7, all it does is lock the volume, then unlock it. The OS automatically flushes all disk buffers when a volume is locked. So it's something that's likely to work fine for a long time. | My System Specs | | System Manufacturer/Model Number HP Media Center OS Windows 7 32 bit CPU AMD 5200+ dual core Memory 2 GB Graphics Card NVidia GeForce 6150SE 128 MB Monitor(s) Displays CRT Screen Resolution 1280x1024 Keyboard PS/2 Mouse PS/2 Wheel Mouse Hard Drives 500 GB Sata internal :
SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives Other Info SIIG USB 3.0 PCIexpress card. |
08 Dec 2011
|
#5 | | Vista, Windows7, Mint Mate, Zorin, Windows 8 Florida in winter, Black Forest/Germany |
Some processes have this habit of not releasing the handles. That does not mean that the drive cannot be removed. The "safely remove" function is there to prevent write operations in process to be prematurely terminated. And that is only significant, if the device was set to allow write caching.
But if the last write operation to the device has been a few seconds ago, it is very unlikely that there is still data "in transfer".
If you want to be 100% sure that the device can be removed, do a reboot. That will terminate all writes and release all handles. | My System Specs | | System Manufacturer/Model Number HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops OS Vista, Windows7, Mint Mate, Zorin, Windows 8 CPU from 1.6GHz Duo to i7 Monitor(s) Displays 2x HP w2207 Keyboard with trackball - no mices Mouse Trackball mice Hard Drives 5x HDD, 7x SSD, 12x Externals Internet Speed DSL 6000 |
08 Dec 2011
|
#6 | | Windows 7 Pro-x64 South Texas |
Those are part of the NT file system and normally of no concern to the user. I suspect Windows was terminated or the drive unplugged during a write. Or possibly a driver failure. Windows automatically saves backup of the metadata files and automatically restores them so with these staying open seems to indicate the backup is also hosed. The SID is one of Windows' global IDs. Windows is the owner of the metadata files.
If you can read the disk, I would try to backup it up and run chkdsk. Some of the files may be lost already though. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Built 2/11/2011 OS Windows 7 Pro-x64 CPU i7-2600 3.4GHz - 3.8GHz Turbo Motherboard Intel DH67BL-B3 Memory 8Gb - 2x4GB, Muskin 991770 PC3-1333 Graphics Card Integrated Intel HD 2000 Sound Card Integrated Intel 10.1 HD, RealTek ALC892 Monitor(s) Displays Asus LCD VH222H, Haier HL24XSL2a Screen Resolution 1920x1080, 1920x1080 Keyboard Logitech EX100 Wireless Mouse Logitech EX100 Wireless PSU Seasonic 650W 80+ Gold Modular Case Rosewill Defender Cooling Stock CPU, Four 120mm case fans, PCH fan added Hard Drives Crucial C300-128Gb,
Western Digital WD5002AALX - 500Gb,
Western Digital WD7501AALS - 750Gb Internet Speed 2.5/1.5 Mbs Antivirus Microsoft Security Essentials Browser Microsoft Internet Explorer 10 Other Info Antec Veris Premier-Multimedia IR Station,
Cyber Accoustics-3602 Speakers,
AFT XM-5U Card Reader,
Hauppauge TV-HVR-2250,
Sony LX300 USB Turntable |
08 Dec 2011
|
#7 | | |
Reboot, if that doesn't work reboot safe mode.
If you can shut off you can just remove it then. | My System Specs | | System Manufacturer/Model Number Insane hobo technologies. ;-) OS Windows 7 x64 CPU Intel i7 2600k Motherboard Asrock z68 extreme 4 gen 3 Memory G.skill Ripjaw 16gigs @ 1866 Graphics Card Nvidia gtx580 (evga) Sound Card Integrated HD audio + hdmi Monitor(s) Displays 24" ASUS widescreen + 42" insignia Screen Resolution 1080p (1920x1080) Keyboard Microsoft wireless 3000 (v2) Mouse MS - wireless 5000 (bluetrack) PSU 1 kilowatt SLI/Crossfire rated Silverstone modular Case NZXT Phantom + additional 220 fan Cooling Zalmann Hard Drives 128 Samsung 830
256 Samsung 840
3 x 1tb storage drive (various)
1 western digital 1tb (eSATA)
1 Seagate 1tb (eSATA) Internet Speed depends on if you ask me or my provider. Other Info The above information is provided as is, and the author assumes no responsibility for issues it may cause with your sanity or fanboyism. |
08 Dec 2011
|
#8 | | Windows 7 Pro-x64 South Texas |
You can't just remove Windows NTFS. The disk will need to be repaired or formated. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Built 2/11/2011 OS Windows 7 Pro-x64 CPU i7-2600 3.4GHz - 3.8GHz Turbo Motherboard Intel DH67BL-B3 Memory 8Gb - 2x4GB, Muskin 991770 PC3-1333 Graphics Card Integrated Intel HD 2000 Sound Card Integrated Intel 10.1 HD, RealTek ALC892 Monitor(s) Displays Asus LCD VH222H, Haier HL24XSL2a Screen Resolution 1920x1080, 1920x1080 Keyboard Logitech EX100 Wireless Mouse Logitech EX100 Wireless PSU Seasonic 650W 80+ Gold Modular Case Rosewill Defender Cooling Stock CPU, Four 120mm case fans, PCH fan added Hard Drives Crucial C300-128Gb,
Western Digital WD5002AALX - 500Gb,
Western Digital WD7501AALS - 750Gb Internet Speed 2.5/1.5 Mbs Antivirus Microsoft Security Essentials Browser Microsoft Internet Explorer 10 Other Info Antec Veris Premier-Multimedia IR Station,
Cyber Accoustics-3602 Speakers,
AFT XM-5U Card Reader,
Hauppauge TV-HVR-2250,
Sony LX300 USB Turntable |
08 Dec 2011
|
#9 | | |

Quote: Originally Posted by carwiz You can't just remove Windows NTFS. The disk will need to be repaired or formated. I do it multiple times daily. Set the drive in device manager to hot plug rather than write caching. Run sync.exe. Press the button(in the case of a USB dock) or pull out the key drive.
If I waited for safely remove to work I'd never be able to do anything.
edit:
As WHS said, wait for file operations to complete. Obviously you don't yank the drive out while you're coping a file on. I run sync just to make sure the buffers are flushed. Now and then I'll see the access light give a flicker after I run it. It's just a precaution. | My System Specs | | System Manufacturer/Model Number HP Media Center OS Windows 7 32 bit CPU AMD 5200+ dual core Memory 2 GB Graphics Card NVidia GeForce 6150SE 128 MB Monitor(s) Displays CRT Screen Resolution 1280x1024 Keyboard PS/2 Mouse PS/2 Wheel Mouse Hard Drives 500 GB Sata internal :
SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives Other Info SIIG USB 3.0 PCIexpress card. |
08 Dec 2011
|
#10 | | Vista, Windows7, Mint Mate, Zorin, Windows 8 Florida in winter, Black Forest/Germany |
Quote: If I waited for safely remove to work I'd never be able to do anything. LOL, real life meets theory. | My System Specs | | System Manufacturer/Model Number HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops OS Vista, Windows7, Mint Mate, Zorin, Windows 8 CPU from 1.6GHz Duo to i7 Monitor(s) Displays 2x HP w2207 Keyboard with trackball - no mices Mouse Trackball mice Hard Drives 5x HDD, 7x SSD, 12x Externals Internet Speed DSL 6000 External hard drive can't be removed problems? All times are GMT -5. The time now is 04:57 AM. | |