Bambooz

Diskpart

Mar 15th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Run CMD.EXE as administrator
  2. Type following commands and hit ENTER key after each command.
  3.  
  4. DISKPART - Starts DiskPart (duh)
  5. LIST DISK - Shows numbers assigned to disks
  6. Note the number assigned to drive you want to use
  7. I'll use number 2 in this example
  8. SELECT DISK 2 - Does this really need an explanation?
  9. DETAIL DISK - Optional step to make sure you picked the right drive
  10. CLEAN - The first & last 1MB of the drive will be overwritten with zeros
  11. Alternatively, use "CLEAN ALL" to overwrite the entire drive (takes forever)
  12. CONVERT MBR - Converts the drive from GPT to MBR (or vice versa ; optional)
  13. CREATE PARTITION PRIMARY - Create a primary partition on the drive
  14. FORMAT FS=NTFS QUICK - Format the partition as NTFS using quick format. Alternatively FS=FAT32
  15. ACTIVE - The partition can contain OS startup files
  16. ASSIGN - The next available letter is assigned to the drive
  17. Alternatively you can manually assign one by adding "LETTER=X"
  18. EXIT - Exit from the DISKPART program
  19. EXIT - Exit from the command prompt
Advertisement
Add Comment
Please, Sign In to add comment