Windows 11 also suffers from a problem that has affected the Microsoft operating system since the release of Windows 7: internal SATA drives are incorrectly detected as removable devices. Here’s how to fix the problem.

Microsoft has confirmed that too Windows 11 suffers from an atavistic bug whose presence has been gradually detected in all the various versions of the operating system, from Windows 7 onwards.

The problem in question is related to the firmware of various models of storage drives SATA: from magnetomechanical hard drives to the fastest SSD drives. In some cases, the supports for it data storage they are incorrectly detected as removable drives and appear as such in the Windows system tray.

The Redmond company technicians explain that a storage device is considered removable or not on the basis of the information returned by the BIOS and how it marks the various SATA ports on the motherboard. The driver directly inspects the SATA ports and considers devices connected to ports marked “external” as removable devices.

The thing is, years later, still today some SATA drive models are shown as removable devices and appear in the application bar of Windows 11 within the list that appears with a click on the safely remove hardware icon.

How to prevent a SATA drive from being incorrectly recognized as a removable device

To make Windows 11 recognize a SATA storage medium internal correctly and not instead as a removable device, Microsoft suggests first of all to check the availability of new versions of the motherboard firmware on the manufacturer’s website. The motherboard will then need to be updated to the latest BIOS version.

After doing this important step, you can press the key combination Windows+Rto type devmgmt.mscthen double-click on the section Disk drive. Double-clicking the name of the storage drive which is mistakenly recognized as an external device should note down the number of buses (Bus number) detectable in correspondence with the item Location.

As the next step, you have to type cmd in the search box, select Run as administrator then type the command:

reg add "HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device" /v TreatAsInternalPort /t REG_MULTI_SZ /d N /f

Instead of the letter “N”, in the previous command, the bus number extracted from the properties window must be indicated Device management.

After restarting the Windows machine, the system should recognize the SATA drive as internal and avoid listing it as removable devices.


Please enter your comment!
Please enter your name here