<p>Microsoft has recently confirmed that Windows 11 is also affected by the old bug related to SATA or Serial Advanced Technology Attachment.</p>
<p><img class="alignnone size-full wp-image-2938" src="https://www.wincert.net/wp-content/uploads/2019/01/hard-disk-drive.jpg" alt="7GB of disk space" width="640" height="426" /></p>
<p>The bug is related to SATA firmware where HDD or NAND flash-based SSDs are misread and detected as removable media in the Windows taskbar. As per Microsoft, this bug is rather old now; it affects all newer systems than Windows Vista including Windows 11.</p>
<p>According to Microsoft, whether or not a device is considered removable is determined by the system&#8217;s BIOS. The problem lies in the inbox driver which directly inspects SATA ports and detects connected devices to those ports marked &#8220;external&#8221; or removable devices. This can be a potential cause for corruption or data loss.</p>
<p>Microsoft has posted a solution for this issue that should work on Windows 8, 8.1, 10, and Windows 11.</p>
<p>Before you do anything, check if there is an available BIOS update from the PC or MBO manufacturer&#8217;s website.</p>
<p>If there is no BIOS update available and you&#8217;re still experiencing this problem here&#8217;s how you can override the way the inbox driver detects devices on certain ports.</p>
<p>Open command prompt in elevated mode (run as administrator)</p>
<p>type <strong>devmgmt.msc</strong> and click enter.</p>
<p>Under Disk Drives, select the SATA device you would like to be identified as internal by the inbox driver and open its <strong>properties</strong>.</p>
<p><img class="alignnone size-full wp-image-5046" src="https://www.wincert.net/wp-content/uploads/2023/05/disk-drive-properties.png" alt="" width="549" height="199" /></p>
<p>Take note of the <strong>Bus Number</strong>.</p>
<p>Run the following command to create a registry key:</p>
<blockquote><p>reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d <strong>X</strong></p></blockquote>
<p>Replace the <strong>X</strong> with the <strong>Bus Number</strong> you got in the previous step.</p>