To do it, run the regedit.exe and go to the reg key HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller(n)\Channel(N), where (n) is the number of the controller the drive is connected through and (N) is the number of the controller channel (port). In Windows 7, you can mark the controller port as internal using the TreatAsInternalPort registry parameter. In my example, the bus and port numbers is 0.
Remember the Bus Number and port number of your disk ( Target ID). To do it, open the Device Manager ( devmgmt.msc), find your drive in the list of Disk drives and open its properties. Create a DWORD parameter with the name DisableRemovable and the value 1 (note that instead the nvata there may be the nvatabus reg key).Īlso, there is an universal way to set the “Internal Port” disk attribute for the specific controller port in the registry.įirst of all, you have to detect the bus number of the controller that uses your hard drive. Run the regedit.exe and go to the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvata. You can disable Safe Removal of the internal drives on the NVidia controllers through the registry. TreatAsInternalPort: How to Configure SATA Mode via the Registry? Also, you can change the controller mode from AHCI to IDE, but then you will lose all the AHCI advantages. Make sure if this feature is available for your computer. In the advanced settings of some BIOS/UEFI versions, you can disable HotSwap or HotPlug mode for the controller. Also install the native driver for you motherboard chipset (Intel Rapid, RST and AHCI Driver, Intel Matrix Storage Manager, etc.). Try to find the latest version of a hard drive controller driver on the website of your motherboard or computer manufacturer. If your internal SATA/SSD is displayed in the Safely Remove Hardware list, you should try to install a more suitable controller driver.
However, most chipset vendors integrate the feature of automatic hiding of internal SATA drives either in their drivers or in the additional software. Theoretically, SATA drives working in this mode are to be displayed in the Safely Remove Hardware icon on the taskbar. This feature is always supported if the controller works in the AHCI mode. When connecting these drives, the operating system checks if HotPlug mode (hot drive removal) is supported. This problem is related to the using of common driver both for internal SATA and external eSATA hard drives in Windows - Standard SATA AHCI controller. Another disadvantage of such “ Removable” drives is that in Windows 7 and 8.1 you cannot create a multiple partitions on it (this is possible only in Windor newer). Of course, you won’t be able to eject the SATA drive, on which Windows is installed, on the fly, but you may accidentally remove the additional SATA disk.