When you switch your SATA drives to AHCI mode, they may appear as ejectable devices in the Remove Devices app in Windows. If you prefer not to have them listed there, you can follow these steps to prevent them from showing up as ejectable devices: 
Method 1: Disable Hot Swapping for SATA Drives
 
- Press Win + Rto open the Run dialog box.
- Type regeditand press Enter to open the Registry Editor.
- Navigate to the following Registry key: 
	
	
	
		Code:
	 
		 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\storahci\Parameters\Device
 
 
 
- Right-click on an empty space in the right pane and choose New > DWORD (32-bit) Value.
- Name the new value TreatAsInternalPort.
- Double-click on the newly created value...