Partition Management in WinPE
Have you ever needed to delete a partition inside of WinPE? Perhaps the machine had a Vista image on it previously and now your new image will not deploy to it. WinPE has a powerful utility built-in to manage partitions called DiskPart. It's a bit complicated at first but follow the steps below and you'll be creating and deleteing partitions in no time.
From the WinPE command prompt type "Diskpart.exe". This will take you to a command prompt inside Diskpart.
To delete the primary partition use the following commands:
- List Disk
- Select Disk 0
- List Partition
- Select Partition 1
- Delete Partition override
You may need to change the disk or partition numbers to fit your environment. Use caution when running the delete command because it will delete whatever partition is active. If you get stuck, every command has available help by simply putting a ? after the command.
The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.