Skip to content

Instantly share code, notes, and snippets.

@xavieryin
Created June 24, 2021 05:39
Show Gist options
  • Save xavieryin/de5154374804a4a94769a35336f4cb2a to your computer and use it in GitHub Desktop.
Save xavieryin/de5154374804a4a94769a35336f4cb2a to your computer and use it in GitHub Desktop.
Using Windows built-in tool: diskpart
1. in cmd or powershell
% diskpart
2. grant execution
3. in diskpart
list disk
select disk N
clean
create partition primary
exit
4. format normally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment