Using WMIC

1.After the operating system has been installed, run wmic from the Windows command line.

2.At the resulting prompt, type partition list full to display information about system partitions.

3.Identify the offset value of each partition and divide by 4096. If the value is exactly divisible, the partition is aligned.

Using DiskPart

1.Boot the system to WinPE 2.1 or later.

2.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 4):

diskpart select disk 0 select partition 1 detail partition

Figure 4.Sample script output

Partition 1

Type : 07

Hidden: No

Active: No

Offset in Bytes:1048576

 

Volume ###

Ltr

Label

Fs

Type

Size

Status

Info

 

 

----------

---

-----------

-----

----------

-------

---------

------

 

 

* Volume 1

 

 

NTFS

Partition

9 GB

Healthy

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3.Divide the offset value of the selected partition by 4096. If exactly divisible, the partition is aligned.

12