USB Flash Drive - Local Disk vs Removable Disk

J

John Mueske

My build of XPe on the target device shows a USB flash drive as a "local
disk". How can I get it to recognize it as a "removable disk"?

John
 
K

kthompson

My build of XPe on the target device shows a USB flash drive as a "local
disk". How can I get it to recognize it as a "removable disk"?

John

You may need to add the Removable Storage service to your build.
 
J

John Mueske

The removable storage service is already part of my build. Any other ideas?
I'll try the removable storage MMC snap-in.

The reason I ask is we've had many USB flash drives go bad recently. If the
system recogizes it as local disk rather than removable disk, could we have
ruined them due to not safely removing hardware?

John
 
G

Guest

We also had the same problem. It appears that the issue has to do with a
specific version of the usb driver, usbstor.sys. The answer is to remove the
"USB Boot Mass Storage Device" component from Target Designer and rebuild
(you will also have to remove any components that depend on this component).

I should point out that after we rebuilt with the component removed, we
copied the new usbstor.sys driver file over to the system32 folder on our
target machine that was having the problem. The problem was fixed, so this
verifies that the usbstor.sys was definitely causing the problem.
usbstor.sys version 5.1.2600.2996 does not work, version 5.1.2600.2180 works.

Also, we found this solution at:
http://forums.microsoft.com/EmbeddedWindows/ShowPost.aspx?PostID=1784036&SiteID=47
 
J

John Mueske

Hi VFaul,

Thanks for the info! This might be a silly question, but how do I find out
what dependent upon the "USB Boot Mass Storage Device" component? It keeps
adding it to my image.

John
 
G

Guest

The component is getting added back in because you have "auto-resolve
dependencies" enabled and other components need the one you removed. You can
disable auto-resolve in Tools->Options and select the "Dependency Check" tab.
It is your decision whether you want to disable it or not. If it is
disabled and there are unresolved dependencies when you build, you will get
errors rather than the tool automatically adding the components back in.

To determine if there are dependencies, click the "Check Dependencies"
button on the toolbar or press F5.

The three components we had to disable/remove are:
USB Boot Mass Storage Device
USB Boot 2.0
USB NT Hardware Detect
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top