Cannot eject USB mass storage for any hardware combination
I originally posted in this thread: http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/703d58e6-b7d1-4525-8985-6f6e2b99b6a2 A lot of people are getting the exact same symptoms. Dabur972 asked me to create a new thread, maybe it will get more attention. Also scanned for rootkits/spyware with gmer, RootkitRevealer, and clamscan; bad sectors/corruption with chkdsk and smartmontools. No abnormalities found. Also tested on laptop with Windows XP Professional x86--ejects fine. Suffering from the exact same problem (can't eject) on Windows 7 Professional x64. I'm fairly positive it is independent of the hardware, as it occurs on the following USB enclosure and hard drive configurations: IcyDock MB561S-4S IcyDock MB664US-1S Startech SATADOCK22UE Hitachi HD32000 2TB Samsung F3 HD103SJ 1 TB WD WD20EADS 2TB System: Intel DG45FC with latest drivers Besides these, I have not tested other models, so I have not seen a hardware configuration that does not suffer from this problem. Furthermore, these configurations eject without problems on my other dual-boot Debian/Mac OS X 10.4 in both operating systems. Only Windows 7 exhibits the problem. As the OP stated, LockHunter (x64 1.0 beta 3 in my case) shows locking by the System on the following paths: drive:\$Extend\$RmMetadata\$TextLog\$TxtLogContainer00000000000000001 drive:\$Extend\$RmMetadata\$TextLog\$TxtLog.bif drive:\$Extend\$RmMetadata\$TextLog\$TxtLogContainer00000000000000002 Process Explorer AND Handle, both Microsoft applications show "No matching handles found." Thus I suspect it is some shadow system process running in the background (maybe Microsoft's Samba server?) that is locking the files in a way that the operating system API cannot even detect. However, the problem occurs even when I am not connected to the server from another PC.
January 21st, 2010 10:16am

Have you tried to format your flash drives to Fat32? (Not use the quick format)As these files are related to your drive information, they are hidden by default. According to my test, I can find those files in my drive with the LockHunter, but I found these files can be removed, once I format it to FAT32. You can try to test. I hope this can help you.John
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2010 1:16pm

hi , the reason i asked is that the topic is long gone on the other thread . ------------------------------------------------------------------------------topic , it looks like a metadata error , if it is an error . can you copy paste the details to this thread also ? John's idea of fat 32 might help , but for what do you use them ? the serial link Q , i meant are they all linked with each other or all seperatly to the comp ? give detail on your OS also , ... i will take a look at this again and see what can be done .what does dxdiag say ? have you tried a diskcheck ? both options ?have a nice day Scan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
January 23rd, 2010 12:46am

John Cena: these are not flash drives, but hard drives ranging from 1TB-2TB as per my first post. They are formatted NTFS (by Windows 7) and since they are full, I can't test reformatting to FAT32. If this is an NTFS metadata problem on Windows 7, switching to FAT32 doesn't make much sense, as NTFS is the proprietary Microsoft file system. Dabur972: Thanks for offering suggestions, but please re-read the first post in this thread. In the quote, I show the metadata error reported by LockHunter, my OS and other specs. If I understand the "serial link" part of your question correctly, the error persists when the hard drives in a single-hard drive enclosure and in multiple hard-drive enclosures. However, I'm not 100% sure that is what you meant. DXDiag is a video/sound trouble-shooting utility, so I don't see how it would be relevant to this case. However, I just ran it and "No problems found" for Video, Sound, or Input. Yes, chkdsk was run with both file system scan and deep surface scan (/r), although /r already implies file system scan
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2010 1:33pm

John Cena: these are not flash drives, but hard drives ranging from 1TB-2TB as per my first post. They are formatted NTFS (by Windows 7) and since they are full, I can't test reformatting to FAT32. If this is an NTFS metadata problem on Windows 7, switching to FAT32 doesn't make much sense, as NTFS is the proprietary Microsoft file system.Dabur972:Thanks for offering suggestions, but please re-read the first post in this thread. In the quote, I show the metadata error reported by LockHunter, my OS and other specs. If I understand the "serial link" part of your question correctly, the error persists when the hard drives in a single-hard drive enclosure and in multiple hard-drive enclosures. However, I'm not 100% sure that is what you meant.DXDiag is a video/sound trouble-shooting utility, so I don't see how it would be relevant to this case. However, I just ran it and "No problems found" for Video, Sound, or Input.Yes, chkdsk was run with both file system scan and deep surface scan (/r), although /r already implies file system scan hi , okay , start , admin tools , comp management , what does that show about the state of the disks ?anything in the event viewer ?hmmm , tried a reformat ? have a nice dayScan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
January 25th, 2010 4:35pm

You can also try diskpart and fsutil, with various parameters, in a command prompt. You might be able to learn something.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2010 1:58am

I had an issue with some drives that required me to stop the indexer from running. Then I could eject the drive.
January 26th, 2010 2:38am

I found there is a Removel policy for the external hard driver, you can choose the "Quick Removal" option to disable the write caching on the device and in Windows, so that you can disconnet the device safely without using the safely Remove hardware notification icon. Go to Device manager, expand Disk Drives category and then click on your USB drive and select "Quick Removal". Now, you can plug the hard drive in and out safely. I hope this can help you. John
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2010 8:06am

I found there is a Removel policy for the external hard driver, you can choose the "Quick Removal" option to disable the write caching on the device and in Windows, so that you can disconnet the device safely without using the safely Remove hardware notification icon.Go to Device manager, expand Disk Drives category and then click on your USB drive and select "Quick Removal". Now, you can plug the hard drive in and out safely. I hope this can help you. John hi , indeed , check the options ( properties ) to see if a usb device is working okay or not , ... it also displays the driver version (!!)have a nice dayScan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
January 27th, 2010 11:48pm

I've tried this in the past, and quick removal will let of course let it be removed but that's bypassing the problem altogether rather than solving it. Even without quick removal, I can always just unplug it which would be the same result when there are no processes accessing the drive (i.e. cache not being used). It seems ridiculous to not be able to remove a hard disk at all without enabling quick removal.. that's not what quick removal was designed for. There are big performance disadvantages to quick removal in terms of cache use, which is why it's not enabled by default. These aren't flash drives, but huge 1TB & 2TB drives with a lot of write/read use that I only disconnect once or twice a month. In answer to your questions, disk management and Windows command-line tools show nothing out of the ordinary. Indexing is not enabled. Reformat is not possible at the moment, but doesn't make sense anyway, considering I used Windows to format these drives and there are 8 of them in total (2 WD, 4 Samsung, 2 Hitachi), all exhibiting the same symptoms.
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2010 3:50pm

I've tried this in the past, and quick removal will let of course let it be removed but that's bypassing the problem altogether rather than solving it. Even without quick removal, I can always just unplug it which would be the same result when there are no processes accessing the drive (i.e. cache not being used).It seems ridiculous to not be able to remove a hard disk at all without enabling quick removal.. that's not what quick removal was designed for. There are big performance disadvantages to quick removal in terms of cache use, which is why it's not enabled by default. These aren't flash drives, but huge 1TB & 2TB drives with a lot of write/read use that I only disconnect once or twice a month.In answer to your questions, disk management and Windows command-line tools show nothing out of the ordinary. Indexing is not enabled. Reformat is not possible at the moment, but doesn't make sense anyway, considering I used Windows to format these drives and there are 8 of them in total (2 WD, 4 Samsung, 2 Hitachi), all exhibiting the same symptoms. hi , okay try a disk check on a few , see what that does ? anything in problem reports and solutions ??something else , when you go to properties of a disk , >>> hardware , properties , >> tab policies , what is flagged there ?to bad you are not around the corner , then i could check them myself have a nice sundayScan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
January 31st, 2010 6:04pm

Already ran chkdsk with both settings (as stated in several posts). Under policies, it's optimized with performance with write caching. However, as said, I have tried quick removal, but that is not a solution to the problem, but just an avoidance of the Windows feature in which I'm experiencing the problem.
Free Windows Admin Tool Kit Click here and download it now
January 31st, 2010 6:27pm

Already ran chkdsk with both settings (as stated in several posts).Under policies, it's optimized with performance with write caching. However, as said, I have tried quick removal, but that is not a solution to the problem, but just an avoidance of the Windows feature in which I'm experiencing the problem. hi , you never know , thats why i asked the diskcheck several times , ... i keep thinking about that metadata , is the cache big enough ? do you need to unplug them on a regular basis ? i fixed some errors a while ago due to synchro software , could that be the case ? i will post a note for the deployment guys and see what they can find , .... have a nice dayps , make a support ticket anyway , is a down moment for them now , click the link MS support in my signature , scroll to the end of the page and get a chat with the supp staffthy have some tools that can check way more by the way have you tried sfc /scannow ??Scan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
January 31st, 2010 6:41pm

hi , to update , i posted some posts in the other thread http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/703d58e6-b7d1-4525-8985-6f6e2b99b6a2/#888c4ad4-e0fa-4b44-8379-004a6cc9afd1have a nice dayScan with OneCare + 50 Windows 7even Tips + Plagued by the Privacy Center? REMOVE IT + Threat Research & Response Blog + Sysinternals Live tools + TRANSLATOR+ Photosynth + Microsoft Security + Microsoft SUPPORT + PIVOT from Live Labs + Microsoft Live Labs + Office 2010 beta + Get Windows LIVE!
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2010 1:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics