GuideIssuesFiles and Drives Remove drive from showing up under "Safely Remove Hardware" list Updated November 07 2025
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 Clipboardreg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device" /f /v TreatAsInternalPort /t REG_MULTI_SZ /d X


Reboot.

https://support.microsoft.com/en-us/topic/internal-sata-drives-show-up-as-removeable-media-1f806a64-8661-95a6-adc7-ce65a976c8dd
Search Keywords: Internal, USB, Removable, Permanent




©2024 - Some portions of this website are Copyrighted.
Your IP: 216.73.216.122     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy