I have the USB mass storage function working and my USB drive mounts and
unmounts as expected.

I have the following registry keys:

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
"DLL"="USBMSC.DLL"
"Prefix"="DSK"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
"DLL"="USBMSC.DLL"
"Prefix"="DSK"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
"DLL"="USBDISK6.DLL"
"Prefix"="DSK"
"FSD"="UDFS.DLL"
"Folder"="USB Disk"
"IOCTL"=dword:4
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
"DLL"="USBDISK6.DLL"
"Prefix"="DSK"
"FSD"="FATFS.DLL"
"Folder"="USB Disk"
"IOCTL"=dword:4


I would have thought the drive would show up as a "USB Disk" in file
explorer but it does not. It shows up as "Hard Disk".
I know this is a minor annoyance but is there a way to correct it?

Re: Hard Disk vs USB drive by ctacke/>

ctacke/>
Thu Apr 05 08:09:49 CDT 2007

For whatever reason that "Folder" key isn't used. Look here:

HKLM\SYSTEM\StorageManager\Profiles\USBHDProfile


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Skin Diver" <me@home.com> wrote in message
news:urG0lC4dHHA.4020@TK2MSFTNGP06.phx.gbl...
>I have the USB mass storage function working and my USB drive mounts and
>unmounts as expected.
>
> I have the following registry keys:
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
> "DLL"="USBMSC.DLL"
> "Prefix"="DSK"
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
> "DLL"="USBMSC.DLL"
> "Prefix"="DSK"
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
> "DLL"="USBDISK6.DLL"
> "Prefix"="DSK"
> "FSD"="UDFS.DLL"
> "Folder"="USB Disk"
> "IOCTL"=dword:4
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
> "DLL"="USBDISK6.DLL"
> "Prefix"="DSK"
> "FSD"="FATFS.DLL"
> "Folder"="USB Disk"
> "IOCTL"=dword:4
>
>
> I would have thought the drive would show up as a "USB Disk" in file
> explorer but it does not. It shows up as "Hard Disk".
> I know this is a minor annoyance but is there a way to correct it?
>
>
>
>
>



Re: Hard Disk vs USB drive by Bruce

Bruce
Thu Apr 05 08:12:48 CDT 2007

A quick search of reginit.ini finds:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBHDProfile]
"Name"="USB Hard Disk Drive"
"Folder"="Hard Disk"

Changing Folder to something else will change the name that is displayed.

If that is "correcting" it, then there you have it. Of course your system
will be different from all the rest, which means that your correction may be
confusing to others.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member



Re: Hard Disk vs USB drive by Bill

Bill
Thu Apr 05 16:28:34 CDT 2007

I actually found another reason to change the name. On our hardware, the
internal CF card is on IDE and the driver for it loads after the USB mass
storage device if a USB mass storage device is connected at boot. This
causes the USB drive to be identified as Hard Disk and the internal CF card
to be identified as Hard Disk2. With no USB mass storage device connected
at boot, the internal CF card is identified as Hard Disk and when a USB mass
storage device is subsequently connected it is identified as Hard Disk2.
Although I may have been able to correct the problem by messing with driver
load order, it seems simpler and clearer to simply change the name and that
is what I did.

"Skin Diver" <me@home.com> wrote in message
news:urG0lC4dHHA.4020@TK2MSFTNGP06.phx.gbl...
>I have the USB mass storage function working and my USB drive mounts and
>unmounts as expected.
>
> I have the following registry keys:
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
> "DLL"="USBMSC.DLL"
> "Prefix"="DSK"
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
> "DLL"="USBMSC.DLL"
> "Prefix"="DSK"
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
> "DLL"="USBDISK6.DLL"
> "Prefix"="DSK"
> "FSD"="UDFS.DLL"
> "Folder"="USB Disk"
> "IOCTL"=dword:4
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
> "DLL"="USBDISK6.DLL"
> "Prefix"="DSK"
> "FSD"="FATFS.DLL"
> "Folder"="USB Disk"
> "IOCTL"=dword:4
>
>
> I would have thought the drive would show up as a "USB Disk" in file
> explorer but it does not. It shows up as "Hard Disk".
> I know this is a minor annoyance but is there a way to correct it?
>
>
>
>
>