New
#1
Drives incorrectly recognised as removable; fix via registry made one
I have multiple internal HDDs recognised by Windows as portable/removable drives. I tried using the linked instructions to get Windows to recognise them as internal/non-removable and failed. I used the following commands:
reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d 0
reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d 1
reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d 2
reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d 3
Since I had four drives on those busses. I restarted my PC and it seems to have done nothing to address the problem and has knocked one drive off-line (an m.2 SSD which is connected to my motherboard via a PCIE adapter).
If I open the registry and go to the relevant section, I see that there is just one entry containing 3, with the previous three additions being overwritten; a kind of pointless "solution" to my problem. If I delete TreatAsInternalPort, will that be likely to restore my missing SSD? Thanks.