USB stick appearing as hard disk drive, not removable storage device

72,402

Solution 1

The problem, appears, is not Windows but the device itself. For some reason, the device is registering itself as a Mass Storage device, not a Removable Storage device.

A nifty program I found via this blog entry called BootIt solved the problem for me in a jiffy: simply switch on the "removable bit"! Unplug and replug, and you're set to go.

I understand there's a bloatware version of this program all over the internet. See if you can get version 1.07; that gets the job done.

Additional bonus of being able to switch the "removable" bit: you can partition your flash drive!

Solution 2

The drive's controller is what reports the drive as fixed or removable. So, this can only be set via utilities that can edit controller's data.

Reportedly, some manufacturers started to mark USB pendrives as fixed to make it easier to pass Win8 certification requirements (Sandisk specifically is reported to have reversed that decision since).

The BootIt utility mentioned in the other answer does exactly that. But it can only work with a limited number of controller models (one person mentions some Silicon Motion and Phison ones).

Your best shot is to find out your flash drive's controller model and use an industrial utility by its manufacturer. E.g. Silicon Motion's utility is called "SMI MPTool".

There are sites dedicated to collecting these. http://usbdev.ru has the best collection that I know of (by both content and organization) and also includes utilities to find controller model and tutorials.

E.g. SMI MPTool sets the drive as fixed/removable like this (USB-ZIP is removable, USB-HDD is fixed):

SMI MPTool settings


I must mention there exists another way - filter drivers that forge the removable bit in a drive's info - like diskmod. But that is only a temporary solution it this case. These drivers are best fit for other tasks - e.g. for a Windows installation running off a USB drive (so that it agrees to place a swap file there).

Share:
72,402
Paul Lammertsma
Author by

Paul Lammertsma

Senior Developer Relations Engineer for Android, Wear OS and Android TV. Co-founder and former CTO of Pixplicity. I occasionally speak at Android conferences and am an advocate of open software. I did both my bachelor and master at Utrecht University's Institute of Information and Computing Sciences.

Updated on September 17, 2022

Comments

  • Paul Lammertsma
    Paul Lammertsma over 1 year

    I just plugged in a very simple 1GB USB stick from the office in hopes of making it a Fedora Live USB stick. For that to work, I need a removable storage device, or else it won't appear in LiveUSB Creator's list.

    Explorer lists my USB stick as a hard disk:

    USB stick as it appears in the Explorer

    LiveUSB Creator indeed doesn't show it in the device list:

    LiveUSB Creator doesn't see the device

    Is there any way of forcing Windows to see the stick as a removable storage device?

    Edit

    From the device's properties window, I can obtain it's GUID:

    Getting the device's GUID

    With that, I can find the USBSTOR entry in the registry:

    USBSTOR entry in the registry

    However, when editing the Capabilities value to 4 (as implied by CM_DEVCAP_REMOVABLE) or 16 (as implied by the value of other USB stick entries), I receive the following error:

    Error Editing Value

    Cannot edit Capabilities: Error writing the value's new contents.

    • Paul Lammertsma
      Paul Lammertsma over 13 years
      Perhaps changing the registry tree's permissions may resolve the error, but I haven't tried this. It also seems like a dangerous operation.
    • Gandalf
      Gandalf over 13 years
  • Shevek
    Shevek about 14 years
    link now broken?
  • Shevek
    Shevek about 14 years
  • A. Prasad
    A. Prasad almost 10 years
  • ivan_pozdeev
    ivan_pozdeev over 6 years
    Another link: usbdev.ru/files/bootit