Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Internal SATA devices (HDDs or SSDs) may show as removable media in your task bar.


Cause

Whether or not a device is considered removable is determined by your system’s BIOS and how it marks the various SATA ports on the motherboard. The inbox driver directly inspects SATA ports and considers devices connected to those ports marked “external” as removable devices. Not all storage drivers do this, which can be a potential cause for corruption or data loss.

Resolution

First, check for and install available BIOS updates from your PC manufacturer. If none are available, you can follow these steps to override the way the inbox driver surfaces devices on certain ports:

  1. Open a command prompt with administrator privileges.

  2. In the command prompt window, type the following command in hit Enter: devmgmt.msc

  3. Under Disk Drives, identify the SATA device you would like the inbox driver to consider internal and open properties for this device by right-clicking and selecting Properties.

  4. Note the bus number from the properties overview (“1” in the below example).

  5. For Windows 7:

    1. Type the following command in the previously opened command prompt and hit Enter:

      reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channelx\” /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
      Where xcorresponds to the Bus Number you noted in step 4.


  6. For Windows 8 and later:

    1. Type the following command in the previously opened command prompt and hit Enter:

      reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d x
      Where x corresponds to the Bus Number you noted in step 4.


Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×