SATA HDD & SSD shown as removable

Bios does not have Hot Swap options for SATA drives.
Interface is AHCI.
Have tried: ” reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d x”
Which corrects for one drive but when run on the second drive the first drive reverts to removable.
I doubt very much that this is a driver issue; it’s just a typical Windows SNAFU.

I had the same problem but only had one drive. I found this in another forum and decided to save it. 

If Kbird’s solution does not work try navigating to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\storahci\Parameters\Device in the registry. Once you are on the Device Key, In the right hand plane, right click and create a new Multi-String Value Name the new value TreatAsInternalPort Double click the new value to edit it. In the Value Data section, start with 0 then 1 2 3 depending on how many ports you have. The trick here is they must be numbered vertically. The value data section will look like this:


The example will work for four ports.