Categories
Knowledge Support Support exacqVision Server Categories

Internal SATA Drives Show up as Removeable Media

Description

In some cases Internal SATA devices (HDDs or SSDs) may show as removable media in your task bar.  Consequently, the safe removal icon appears for the disk in the system tray (as if it is a common USB flash drive).

Products

  • Windows 10
  • Windows 7 Enterprise

Expected Results

The SSD/SATA Drive shows as a Disk Drive

Actual Results

The SSD/SATA Drive shows as a Disk Drive

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:

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 x corresponds to the Bus Number you noted in step 4.

  1. For Windows 8 and later:

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.

Note:  See https://support.microsoft.com/en-us/topic/internal-sata-drives-show-up-as-removeable-media-1f806a64-8661-95a6-adc7-ce65a976c8dd for additional information.