How do I identify the channel and controller of a drive?

cellod

Honorable
May 2, 2013
26
0
10,540
I'm having a problem, and somebody suggested the following solution:

Copy and paste the following command into the command prompt:
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller(n)\Channel(N)" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001

Change (n) for the contoller number – 0 on my machine ie. 'Controller0' and change Channel (N) for the SATA port number – 1 – 5 on my machine ie. Channel1, Channel2, channel3....etc

My question is this: How do I figure out which controller and channel my drives are on?