Last active
November 22, 2025 19:29
-
-
Save calpamos/9e197b7492c5c92c0e25f953720c5591 to your computer and use it in GitHub Desktop.
remove hidden partitions from bootable OS USBs and reset the device
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diskpart | |
| list disk | |
| select disk *x* | |
| clean | list partition // clean is shorthand for these commands | |
| | select partition *x* | |
| | delete partition *x* | |
| create partition primary | |
| format fs=ntfs quick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment