Internal-SATA-Drives-Show-Up-As-Removeable-Media

Treat As Internal Port Windows 7-8-10

 

Internal-SATA-Drives-Show-Up-As-Removeable-Media

 

Do you have an internal drive showing as a removeable drive when clicking on the Safely Remove Hardware icon on the taskbar?

interalsr

 

 

Step 1 Open a command prompt [CMD] with administrator privileges.

 

Not sure how to do this? – check this link

 

Step 2 In the command prompt window, type the following command: devmgmt.msc press enter

 

Step 3 Under Disk Drives, identify the SATA device you would like the inbox driver to consider internal and open properties for this device by right-clicking and selecting Properties.

 

Step 4  Note the Channel number from the properties overview (“0” in the below example).

findchannumber

 

2nd example:

Note the Channel number from the properties overview (“1” in the below example).

 

findchannumber2

 

Warning: You should ALWAYS back up your registry before you make changes –

 

Open Run box, press Windows key plus R’ key, type regedit and press OK to open the Registry Editor. To back up the complete Registry, select Computer and right-click on it. Now select Export. Give the file a name and select a location where you want it saved.

 

For Windows 7:
Type or copy and paste the following command in the previously opened command prompt and press Enter:

reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channelx\” /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
Where x corresponds to the Channel Number you noted in step 4.
For Windows 8 and later:
Type or copy and paste the following command in the previously opened command prompt and press Enter:

reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d x
Where x corresponds to the Channel Number you noted in step 4.

 

Close the CMD prompt by typing exit and reboot computer. Those drives should now be excluded as removeable drives.

 

Applies to:

Windows 10, Windows 8, Windows 8.1, Windows 7 Enterprise, Windows 7 Home Premium, Windows 7 Home Basic, Windows 7 Professional, Windows 7 Ultimate

 

https://support.microsoft.com/en-au/help/3083627/internal-sata-drives-show-up-as-removeable-media

 

If you need help with this please contact me;  robert@bobthehelper.com.au or call me on 0418 530 133