# USB Storage Device Problem

Can anyone answer this? I've been searching for an answer for months!

I have a PC running Windows XP service Pack 3. The PC updates automatically so, as far as I am aware, is completely up to date as far as the OS is concerned.

Several months ago the PC started to have a problem when attaching a USB memory stick or USB external hard drive. When I attache one of these devices, the following sequence occurs:

1. The device is recognised with the correct name (see image baloon1.jpg)
2. The device is recognised as a disk drive (see image ballon2.jpg)
3. I receive a dialogue saying there is a problem installing (see image dialogue.jpg)

Clicking on Finish in the dialogue starts the whole sequence again. This sequence continues until I use the Safely Remove Hardware wizard to disconnect the device, when I then receive the final balloon message (see image baloon3.jpg).

All the memory sticks and external drives work perfectly on other Windows XP PCs. The problem only appears to affect storage devices. I have had USB printers, USB RFID card readers and USB virtual serial ports all attached to the same PC and USB ports with no problems.

I'll be really grateful if anyone can solve this one for me.

Balloon1.jpg
Balloon2.jpg
Dialogue.jpg
Balloon3.jpg
StorageWindows XP

Last Comment
johnb6767

8/22/2022 - Mon
Alan_White

UKGlenn

Yes. The automatic fix is for a PC unable to read or write CD/DVD (not my problem at all). As for the manual fix, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318} does not contain an UpperFilters value or a LowerFilters value. (see attached screen shot).

Thanks any way.
Registry1.jpg
Alan_White

Your help has saved me hundreds of hours of internet surfing.
fblack61
johnb6767

Paste the following commands in a CMD window, at start>run>cmd

reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor">usb.txt
reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc">>usb.txt
echo.

UKGlenn

Hi johnb6767. Heres the output:

! REG.EXE VERSION 3.0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor
Type      REG_DWORD      0x1
Start      REG_DWORD      0x3
ErrorControl      REG_DWORD      0x1
ImagePath      REG_EXPAND_SZ      System32\DRIVERS\USBSTOR.SYS
DisplayName      REG_SZ      USB Mass Storage Driver

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor\Security

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor\Enum

! REG.EXE VERSION 3.0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc
Type      REG_DWORD      0x20
Start      REG_DWORD      0x3
ErrorControl      REG_DWORD      0x1
ImagePath      REG_EXPAND_SZ      %SystemRoot%\system32\svchost.exe -k netsvcs
DisplayName      REG_SZ      Removable Storage
DependOnService      REG_MULTI_SZ      RpcSs\0\0
DependOnGroup      REG_MULTI_SZ      \0
ObjectName      REG_SZ      LocalSystem

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc\Config

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc\Parameters

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc\Security

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc\Enum
UKGlenn

Hi Alan,

Tried that MS fix too. All it did was stop the, previously working, built in memory card reader from working!

Thanks anyway.
Get an unlimited membership to EE for less than \$4 a week.
Unlimited question asking, solutions, articles and more.
johnb6767

Hmmpph....

I was expecting one of them to error.....

Post the setupapi.log from the PC, should be in C:\Windows please.....
nobus

Here a list of things to try :
-from Device manager scan for new hardware
-in device manager>view tab, click "show hidden devices" and delete all usb entries and hidden devices,  reboot and test
-then you can download the latest drivers for the chipset, and reinstall it to update the USB root hubs
-start>run>diskmgmt.msc      check if the usb devices show up in disk management, then run :   start>run>services.msc
In the listing look for removable storage service.
If it is set to Auto, and not started, then start it : click the Start link in the top left...
-In c:\windows\inf, look for usbstor.inf    -  If it is not there, you can copy it from another PC..When you find it, right click it and select Install

***instead of view hidden devices, try:
Right click Computer > Properties > Advanced System Settings at the left side >
in the Advanced tab select Environment Variables >
in System Variables click New and enter:  "devmgr_show_nonpresent_devices" without the parenthesis - enter 1 for the Value.
Click Ok and Exit.
Now delete all devices in device manager  that are not in solid black
Reboot and test
i also found Safely Remove very handy  :  http://safelyremove.com/?pid=1
UKGlenn

Hi Guys,

Thanks for all the suggestions. I am away from the PC involved untli late Thursday/ Friday but you can be sure I'll be going through all the responses as soon as I can when I return.

Glenn
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
UKGlenn

Hi Johnb6767

Here's the setupapi.log:

[SetupAPI Log]
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0300
Product Type = 1
Architecture = x86
[2011/02/24 03:01:55 4720.14]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:02:09 5948.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:02:22 5520.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:03:02 716.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:09:47 4952.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:10:02 2352.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:10:15 2368.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/02/24 03:10:29 5096.9]
#E077 Could not locate a non-empty section [iis_common_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_inetmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_pwmgr_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_www_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_doc_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
#E077 Could not locate a non-empty section [iis_ftp_install] when calculating disk space in "C:\WINDOWS\INF\iis.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/03/08 14:44:16 7900.1]
#-199 Executing "C:\Documents and Settings\Owner\Local Settings\Temp\IXP000.TMP\dasetup.exe" with command line:  /Q /N
#E077 Could not locate a non-empty section [DefaultInstall] when calculating disk space in "C:\Documents and Settings\Owner\Local Settings\Temp\IXP000.TMP\noop.inf". Error 0xe0000102: The required line was not found in the INF.
[2011/03/09 13:22:38 1544.357]
#-198 Command line processed: "C:\Program Files\Windows Embedded\bin\sdiloader.exe"
#I060 Set selected driver.
#-019 Searching for hardware ID(s): sdi,i
#I022 Found "SDI" in c:\program files\windows embedded\drivers\sdi.inf; Device: "Storage Device Image Device"; Driver: "Storage Device Image Device"; Provider: "Microsoft"; Mfg: "Microsoft"; Section name: "DiskInstall".
#I023 Actual install section: [DiskInstall.NT]. Rank: 0x00000000. Effective driver date: 08/23/2001.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [DiskInstall] in "c:\program files\windows embedded\drivers\sdi.inf".
#I320 Class GUID of device remains: {4D36E97D-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of "ROOT\SYSTEM\0008".
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [DiskInstall.NT.Interfaces] from "c:\program files\windows embedded\drivers\sdi.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "ROOT\SYSTEM\0008".
#I121 Device install of "ROOT\SYSTEM\0008" finished successfully.
[2011/03/09 13:34:25 1820.3 Driver Install]
#-019 Searching for hardware ID(s): sdi\sdidisk
#-018 Searching for compatible ID(s): gendisk
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I393 Modified INF cache "C:\WINDOWS\inf\INFCACHE.1".
#I022 Found "GenDisk" in C:\WINDOWS\inf\disk.inf; Device: "Disk drive"; Driver: "Disk drive"; Provider: "Microsoft"; Mfg: "(Standard disk drives)"; Section name: