Can I mark a Hard Drive as non-removable?

13

3

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?

Michael Stum

Posted 2016-09-25T01:57:25.863

Reputation: 3 061

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 – 2016-09-28T17:34:07.293

Answers

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.

Carrein

Posted 2016-09-25T01:57:25.863

Reputation: 1 382

Might want to add whichchipset you tested that with. – Hennes – 2016-09-27T14:46:22.623

Indeed, this won't work for Intel's iaStorA, but it works for standard Microsoft storahci. Thanks! – Michael Stum – 2016-09-27T22:04:35.187

How do I find out which port number corresponds to a disk? – Dmitry Grigoryev – 2019-05-19T13:18:31.863