Internal SSD/SATA Drive Shows as a Removable in Windows

In some instances Windows 10, eight.1 and seven could acknowledge an inner SSD or SATA drive as a detachable system (media). Consequently, the secure elimination icon seems for the disk in the system tray (as whether it is a widespread USB flash drive).

Internal hard drives showing as removable in Windows 10

Of course, you received’t be capable of eject the SATA drive, on which Windows is put in, on the fly, however you could by chance take away the extra SATA disk. Another drawback of such “” drives is that in Windows 7 and eight.1 you can not create a a number of partitions on it (that is solely in Windows 10 1703 or newer).

This drawback is expounded to the utilizing of widespread driver each for inner SATA and exterior eSATA arduous drives in Windows — Standard SATA AHCI controller. When connecting these drives, the working system checks if HotPlug mode (sizzling drive elimination) is supported. This function is at all times supported if the controller works in the AHCI mode. Theoretically, SATA drives working in this mode are to be displayed in the Safely Remove Hardware icon on the taskbar. However, most chipset distributors combine the function of computerized hiding of inner SATA drives both in their drivers or in the extra software program.

Installing SATA Controller Driver

If your inner SATA/SSD is displayed in the Safely Remove Hardware record, it is best to attempt to set up a extra appropriate controller driver. Try to seek out the latest model of a arduous drive controller driver on the web site of your motherboard or pc producer. Also set up the native driver for you motherboard chipset (Intel Rapid, RST and AHCI Driver, Intel Matrix Storage Manager, and so on.).

SATA Controller Settings in BIOS

In the superior settings of some BIOS/UEFI variations, you’ll be able to disable HotSwap or HotPlug mode for the controller. Make certain if this function is offered to your pc. Also, you’ll be able to change the controller mode from AHCI to IDE, however then you’ll lose all of the AHCI benefits.

TreatAsInternalPort: How to Configure SATA Mode by way of the Registry?

You can disable Safe Removal of the interior drives on the NVidia controllers by way of the registry. Run the regedit.exe and go to the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesnvata. Create a DWORD parameter with the identify DisableRemovable and the worth 1 (word that as a substitute the nvata there could be the nvatabus reg key).

Also, there’s an common strategy to set the “Internal Port” disk attribute for the particular controller port in the registry.

First of all, it’s a must to detect the bus variety of the controller that makes use of your arduous drive. To do it, open the Device Manager (devmgmt.msc), discover your drive in the record of Disk drives and open its properties. Remember the Bus Number and port variety of your disk (Target ID). In my instance, the bus and port numbers is zero.

get controller and port number for the sata drive

In Windows 7, you’ll be able to mark the controller port as inner utilizing the TreatAsInternalPort registry parameter. To do it, run the regedit.exe and go to the reg key HKLMSYSTEMCurrentControlSetServicesmsahciController(n)Channel(N), the place (n) is the variety of the controller the drive is related by way of and (N) is the variety of the controller channel (port).

In this registry key, create a DWORD parameter with the identify TreatAsInternalPort and worth 1.

This must be accomplished for all SATA drives that you simply wish to mark as inner ones. For instance, you may have 2 drive controllers in your pc. The first one has two SATA drives related, and yet another SATA drive is related to the second controller. To mark them as inner drives, run these instructions:

reg add "HKLMSYSTEMCurrentControlSetServicesmsahciControllerzeroChannelzero" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
reg add "HKLMSYSTEMCurrentControlSetServicesmsahciControllerzeroChannel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
reg add "HKLMSYSTEMCurrentControlSetServicesmsahciController1Channelzero" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001

After making the adjustments, you must restart the pc.

Please word that the numbers assigned to the disks (which you see in diskpart or diskmgmt.msc) don’t at all times correspond to SATA or RAID channel numbers.

In Windows 10/eight.1, the StorAHCI driver is used as a substitute of MSAHCI, so the placement of TreatAsInternalPort parameter in registry is completely different. Go to the important thing HKLMSYSTEMCurrentControlSetServicesstorahciParametersDevice, create a multi-string parameter (REG_MULTI_SZ) TreatAsInternalPort and in every string specify the port variety of your SATA controller you wish to mark as inner. For instance, to mark all drives from zero to three as inner, set the next worth of the TreatAsInternalPort parameter:

zero
1
2
three

set TreatAsInternalPort registry parameter on windows 10

Then restart your pc and all SATA/SSD drives with port numbers from zero to three will probably be hidden from the Safe Removal record and can not be displayed as detachable.

 

Check Also

Configuring L2TP/IPSec VPN Connection Behind a NAT, VPN Error Code 809

Due to disabling PPTP VPN help in iOS, one in all my shoppers determined to …

Leave a Reply

Your email address will not be published. Required fields are marked *