Skip to content

Instantly share code, notes, and snippets.

@xmsi
Created March 21, 2025 16:41
Show Gist options
  • Save xmsi/f9eab9f5bfe040f64b11dd56b421ea99 to your computer and use it in GitHub Desktop.
Save xmsi/f9eab9f5bfe040f64b11dd56b421ea99 to your computer and use it in GitHub Desktop.
Windows

How to format and clean usb flash in Windows

  1. Powershell ->
  2. diskpart

  3. list disk

  4. select disk

  5. clean

  6. create partion primary

  7. format fs=ntfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment