wipe out / clean an offline or online windows disk drive with diskpart

# get to an elevated (run as Admistrator) DOS command prompt to run diskpart
# be careful as the operation you choose will work on the current disk – select disk changes current – list disk shows current
diskpart> list disk
# select disk #
diskpart> select disk 1
# list disk will now show the selected disk
# online the disk if it is not already
diskpart> online disk
# double check – the disk you want to wipe out is the currently selected disk
diskpart> list disk
# issue the clean command – watch out this one will remove all partitions from the currently selected disk
diskpart> clean

Leave a Comment

Scroll to Top