Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Internal SATA Drives show up as removeable media


View products that this article applies to.

Symptoms

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


↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3083627
Revision : 1
Created on : 1/7/2017
Published on : 9/30/2015
Exists online : False
Views : 204