Windows 7 Remove Eject HDD Notice after AHCI

edbro

New Member
Joined
Apr 10, 2009
Messages
34
I recently enabled AHCI mode for my SATA drives. Now they show up in the Remove Devices app as ejectable. Is there a way to disable having them in there?
 

Solution
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​

  1. Press Win + R to open the Run dialog box.
  2. Type regedit and press Enter to open the Registry Editor.
  3. Navigate to the following Registry key:
    Code:
     HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\storahci\Parameters\Device
  4. Right-click on an empty space in the right pane and choose New > DWORD (32-bit) Value.
  5. Name the new value TreatAsInternalPort.
  6. Double-click on the newly created value...
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​

  1. Press Win + R to open the Run dialog box.
  2. Type regedit and press Enter to open the Registry Editor.
  3. Navigate to the following Registry key:
    Code:
     HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\storahci\Parameters\Device
  4. Right-click on an empty space in the right pane and choose New > DWORD (32-bit) Value.
  5. Name the new value TreatAsInternalPort.
  6. Double-click on the newly created value and set its data to 1.
  7. Restart your computer for the changes to take effect.

    Method 2: Use Device Manager​

  8. Right-click on the Start menu and select Device Manager.
  9. Expand the Storage controllers category.
  10. Right-click on the AHCI controller and select Properties.
  11. Go to the Policies tab.
  12. Uncheck the option that allows the device to be safely removed.
  13. Click OK to save the changes. After applying either of these methods, your SATA drives should no longer appear as ejectable devices in the Remove Devices app. Remember to proceed with caution when modifying the Windows Registry. Making incorrect changes can cause system instability or data loss. It's recommended to back up your important data before making any changes.
 

Solution
Back
Top