12

I have replaced the DVD Drive in my Laptop with a S-ATA Hard Drive, which works well. However, Windows believes that the hard drive is removable and lists it e.g. in the "Safely remove hardware and eject media" popup, or for any applications that show a list of removable drives.

Is there a way to have Windows treat the hard drive like a non-removable/fixed drive?

  • In device manager (win XP) right click on that drive -> Properties -> Policies: tick "Optimized for performance". I do not have win10 cannot check if that option exits in win10. – Guntis Sep 28 '16 at 17:34
4

Tested on Windows 10 with the standard issue Microsoft issued chipset.

  • Launch "regedit".
  • Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device, create a new REG_MULTI_SZ. Label it TreatAsInternalPort.
  • In the "Values" box, enter the port values which you would like to mark as non-removable, i.e. enter '0' for port '0'

enter image description here

I believe this setting is also dependent on your chipset/drive controller. As such, a different chipset maker might have a different registry entry for this configuration.

  • Might want to add whichchipset you tested that with. – Hennes Sep 27 '16 at 14:46
  • Indeed, this won't work for Intel's iaStorA, but it works for standard Microsoft storahci. Thanks! – Michael Stum Sep 27 '16 at 22:04
  • How do I find out which port number corresponds to a disk? – Dmitry Grigoryev May 19 '19 at 13:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.