Internal SSD/SATA Drive Shows as a Removable in Windows

  • Post author:
  • Post category:World Tech

In some cases, Windows 10, 8.1 and 7 may recognize the internal SSD or SATA drive as a removable disk (mass storage device). The drive will then display a safe ejection icon in the taskbar (just like a normal USB stick).

are displayed as removable.

Of course, you cannot uninstall a SATA drive with Windows installed while it is running, but you can accidentally uninstall an additional SATA drive. Another disadvantage of these removable disks is that you cannot create multiple partitions on them in Windows 7 and 8.1 (this is only possible from Windows 10 1703).

This problem is related to the use of a common driver for internal SATA hard drives and external eSATA hard drives in Windows – the standard SATA AHCI controller. When connecting these drives, the control system checks whether the HotPlug mode is supported. This function is always supported when the controller is operating in AHCI mode. In theory, SATA disks operating in this mode should appear in the Safely Remove Hardware icon on the taskbar. However, most chip manufacturers include automatic masking of internal SATA disks in the drivers or in additional software.

SATA Control Unit Installation

If the internal SATA/SSD appears in the Safely Remove Hardware list, try installing a more suitable driver for the controller. Try checking your motherboard or computer manufacturer’s website for the latest hard drive drivers. Also install the motherboard’s native chipset driver (Intel Rapid, RST, AHCI, Intel Matrix Storage Manager, etc.).

SATA controller settings in BIOS

In the advanced settings of some BIOS/UEFI versions, you can disable the controller’s HotSwap or HotPlug mode. Make sure this function is available for your computer. You can also change the control mode from AHCI to IDE, but you will lose all the benefits of AHCI.

Internal connection: How do I configure the SATA mode from the registry?

You can safely disable the internal disk removal function on NVidia controllers from the registry. Run regedit.exe and locate the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesnvata. Create a DWORD parameter called DisableRemovable with a value of 1 (note that the reg key nvatabus can be used instead of nvata).

There is also a universal way to set the Internal Gate Drive attribute for a specific control port in the registry.

First you need to determine the bus number of the controller that uses the hard disk drive. To do this, open the device manager (devmgmt.msc), locate your disk in the list of disks, and open its properties. Write down the bus number and port number of your player (Target ID). In my example the bus and port numbers are 0.

 

In Windows 7, you can mark a controller port as internal with the TreatAsInternalPort registry setting. To do this, run regedit.exe and go to reg HKLMSYSTEMCurrentControlSetServicesmsahciController(n)Channel(N), where (n) is the number of the controller the player is connected to and (N) is the channel (port) number of the controller.

Create in this registration key a DWORD parameter called TreatAsInternalPort with a value of 1.

This must be done for all SATA disks to be marked as internal. For example, a computer has two hard disk controllers. Two SATA drives are connected to the first controller and another SATA drive is connected to the second controller. To mark them as internal disks, execute these commands:

add reg HKLMSYSTEMCurrentControlSetServicesmsahciController0Channel0 /f /v TreatAsInternalPort /t REG_DWORD /d 0x000001
add reg HKLMSYSTEMCurrentControlSetServicesmsahciController0Channel1 /f /v TreatAsInternalPort /t REG_DWORD /d 0x000001
add reg HKLMSYSTEMCurrentControlSetServicesmsahciController1Channel0 /f /v TreatAsInternalPort /t REG_DWORD /d 0x0001

After making the changes, you will need to restart your computer. Note that the numbers assigned to the disks (as seen in diskpart or diskkmgmt.msc) do not always match the SATA or RAID channel numbers.

Windows 10/8.1 uses the StorAHCI driver instead of MSAHCI, so the location of the TreatAsInternalPort parameter in the registry is different. Go to the HKLMSYSTEMCurrentControlSetServicesstorahciParametersDevice key, create a multiline parameter (REG_MULTI_SZ) TreatAsInternalPort and specify the port number of your SATA controller that you want to mark as internal on each line. All the way to the z. For example, to mark all disks from 0 to 3 as internal, set the TreatAsInternalPort parameter to the following value :

0
1
2
3

.

Then reboot your computer and all SATA/SSD disks with port numbers 0 to 3 will be hidden in the secure wipe list and no longer appear as removable disks.

Related Tags:

ssd recognized as usb,hard drive can be ejected,select what happens to removable drives,windows 10 thinks it's windows to go,windows 10 safely remove hardware hard drive,is internal hard disk fixed,make windows think usb drive is internal,eject local disk c,is the disk in the c drive fixed or removable,ssd showing up as usb drive,ssd removable drive,ahci/raid driver,eject ssd windows 10,disable safe removal of internal hard disk,c drive safely remove hardware,internal hard disk is removable,external hard drive showing as removable disk,internal hard drive showing up as a removable device windows 7,internal hard drive showing up as a removable device windows 10,how can i remove the option to eject sata drives from the windows 10 tray icon?,internal hard drive shows up in safely remove hardware,accidentally ejected internal hard drive windows,removable usb flash drive as local hdd in windows 10,windows 10 c drive ejectable