Clearing & formatting a drive from the command line using Diskpart

Run diskpart from the Commmand prompt – Run CMD from the Start Menu or Run dialogue box using WinKey + R to get to the command prompt

Then use the commands below in sequence within the diskpart interface

list disk

select disk [#] (adding the reference number from the list command above)

clean (permanent delete content)

create partition primary

format fs=ntfs

assign (gives a drive letter – unspecified)

exit to leave diskpart

Leave a Reply

Your email address will not be published. Required fields are marked *