Using WMIC
1.
2.
3.
Using DISKPART
1.
2.
Figure 1: Sample script output
Partition 1
Type
Hidden: No
Active: No
Offset in Bytes:1048576
Volume ###
----------
* Volume 1
3.
6
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 divisible, the partition
is aligned.
Boot the system via bootable Windows PE 3.0 RAM media.
Execute the DISKPART utility to display information about specific system partitions.
For example, use the following script is to display information about Disk 0, Partition 1 (as shown
in Figure 1):
diskpart
select disk 0
select partition 1
detail partition
: 07
Ltr
Label
---
-----------
Divide the offset value of the selected partition by 4096. If divisible, the partition is aligned.
Fs
Type
-----
----------
NTFS
Partition
Size
Status
-------
---------
9 GB
Healthy
Info
------