Skip to content

Instantly share code, notes, and snippets.

@sinamics
Last active June 29, 2023 17:22
Show Gist options
  • Save sinamics/8aa001b3dbe040e07917665b6a8f59c4 to your computer and use it in GitHub Desktop.
Save sinamics/8aa001b3dbe040e07917665b6a8f59c4 to your computer and use it in GitHub Desktop.
Format USB Drive in Windows 10 with DiskPart
Open Command Prompt and run as Administrator.
2. Type: diskpart in the command prompt window
3. type: list disk
4. Now, select the correct disk by typing: select disk 2 (your drive number)
5. type: attributes disk clear readonly
6. clean
7. create partition primary
8. format fs=ntfs quick
9. type exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment