How do I stop my HDDs from showing in the safely remove hardware list?

All we need is an easy explanation of the problem, so here it is.

I have just successfully switched from IDE mode to ACHI mode on my mobo, but now all my HDD’s show up in the safely remove hardware list. How do I stop this?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

As administrator, open a command window and execute the following command to add registry keys for each of the SATA devices you want to hide:

reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller(n)\Channel(m)" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001

Change (n) for the controller number, e.g. ‘Controller0’. Change (m) to the SATA port number e.g. Channel1, Channel2, Channel3… etc.

To get the controller and channel for your device, use Computer Management, then Disk Management and right click on the grey box entitled “Disk X” next to the disk graph display and then select Properties to bring up properties for the hardware device. Location is the controller, and channel is (not surprisingly) the channel.

Then reboot and the drives will no longer show.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply