Drives incorrectly recognised as removable; fix via registry made one

  1.    #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.

    Click image for larger version. 

Name:	del.png 
Views:	1 
Size:	44.5 KB 
ID:	230693
      My ComputerSystem Spec

  2. AndreTen's Avatar
    Posts : 17,172
    Windows 10 (Pro and Insider Pro)

    I hope you have system drive backup when experimenting with registry. If you don't, make one.

    From my experience, this kind of behavior can be fixed by installing Intel SATA and chipset drivers (guess you have Intel motherboard). The best would be from your manufacturer, but drivers from Intel should work too.
      My ComputersSystem Spec

  3. Try3's Avatar
    Posts : 1,743
    Windows 10 Home x64 and Pro x86

    The commands you used will always create the Registry value you found. You are changing the same item three times [not changing three different entries once each] so it stays with the final value you told it.

    I suggest you ask the writer of the instructions you followed about your case.

      My ComputerSystem Spec

  4.    #4

    Windows Registry Editor Version 5.00
      My ComputerSystem Spec


Related Threads
I found only one entry on this forum on Aeseus Todo Backup, referring to a special removal tool for Windows that deletes ATB registry entries. I found out that removetool.exe only works in Safe Mode. However, the remove tool does NOT erase every...
I think this first started being an annoyance to be back around the launch of Windows 7. I've got an entire array of drives in use on my PC at any given moment, disbonded on my task or needs. With the advent of much larger USB thumbdrives, I've...
Hi guys, This is another minor annoyance. When I insert any removable drive (USB, SD cards, etc) the device shows up twice in Explorer. Once under "This PC" tree and the other as a device. See attached pic (USB Drive H): I remember hearing...
Some drives showing as removable in Drivers and Hardware
Yesterday I went from Windows 7 to windows 10 with a clean install. My system based on an ASUS P9x79Pro motherboard has 4 internal disk drives. The first two, a 500GB SSD for the system and a 2TB spinning disk, are connected to Intel SATA 6G...
Ok, I thought this was just bitlocker stuff but its all removable drives. When I connect a removable drive I don't get a notification banner. I get a sound and the notification goes straight to Action Center instead of showing the banner. I've...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:40.
Find Us