Bambooz

diskpart

Jan 6th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 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 numeral assigned to disks
  6. Note the numeral assigned to drive you want to use
  7. The numeral 2 will be used in this example
  8. SELECT DISK 2 - Does this really need an explanation?
  9. DETAIL DISK - The info shown will confirm the correctness of your selection
  10. CLEAN - The first/last 1MB of the disk/stick will be overwritten with zeroes
  11. Alternatively, use "CLEAN ALL" to overwrite the entire drive (takes forever)
  12. CREATE PARTITION PRIMARY - Create a primary partition on the drive
  13. FORMAT FS=NTFS (or FS=FAT32) - Format the partition. Add "QUICK" to do a quick format.
  14. ACTIVE - The partition can contain operating system startup files
  15. ASSIGN - The next available letter is assigned to the drive
  16. Alternatively you can manually assign one by adding "LETTER=X"
  17. EXIT - Exit from the DISKPART program
  18. EXIT - Exit from the command prompt
Advertisement
Add Comment
Please, Sign In to add comment