Internal/External Drive ConfusionBy Dag J, on January 25th, 2018 (updated 26th).
I had an issue with 3 drives added to a software RAID supported HBA being recognized as portable drives:
I fixed it temporarily by adding the multi-string key 'TreatAsInternalPort' (REG_MULTI_SZ) @
With Bus Numbers (from devmgmt.msc) on separate lines, like so:
Add a newline at the end so the last number gets saved.
I believe it to be the software based hotswap functionality in the RAID supported HBA (a Marvel based fakeraid card) that Windows interpreted as portable devices.
Not a real fix for my A-520 card (92xx Marvel based)
The whole system became extremely sluggish afterwards, so I had to remove the key again. I discovered my mistake quickly afterwards of letting the card run in Microsoft's own "Standard SATA AHCI Controller". I updated it to "Marvell 92xx SATA 6G Controller" and the problem went away, performance intact and SMART still available.
Marvell also provides their "Marvel Storage Utility" package that runs on Apache and PHP. This is only useful if you are going to use RAID levels, and barely even then as since it's software RAID you can likely monitor SMART with a scheduled smartmontools script or another manner since software RAID does not abstract the disks from the OS like full hardware-based controller would. Even then on enterprise server hardware you'd likely have out-of-bounds (OOB) monitoring available, but it could perhaps be useful on commodity hardware.