|
Open Device Manager, find the drive, open it's properties. In the 'Location' setting, look for "Bus number X". Use that number in the command below.
Run this as Administrator, or edit it manually. Copy to Clipboard
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device" /f /v TreatAsInternalPort /t REG_MULTI_SZ /d XReboot. https://support.microsoft.com/en-us/topic/internal-sata-drives-show-up-as-removeable-media-1f806a64-8661-95a6-adc7-ce65a976c8dd |