Results 1 to 2 of 2
-
09-30-2017 08:26 AM #1
NeoBeum PC Specs Laptop (Model) G751JY Motherboard HM87 Processor i7-4860HQ Memory (part number) 32Gb Kingston Hyper-X Graphics Card #1 nVidia GTX980M Storage #1 Samsung 950 Pro NVMe 256 Gb, Samsung 850 Pro 512 Gb Storage #2 2 TB HGST 7KRPM RAID0 OS Windows Server 2016 Datacenter
- Join Date
- Aug 2015
- Reputation
- 10
- Posts
- 175
Windows 10 Setup - Reference for Disk Information & Enum/Property Inconsistency
Here is but a sample of my project device information data gathering to be able to identify disks during installation - so that you are able to clean install - with a fully populated system.
The notebook has all ports filled: PCIe, SATA USB, DVD, and USB via Thunderbolt
The reason why I post here is to provide information in relation to how device information can be retrieved - but also to show the inconsistency with device property matches between classes that should really reflect the same information when the property name matches.
We will start with the CMD.exe tools: DIskpart, FSUtil and WMIC, and finish with PowerShell
HTML Code:DISKPART> DETAIL DISK NVMe Samsung SSD 950 SCSI Disk Device Disk ID: {499AE275-841C-421F-88A9-F1FFA5664C76} Type : NVMe Status : Online Path : 0 Target : 0 LUN ID : 0 Location Path : PCIROOT(0)#PCI(1C04)#PCI(0000)#NVME(P00T00L00) Current Read-only State : No Read-only : No Boot Disk : Yes Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 C NB-OS NTFS Partition 213 GB Healthy Boot Volume 1 Recovery NTFS Partition 450 MB Healthy Hidden Volume 2 FAT32 Partition 99 MB Healthy System Volume 3 NTFS Partition 503 MB Healthy Hidden ----------------------------------------------------------------------------------- Samsung SSD 850 PRO 512GB Disk ID: {6EE1D2E1-45AB-492A-A7D1-5AAB3661482F} Type : SATA Status : Online Path : 3 Target : 0 LUN ID : 0 Location Path : PCIROOT(0)#PCI(1F02)#ATA(C03T00L00) Current Read-only State : No Read-only : No Boot Disk : No Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 4 E NB-EXT NTFS Partition 429 GB Healthy ---------------------------------------------------------------------------------- Kingston DT microDuo 3.0 USB Device Disk ID: 0BBDC77A Type : USB Status : Online Path : 0 Target : 0 LUN ID : 0 Location Path : UNAVAILABLE Current Read-only State : No Read-only : No Boot Disk : No Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 5 I NB-ROG FAT32 Removable 14 GB Healthy
HTML Code:wmic:root\cli>DISKDRIVE GET Index,PNPDeviceID,Manufacturer,Model,InterfaceType,SCSIBus Index InterfaceType Manufacturer Model PNPDeviceID SCSIBus 0 SCSI (Standard disk drives) NVMe Samsung SSD 950 SCSI Disk Device SCSI\DISK&VEN_NVME&PROD_SAMSUNG_SSD_950\5&3B25DD7E&0&000000 0 1 IDE (Standard disk drives) Samsung SSD 850 PRO 512GB SCSI\DISK&VEN_SAMSUNG&PROD_SSD_850_PRO_512G\4&14E7E349&0&030000 3 2 USB (Standard disk drives) Kingston DT microDuo 3.0 USB Device USBSTOR\DISK&VEN_KINGSTON&PROD_DT_MICRODUO_3.0&REV_PMAP\94DE80724795BE5119B9159A&0 0 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- wmic:root\cli>IDECONTROLLER GET PNPDeviceID,Manufacturer,Name,ProtocolSupported,DeviceId DeviceID Manufacturer Name PNPDeviceID ProtocolSupported PCI\VEN_8086&DEV_8C03&SUBSYS_171D1043&REV_05\3&11583659&0&FA Intel Corporation Intel(R) 8 Series Chipset Family SATA AHCI Controller PCI\VEN_8086&DEV_8C03&SUBSYS_171D1043&REV_05\3&11583659&0&FA 37 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- wmic:root\cli>SCSICONTROLLER GET PNPDeviceID,Manufacturer,Name,ProtocolSupported,DeviceId DeviceID Manufacturer Name PNPDeviceID ProtocolSupported ROOT\SPACEPORT\0000 Microsoft Microsoft Storage Spaces Controller ROOT\SPACEPORT\0000 2 PCI\VEN_144D&DEV_A802&SUBSYS_A801144D&REV_01\4&17C5C7ED&0&00E4 Samsung Electronics Co., Ltd Samsung NVMe Controller PCI\VEN_144D&DEV_A802&SUBSYS_A801144D&REV_01\4&17C5C7ED&0&00E4 2 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- wmic:root\cli>LOGICALDISK GET DeviceID,Description,DriveType,MediaType,Name,PNPDeviceID Description DeviceID DriveType MediaType Name PNPDeviceID Local Fixed Disk C: 3 12 C: Local Fixed Disk E: 3 12 E: Removable Disk I: 2 I: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- wmic:root\cli>PARTITION GET Index,PNPDeviceID,DeviceID,DiskIndex,Name,Type,Description Description DeviceID DiskIndex Index Name PNPDeviceID Type GPT: Unknown Disk #0, Partition #0 0 0 Disk #0, Partition #0 GPT: Unknown GPT: System Disk #0, Partition #1 0 1 Disk #0, Partition #1 GPT: System GPT: Basic Data Disk #0, Partition #2 0 2 Disk #0, Partition #2 GPT: Basic Data GPT: Unknown Disk #0, Partition #3 0 3 Disk #0, Partition #3 GPT: Unknown GPT: Basic Data Disk #1, Partition #0 1 0 Disk #1, Partition #0 GPT: Basic Data Unknown Disk #2, Partition #0 2 0 Disk #2, Partition #0 Unknown
HTML Code:PS C:\WINDOWS\system32> Get-Disk | Format-List ; Get-Disk | Select -Property Number,Path,Manufacturer,Model,BusType ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- UniqueId : EUI.4a08165a51382500 Number : 0 Path : \\?\scsi#disk&ven_nvme&prod_samsung_ssd_950#5&3b25dd7e&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} Manufacturer : NVMe Model : Samsung SSD 950 SerialNumber : 0000_0000_0000_0000. Size : 238.47 GB AllocatedSize : 230453239808 LogicalSectorSize : 512 PhysicalSectorSize : 512 NumberOfPartitions : 5 PartitionStyle : GPT IsReadOnly : False IsSystem : True IsBoot : True ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- UniqueId : 500253884016362E Number : 1 Path : \\?\scsi#disk&ven_samsung&prod_ssd_850_pro_512g#4&14e7e349&0&030000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} Manufacturer : Model : Samsung SSD 850 PRO 512GB SerialNumber : S250NXAH130901A Size : 476.94 GB AllocatedSize : 460898787328 LogicalSectorSize : 512 PhysicalSectorSize : 512 NumberOfPartitions : 2 PartitionStyle : GPT IsReadOnly : False IsSystem : False IsBoot : False ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- UniqueId : USBSTOR\DISK&VEN_KINGSTON&PROD_DT_MICRODUO_3.0&REV_PMAP\94DE80724795BE5119B9159A&0:NB-G751JY Number : 2 Path : \\?\usbstor#disk&ven_kingston&prod_dt_microduo_3.0&rev_pmap#94de80724795be5119b9159a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} Manufacturer : Kingston Model : DT microDuo 3.0 SerialNumber : 9B4ED5E18109 Size : 14.65 GB AllocatedSize : 15733161984 LogicalSectorSize : 512 PhysicalSectorSize : 512 NumberOfPartitions : 1 PartitionStyle : MBR IsReadOnly : False IsSystem : False IsBoot : False ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Number : 0 Path : \\?\scsi#disk&ven_nvme&prod_samsung_ssd_950#5&3b25dd7e&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} Manufacturer : NVMe Model : Samsung SSD 950 BusType : NVMe ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Number : 1 Path : \\?\scsi#disk&ven_samsung&prod_ssd_850_pro_512g#4&14e7e349&0&030000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} Manufacturer : Model : Samsung SSD 850 PRO 512GB BusType : SATA ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Number : 2 Path : \\?\usbstor#disk&ven_kingston&prod_dt_microduo_3.0&rev_pmap#94de80724795be5119b9159a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} Manufacturer : Kingston Model : DT microDuo 3.0 BusType : USB
The first thing to note is the differences when the PCIE NVME and SATA III SSD are in the correct settings for Disk Enumeration for inside Windows Operating System
HTML Code:NVMe Samsung SSD 950 SCSI Disk Device Disk ID: {499AE275-841C-421F-88A9-F1FFA5664C76} Type : NVMe Status : Online Path : 0 Target : 0 LUN ID : 0 Location Path : PCIROOT(0)#PCI(1C04)#PCI(0000)#NVME(P00T00L00) Current Read-only State : No Read-only : No Boot Disk : Yes Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 C NB-OS NTFS Partition 213 GB Healthy Boot Volume 1 Recovery NTFS Partition 450 MB Healthy Hidden Volume 2 FAT32 Partition 99 MB Healthy System Volume 3 NTFS Partition 503 MB Healthy Hidden
HTML Code:wmic:root\cli>PARTITION GET Index,PNPDeviceID,DeviceID,DiskIndex,Name,Type,Description Description DeviceID DiskIndex Index Name PNPDeviceID Type GPT: Unknown Disk #0, Partition #0 0 0 Disk #0, Partition #0 GPT: Unknown GPT: System Disk #0, Partition #1 0 1 Disk #0, Partition #1 GPT: System GPT: Basic Data Disk #0, Partition #2 0 2 Disk #0, Partition #2 GPT: Basic Data GPT: Unknown Disk #0, Partition #3 0 3 Disk #0, Partition #3 GPT: Unknown GPT: Basic Data Disk #1, Partition #0 1 0 Disk #1, Partition #0 GPT: Basic Data Unknown Disk #2, Partition #0 2 0 Disk #2, Partition #0 Unknown
HTML Code:wmic:root\cli>DISKDRIVE GET Index,PNPDeviceID,Manufacturer,Model,InterfaceType,SCSIBus Index InterfaceType Manufacturer Model PNPDeviceID SCSIBus 3 SCSI (Standard disk drives) NVMe Samsung SSD 950 SCSI Disk Device SCSI\DISK&VEN_NVME&PROD_SAMSUNG_SSD_950\5&3B25DD7E&0&000000 0 4 USB (Standard disk drives) WD My Passport 0820 USB Device USBSTOR\DISK&VEN_WD&PROD_MY_PASSPORT_0820&REV_1012\575838314132354B36323437&0 0 6 USB (Standard disk drives) SanDisk Ultra USB Device USBSTOR\DISK&VEN_SANDISK&PROD_ULTRA&REV_1.00\4C530001050917105511&0 0 5 USB (Standard disk drives) Kingston DT microDuo 3.0 USB Device USBSTOR\DISK&VEN_KINGSTON&PROD_DT_MICRODUO_3.0&REV_PMAP\94DE80724795BE5119B9159A&0 0 0 SCSI (Standard disk drives) Samsung SSD 850 PRO 512GB SCSI\DISK&VEN_SAMSUNG&PROD_SSD_850_PRO_512G\4&38AC3FC7&0&000000 0 1 SCSI (Standard disk drives) HGST HTS721010A9E630 SCSI\DISK&VEN_HGST&PROD_HTS721010A9E630\4&38AC3FC7&0&020000 2 2 SCSI (Standard disk drives) HGST HTS721010A9E630 SCSI\DISK&VEN_HGST&PROD_HTS721010A9E630\4&38AC3FC7&0&030000 3 7 USB (Standard disk drives) SDXC Card USBSTOR\DISK&VEN_GENERIC&PROD_STORAGE_DEVICE&REV_0819\000000000819&GL&33
<img src="eckyeckypoobah.gif" onerror="alert('An error occurred loading the image.')" />
-
09-30-2017 08:27 AM #2
NeoBeum PC Specs Laptop (Model) G751JY Motherboard HM87 Processor i7-4860HQ Memory (part number) 32Gb Kingston Hyper-X Graphics Card #1 nVidia GTX980M Storage #1 Samsung 950 Pro NVMe 256 Gb, Samsung 850 Pro 512 Gb Storage #2 2 TB HGST 7KRPM RAID0 OS Windows Server 2016 Datacenter
- Join Date
- Aug 2015
- Reputation
- 10
- Posts
- 175
Next, the WMIC DiskDrive PNPDevice ID and Index, do not have a direct corresponding Match for Get-Disk and Get-PhysicalDisk PNPDeviceId and Number/Index
Get-PhysicalDisk | Select -Property Number,PhysicalLocation,Manufacturer,Model,BusType ,DeviceID,UniqueID,PNPDeviceID
HTML Code:PS C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools> Get-PhysicalDisk | Select -Property Number,Path,PhysicalLocation,Manufacturer,Model,BusType,DeviceID,UniqueID,PNPDeviceID Number : Path : PhysicalLocation : Integrated : Adapter 0 : Port 0 Manufacturer : Kingston Model : DT microDuo 3.0 BusType : USB DeviceID : 5 UniqueID : {003bb8bb-0073-d4ae-af79-cafbbfc74ad3} PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 1 Manufacturer : NVMe Model : Samsung SSD 950 BusType : NVMe DeviceID : 3 UniqueID : EUI.4a08165a51382500 PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 0 : Port 0 Manufacturer : SanDisk Model : Ultra BusType : USB DeviceID : 6 UniqueID : {210149ef-99fb-736d-96e9-2a356bc709d3} PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 4294967295 : Port 4294967295 Manufacturer : Generic Model : STORAGE DEVICE BusType : USB DeviceID : 7 UniqueID : {2bc36312-a5a8-11e7-8491-1c872ce2247f} PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 0 : Port 0 Manufacturer : WD Model : My Passport 0820 BusType : USB DeviceID : 4 UniqueID : {7ace0b4d-bd3d-9d84-4e37-045e6bac2265} PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 0 : Port 3 : Target 0 : LUN 0 Manufacturer : Model : HGST HTS721010A9E630 BusType : RAID DeviceID : 2 UniqueID : 5000CCA7DCDF8F01 PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 0 : Port 2 : Target 0 : LUN 0 Manufacturer : Model : HGST HTS721010A9E630 BusType : RAID DeviceID : 1 UniqueID : 5000CCA7DCE8C7CA PNPDeviceID : Number : Path : PhysicalLocation : Integrated : Adapter 0 : Port 0 : Target 0 : LUN 0 Manufacturer : Model : Samsung SSD 850 PRO 512GB BusType : RAID DeviceID : 0 UniqueID : 500253884016362E PNPDeviceID :
That was PhysicalDisk, and the difference to Disk
HTML Code:Number : 3 Path : \\?\scsi#disk&ven_nvme&prod_samsung_ssd_950#5&3b25dd7e&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} PhysicalLocation : Manufacturer : NVMe Model : Samsung SSD 950 BusType : NVMe DeviceID : UniqueID : EUI.4a08165a51382500 PNPDeviceID : Number : 0 Path : \\?\scsi#disk&ven_samsung&prod_ssd_850_pro_512g#4&38ac3fc7&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} PhysicalLocation : Manufacturer : Model : Samsung SSD 850 PRO 512GB BusType : RAID DeviceID : UniqueID : 500253884016362E PNPDeviceID : Number : 7 Path : \\?\usbstor#disk&ven_generic&prod_storage_device&rev_0819#000000000819&gl&33#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} PhysicalLocation : Manufacturer : Generic Model : STORAGE DEVICE BusType : USB DeviceID : UniqueID : USBSTOR\DISK&VEN_GENERIC&PROD_STORAGE_DEVICE&REV_0819\000000000819&GL&33:NB-G751JY PNPDeviceID : Number : 5 Path : \\?\usbstor#disk&ven_kingston&prod_dt_microduo_3.0&rev_pmap#94de80724795be5119b9159a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} PhysicalLocation : Manufacturer : Kingston Model : DT microDuo 3.0 BusType : USB DeviceID : UniqueID : USBSTOR\DISK&VEN_KINGSTON&PROD_DT_MICRODUO_3.0&REV_PMAP\94DE80724795BE5119B9159A&0:NB-G751JY PNPDeviceID : Number : 6 Path : \\?\usbstor#disk&ven_sandisk&prod_ultra&rev_1.00#4c530001050917105511&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} PhysicalLocation : Manufacturer : SanDisk Model : Ultra BusType : USB DeviceID : UniqueID : USBSTOR\DISK&VEN_SANDISK&PROD_ULTRA&REV_1.00\4C530001050917105511&0:NB-G751JY PNPDeviceID : Number : 4 Path : \\?\usbstor#disk&ven_wd&prod_my_passport_0820&rev_1012#575838314132354b36323437&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} PhysicalLocation : Manufacturer : WD Model : My Passport 0820 BusType : USB DeviceID : UniqueID : USBSTOR\DISK&VEN_WD&PROD_MY_PASSPORT_0820&REV_1012\575838314132354B36323437&0:NB-G751JY PNPDeviceID :
Now the PNPID for WMIC and Indicies
HTML Code:wmic:root\cli>DISKDRIVE GET Index,PNPDeviceID,Manufacturer,Model,InterfaceType,SCSIBus Index InterfaceType Manufacturer Model PNPDeviceID SCSIBus 3 SCSI (Standard disk drives) NVMe Samsung SSD 950 SCSI Disk Device SCSI\DISK&VEN_NVME&PROD_SAMSUNG_SSD_950\5&3B25DD7E&0&000000 0 4 USB (Standard disk drives) WD My Passport 0820 USB Device USBSTOR\DISK&VEN_WD&PROD_MY_PASSPORT_0820&REV_1012\575838314132354B36323437&0 0 6 USB (Standard disk drives) SanDisk Ultra USB Device USBSTOR\DISK&VEN_SANDISK&PROD_ULTRA&REV_1.00\4C530001050917105511&0 0 5 USB (Standard disk drives) Kingston DT microDuo 3.0 USB Device USBSTOR\DISK&VEN_KINGSTON&PROD_DT_MICRODUO_3.0&REV_PMAP\94DE80724795BE5119B9159A&0 0 0 SCSI (Standard disk drives) Samsung SSD 850 PRO 512GB SCSI\DISK&VEN_SAMSUNG&PROD_SSD_850_PRO_512G\4&38AC3FC7&0&000000 0 1 SCSI (Standard disk drives) HGST HTS721010A9E630 SCSI\DISK&VEN_HGST&PROD_HTS721010A9E630\4&38AC3FC7&0&020000 2 2 SCSI (Standard disk drives) HGST HTS721010A9E630 SCSI\DISK&VEN_HGST&PROD_HTS721010A9E630\4&38AC3FC7&0&030000 3 7 USB (Standard disk drives) SDXC Card USBSTOR\DISK&VEN_GENERIC&PROD_STORAGE_DEVICE&REV_0819\000000000819&GL&33
I will continue this post in the next day or so
I also have the Intel RAID and Samsung Magician drivers and Software Working together, but Identification is still buggy
The trouble to get it running vs the gains - will only be worth it with SSD in the Optic and Secondary Bays - for Mechanical Drives - the RAID performance is negligible.
It will also be good in a server situation - but no one will be putting Server 2016 on their notebooks vs Client SKU.
I'll put my SSHD in RAID to replace the Hitachi's and do a comparison laterLast edited by NeoBeum; 09-30-2017 at 08:32 AM.
<img src="eckyeckypoobah.gif" onerror="alert('An error occurred loading the image.')" />