The Safely Remove Hardware icon in Windows 8 (and 8.1) offers the ability to eject my internal SATA drives, including the boot drive (see example):
I don't see myself ever needing this – especially not from the convenience of the tray icon.
For Windows 7 exists well known solution (answer 1, answer 2, etc). But in Windows 8 msahci driver has been replaced by storahci. Unfortunately, TreatAsInternalPort workaround no longer works.
Best Answer
The
TreatAsInternalPort
value still exists in the Windows 8storahci
driver, but its syntax has changed.It is now in the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device
, and is aREG_MULTI_SZ
list of port numbers to force treating as internal.For example, to disable removability on ports 0 and 1, you would use
Unfortunately, i have no idea how these ports are numbered. ?