What is my miniport's service name?
- by Ian Boyd
i am trying to query the physical sector size of my drive using fsutil:
C:\Windows\system32>fsutil fsinfo ntfsinfo c:
NTFS Volume Serial Number : 0x78cc11b2cc116c1e
Version : 3.1
Number Sectors : 0x000000003a382fff
Total Clusters : 0x00000000074705ff
Free Clusters : 0x00000000022fc29b
Total Reserved : 0x00000000000007d0
Bytes Per Sector : 512
Bytes Per Physical Sector : <Not Supported>
Bytes Per Cluster : 4096
Bytes Per FileRecord Segment : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length : 0x00000000305c0000
Mft Start Lcn : 0x00000000000c0000
Mft2 Start Lcn : 0x0000000003a382ff
Mft Zone Start : 0x0000000006951940
Mft Zone End : 0x0000000006951c80
RM Identifier: 19B22CBE-570D-19DE-9C72-CD758F800DDC
You can see that the Bytes Per Physical Sector value is Not Supported:
Bytes Per Physical Sector : <Not Supported>
In KB Article Microsoft support policy for 4K sector hard drives in Windows, Microsoft says:
If fsutil.exe continues to display "Bytes Per Physical Sector : " after you apply the latest storage driver and the required hotfixes, make sure that the following registry path exists:
HKLM\CurrentControlSet\Services\<miniport’s service name>\Parameters\Device\
Name: EnableQueryAccessAlignment
Type: REG_DWORD
Value: 1: Enable
The only thing i don't know is what my Miniport's service name is.
What is my miniport's service name.
i know that my SATA drives are in AHCI mode, and AHCI uses the msahci driver service:
Is that my miniport service? "MSAHCI"?
See also
Hitachi - Advanced Format Technology Brief
RMPrepUSB - Advanced Format (4K sector) hard disks
Microsoft support policy for 4K sector hard drives in Windows
OSR Online - Advance Disk Format support in Storport Virtual Mniport diver
Default cluster size for NTFS, FAT, and exFAT
Wikipedia - Advanced Format