Drives incorrectly recognised as removable; fix via registry made one


  1. Posts : 247
    Windows 10 Pro
       #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.

    Drives incorrectly recognised as removable; fix via registry made one-del.png
      My Computer

  2. AndreTen's Avatar
    Posts : 20,714
    Windows 10 (Pro and Insider Pro)
       #2

    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 Computers

  3. Try3's Avatar
    Posts : 4,391
    Windows 10 Home x64 Version 1909 Build 18363.778
       #3

    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.

    Denis
      My Computer

  4. muchomurka's Avatar
    Posts : 718
    _
       #4

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device]
    "TreatAsInternalPort"=hex(7):30,00,00,00,31,00,00,00,32,00,00,00,33,00,00,00,\
      34,00,00,00,35,00,00,00,36,00,00,00,37,00,00,00,00,00
    NonRemovableDrives.reg
      My Computer


 

Related Threads
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 18:08.
Find Us




Windows 10 Forums