- Run Command Prompt as an Administrator
- Type
diskpart
and hit Enter - To see all drives connected to the machine, use the
list disk
command - Select the drive you’d like to fix by typing
select disk #
where#
is the number shown from thelist disk
command - With the disk selected, use the
clean
command to wipe it - To create a new partition on the drive use the command
create partition primary
- Select your new partition by using
select partition 1
- Activate the partition by using
active
- Format the partition using NTFS using
format FS=NTFS label=MyDrive quick
(note thatMyDrive
can be any valid label) - Assign a letter to the drive using
assign letter=Z
(note thatZ
can be any unused drive letter) - Exit DiskPart using
exit