Using WMIC
1.
2.
3.
Using DiskPart
1.
2.
Figure 4.Sample script output
Partition 1
Type
Hidden: No
Active: No
Offset in Bytes:1048576
Volume ###
----------
* Volume 1
3.
12
After the operating system has been installed, run wmic from the Windows command line.
At the resulting prompt, type partition list full to display information about system partitions.
Identify the offset value of each partition and divide by 4096. If the value is exactly divisible, the
partition is aligned.
Boot the system to WinPE 2.1 or later.
Execute the DiskPart utility to display information about specific sy
For example, use the following script is to display information about Disk 0, Partition 1 (as shown
in Figure 4):
diskpart
select disk 0
select partition 1
detail partition
: 07
Ltr
Label
---
-----------
Divide the offset value of the selected partition by 4096. If exactly divisible, the partition is
aligned.
Fs
Type
-----
----------
NTFS
Partition
s
tem partitions.
Size
Status
-------
---------
9 GB
Healthy
Info
------