I create a VHD file and Mount it, then use DISKPART CLEAN command to delete all properties and partitions of its hard disk.
How to distinguish Uninitialized Drive, RAW Drive and Initialized Drive ?.
.
And if that hard drive is not initialized, how to initialize it without DISKPART.
.
.
.
.
Thanks.
Last edited by hoangdiemtinh on Mon Nov 21, 2022 2:11 am, edited 1 time in total.
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6
After few days, I found in WMI, but it need .NET Framework, this not work in WinPE
I query class Win32_DiskDrive, get CIMV2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE5" (5 = my VHD Disk), get Properties named Partitons (if 0 as Uninitialized Drive, this is right ?)
call @Chris
Please help
PC: Windows 10 x64, 8GB RAM. PB ver: 6.x
--
I love PB5 vs PB6