also @ TechSpot: Apple's iOS 7 to be "black, white and flat all over"

USB drive or flash problems? How to cleanup and remove old USB storage drivers

Discussion in 'Guides and Tutorials' started by LookinAround, Apr 13, 2010.

Post New Reply
  1. LookinAround TechSpot Chancellor Posts: 7,677   +39

    USB Drive or Flash Problems? How to Cleanup and Remove Old USB Storage Drivers
    USB Mass Storage devices include:
    * External hard drives and optical drives, including CD and DVD drives
    * Portable flash memory devices
    * Digital cameras
    * Digital audio players & portable media players
    * Card readers
    * Portable gaming systems
    * Mobile phones
    One possible cause of USB Mass Storage Device problems: Windows can get "confused" by all the old (and sometimes conflicting) USB storage driver data that tends to collect and remain installed on a PC

    Here's why: By default, Device Manager only displays drivers of connected devices so the drivers you see in Device Manager aren't the only USB storage drivers that are really there! You probably still have drivers installed for devices you once connected then disconnected long ago!
    • Windows installs drivers for a USB Mass Storage device when you first plug it in to a port
    • Windows sometimes installs the same driver for the same device each time you connect it to a different port!
    • Problem is
      ==> These drivers aren't uninstalled when you simply unplug the device but only when you uninstall the device (or each device instance per port)
      ==> Driver data associates devices with drive letters and ports. Port and drive letter conflicts may occur as you start unplugging/replugging devices
    You may be surprised at just how many old USB drivers are actually still installed on your machine!

    Steps to Safely Cleanup and Remove old USB Mass Storage Drivers on your PC
    1. Shut down your computer. Unplug your USB storage devices: USB Disks, flash, cams, CD/DVD, etc.
      ==> Other USB devices like keyboards, mice and LAN adapters can stay plugged in
    2. Boot computer back up. Click for how to determine whether you are running 32 or 64 bit Windows
    3. Download drivecleanup.zip, unzip and save to your desktop. Move the 32 or 64 bit version of DriveCleanup.exe to C:\Windows\System32
    4. Open a command prompt window as follows:
      ==> For XP only: You must have Admin privileges. Click Start->Run, enter cmd
      ==> For Vista and Windows 7: You must open an elevated command prompt window!
    5. After the command prompt enter: drivecleanup.exe
      ==> Your command prompt window should be similar to my example below.
      ==> If, instead, you get an error message like Command not recognized it means you didn't move Drivecleanup.exe to the right directory
    6. Reboot. Now just replug your devices for fresh clean device reinstalls! :)
    Code:
    C:\>[B]drivecleanup.exe[/B]
    DriveCleanup V0.7.0 (Win32)
    Uninstalls non present storage volumes, Disk, CDROM, Floppy devices
    and deletes their registry items
    Freeware by Uwe Sieber - www.uwe-sieber.de
    
    removing USB device 'USB\VID_0000&PID_0000\7&2285BC2A&0&1'
     OK
    removing USB device 'USB\VID_0411&PID_00A2\WDC_WD2500_____WD-WCANKE590248'
     OK
    removing USB device 'USB\VID_0BB4&PID_0C02&MI_00\6&2DD32CD2&1&0000'
     OK
    removing USB device 'USB\VID_1058&PID_0702\575845313037453632383432'
     OK
    removing USB device 'USB\VID_1058&PID_0702\7274787265616E206C2E3132'
     OK
    removing USB device 'USB\VID_1058&PID_0702\F53A39F2AB75F5CDC4B6ABC3'
     OK
    removing Disk 'USBSTOR\DISK&VEN_HTC&PROD_ANDROID_PHONE&REV_0100\7&1012C922&1&HT9A2HF00558&0'
     OK
    removing Disk 'USBSTOR\DISK&VEN_WD&PROD_1600BEVEXTERNAL&REV_1.02\575845313037453632383432&0'
     OK
    removing Disk 'USBSTOR\DISK&VEN_WD&PROD_N_EXTEREXTERNAL&REV_1.02\7274787265616E206C2E3132&0'
     OK
    removing Disk 'USBSTOR\DISK&VEN_WD&PROD_N_EXTEREXTERNAL&REV_1.02\F53A39F2AB75F5CDC4B6ABC3&0'
     OK
    removing Disk 'USBSTOR\DISK&VEN_WDC_WD25&PROD_00JS-00NCB1&REV_\WDC_WD2500_____WD-WCANKE590248&0'
     OK
    removing volume 'STORAGE\REMOVABLEMEDIA\8&3152D400&0&RM'
     OK
    removing volume 'STORAGE\REMOVABLEMEDIA\9&29B6E3D1&0&RM'
     OK
    removing volume 'STORAGE\REMOVABLEMEDIA\9&BC53371&0&RM'
     OK
    removing volume 'STORAGE\VOLUME\1&30A96598&0&SIGNATURE44FDFE06OFFSET7E00LENGTH2543150400'
     OK
    removing volume 'STORAGE\VOLUME\1&30A96598&0&SIGNATUREC12C6F64OFFSET7E00LENGTH3A388A8400'
     OK
    Regkey delete HKLM\System\MountedDevices\\??\Volume{91a9bc60-2535-11df-b96f-00256495135f}
     OK
    Regkey delete HKLM\System\MountedDevices\\??\Volume{91a9bc61-2535-11df-b96f-00256495135f}
     OK
    Regkey delete HKLM\System\MountedDevices\\??\Volume{dce40c14-30ad-11df-b973-00256495135f}
     OK
    Regkey delete HKLM\System\MountedDevices\\??\Volume{d4227929-32c8-11df-b97c-00256495135f}
     OK
    Regkey delete HKLM\System\MountedDevices\\??\Volume{9827b60e-34f1-11df-b983-00256495135f}
     OK
    Regkey delete HKLM\System\MountedDevices\\DosDevices\Z:
     OK
    Regkey delete HKLM\System\MountedDevices\\DosDevices\H:
     OK
    Regkey delete HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\H
     OK
    Regkey delete HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\Z
     OK
    
    Removed 6 USB devices
    Removed 0 USB hubs
    Removed 5 Disk devices
    Removed 0 CDROM devices
    Removed 0 Floppy devices
    Removed 5 Storage volumes
    Removed 9 Keys from registry
    
    
    C:\>
    gera_p and ChristCatnap like this.
  2. ucould2 TechSpot Enthusiast Posts: 318

    mods move post to Guides and Tutorials

    this was great just one small Edit though~
    @ the command prompt type drivercleanup.exe otherwise you'll spend an hour and forty minutes like I did looking for the missing file :)
    My USB stick modem, works so clean-n-fresh now thanks LookinAround great post :biggrin:_:thumbsup:
  3. LookinAround TechSpot Chancellor Posts: 7,677   +39

    Ooops! Sorry about that ucould2!

    Updated the original. Glad the info helped!
  4. jobeard TS Ambassador Posts: 12,235   +123

    tidbit: the run->xxx feature relies upon the %PATH% variable to find xxx. That's why
    moving xxx to system32\ works.

    If you would like to keep your tools elsewhere, say Downloads\Tools, then here's how to
    get any program to launch (assuming you've already moved xxx to that folder)

    Using an admin login (or right-clicking on the command prompt shortcut->RunAS)
    you can launch xxx with
    cd Downloads\tools
    .\xxx
    the leading .\ says "find xxx" in the current directory :)
  5. SgtCottonBalls Newcomer, in training

    Ok I only joined this board to tell you
    Thank you so much! I had been searching for a solution forever and every solution did not work until this one! Thank you!
  6. LookinAround TechSpot Chancellor Posts: 7,677   +39

    Hi SgtCottonBalls :wave:

    And welcome to TechSpot! And thanks for taking the time to post your good results! I'm glad to know the Guide could help.

    Happy Computing!@
     
  7. seedhelper Newcomer, in training

    thank you

    I have registered in this board to thank the autor of this post

    i had an usb device malfunctioning ( a portable hard drive that powers only by usb )

    it was working in all the computers except one of them and was some kind of corrupted driver file

    thanks it solved my problem now (windows 7 32 bits)
  8. Jeffrsnapln Newcomer, in training

    Hi there, I have had a similar problem to this. I bought a Sandisk Cruzer blade 4Gb flash drive, and it works on my home PC, but not on my work PC. Both are runnning Win 7 Pro 64bit. When I plug the flash drive into my work PC, Autoplay pops up with all the same options, and the drive is visible in My Computer (showing the name that I gave it on my home PC), but I cannot see any of the files on it, or copy files to / from it. When I open properties, it shows Capacity: 0 bytes, used space: 0 bytes, free space: 0 bytes.

    I have tried your solution, and 25 old usb drivers were removed, whereafter my flash drive re-installed its own drivers, but its still not working.

    I have tried the flash drive in 3rd PC, and it works fine, so it must be something wrong with the USB ports on my work PC (HP laptop) Any ideas?
  9. LookinAround TechSpot Chancellor Posts: 7,677   +39

    Hi Jeffrsnapln

    Wish i had a good answer for you as you've already tried the drivecleanup tool.

    Just a general comment: While those SanDisk flash drives are handy (I have a couple Cruzr's myself) they also seem to be fragile/problematic as many people post problems with them online. So best be aware and just use it for temporary storage and file transfers and not rely on it for backups.

    That said, only other things i'd suggest (and these are just guesses/things to try). There's sometimes a power issue with these SanDisks (which must draw their power from a USB port)

    1. Is your laptop plugged in when you plug in the SanDisk?
    2. It's a long shot but this trick has sometimes helped: Shutdown laptop, unplug the USB, remove laptop battery and unplug laptop AC power cord. Let the machine sit for an hour. Then plug things back in and boot up and retry
    3. Try using a "self-powered" USB hub (buy an external USB hub that has its own AC power supply)
    4. You might also see How to Reinstall USB Controllers and Motherboard Chipset Drivers

    Sorry can't be more helpful. But let us know if you should find any solution

    /* EDIT */
    You might also try unplugging any other USB devices from the computer you don't really need attached - just to see if it makes any difference
  10. rbee Newcomer, in training

    Just found this forum discussion yesterday. My problem seems to be related to a generic volume driver that was somehow corrupted when I tried to download pictures from a Samsung camera recently purchased. Have run the Drivecleanup but the same message error "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)" when I plug a device in again. I have 3 flash drives all of different manufacture, so I am pretty sure it is not a drive problem. The Disk Manager sees the drive but not allow access to it- calls for a refresh or reboot which doesn't solve that issue. Any suggestions??
  11. LookinAround TechSpot Chancellor Posts: 7,677   +39

  12. rbee Newcomer, in training

    Found and removed a lower filter. Problem still exists--attached. Am I correct in thinking that doing a system repair will not drill down to these drivers?

    Attached Files:

  13. LookinAround TechSpot Chancellor Posts: 7,677   +39

    It's worth trying a system restore to a point prior to the problem. That might restore drivers to prior state
  14. rbee Newcomer, in training

    Don't recall how or where I found some driver sets that appeared to have been installed late last year. Unfortunately my restore points do not go back that far. Have been talking to Samsung, so far they are not able to tell me how just connecting their camera to my computer is causing this problem, altho the first contact said this particular camera was not compatible with Win 7 64bit.
    Is there any way to access the software that controls the Storage volumes and replace them?
  15. LookinAround TechSpot Chancellor Posts: 7,677   +39

    This is just a guess but let's see where it takes us.

    There may also be filters installed for "Storage Volumes". (The Guide you followed before was for "Disk" filters). I'd like to see what is listed in your registry for Storage Volumes but do NOT delete anything yet. If you could just take a snapshot i will look at them first.

    If you follow the same procedure you did earlier to open an elevated command prompt. Then this time copy/paste the regjump command below into the elevated command prompt window
    Code:
    regjump HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71a27cdd-812a-11d0-bec7-08002be2092f}
    Don't delete anything, just take snapshot please. (p.s. It may take me a couple days before i have a chance to reply back to you again)

    /* EDIT */
    btw.. i just happened across your post in the Windows Sevenforums HERE which was also helpful. I can explain what i'm looking for in your registry list of Storage Volume filters. The question is if you have an upper or lower filter appear in the registry which is NOT also listed (and/or not found) when you view the Generic Volume in Device Manager->Driver File Details. Because if the driver filter filename appears in the registry but the file doesn't exist on disk you can get the code 39 (because Windows then can't start the driver because the file is not found). But, again, for this case don't delete anything on your own. Let's just check first
  16. rbee Newcomer, in training

    registry shot attached-hoping this may get us somewhere!!

    Attached Files:

  17. LookinAround TechSpot Chancellor Posts: 7,677   +39

    Based on your registry snapshot, I found one more thing you can try. It looks like you have (or had) Acronis True Image installed?

    The two Lower filters (fvevol and rdyboost) in your registry are from Microsoft. (And i find them on my Win 7 system as well). The Upper Filter (tdrpman) is part of Acronis True Image. Try this

    1. Create a System Restore point first
    2. Delete only the UpperFilter from the registry to remove the Acronis filter driver
    3. Reboot and retest

    In any case, after reboot/test i'd also uninstall then reinstall your Acronis True Image since we removed an Acronis filter (which might have been corrupt/still needed if you use Acronis). I'll keep my fingers crossed!
  18. rbee Newcomer, in training

    THANK YOU, THANK YOU!! I was wrongly ignoring the possibility that Acronis was the culprit being unsuccessfully uninstalled a few months ago. Strange it seems, that a problem showed up now. However all seems well now and I really appreciate your help.
    Thanks again
  19. LookinAround TechSpot Chancellor Posts: 7,677   +39

    You're most welcome! Glad to hear the good news and happy to have been able to help :)
  20. easytiger Newcomer, in training

    Thanks!!!

    I just wanted to say thanks for this walk through. I was having the same issue with my flash drives where Win7 docks them but doesn't install them. :confused: My WD external HDD, Rosewill Webcam, Wacom Intuos4 tablet all installed without issues on a new install. Win7 just wouldn't recognize my flash drives. Now everything works great. Thanks again. :D