User Tools

Site Tools


windows:diskpart_cleanusb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
windows:diskpart_cleanusb [2021/08/11 18:50] – created admintomiwindows:diskpart_cleanusb [2021/08/11 19:01] (current) admintomi
Line 5: Line 5:
 Open Command Prompt/Powershell as admin, run command **diskpart ** (do not insert USB yet), then in diskpart: Open Command Prompt/Powershell as admin, run command **diskpart ** (do not insert USB yet), then in diskpart:
  
-   - +   - **DISKPART> automount disable **  (Disables automount of disks) 
- +  - Insert USB disk 
-**DISKPART> automount disable ** (Disables automount of disks) +  - Find and select correct disk, failure in this step may end you deleting your harddrive. Disk size is way to identify correct disk \\  \\ **DISKPART> list disk ** \\  \\ **Disk ### Status Size Free Dyn Gpt** \\ **——– ————————— —** \\ **Disk 0 Online 931 GB 2048 KB *** \\ **Disk 1 Online 7452 GB 1024 KB *** \\ **Disk 2 Online 1907 GB 0 B *** \\ **Disk 3 Online 14 GB 2861 MB** \\  \\ **DISKPART> select disk 3** \\  \\ **DISKPART> list disk** \\  \\ **Disk ### Status Size Free Dyn Gpt** \\ **——– ————————— —** \\ **Disk 0 Online 931 GB 2048 KB *** \\ **Disk 1 Online 7452 GB 1024 KB *** \\ **Disk 2 Online 1907 GB 0 B *** \\ *** Disk 3 Online 14 GB 2861 MB** \\  \\ 
-  - +  - Then wipe the selected disk \\  \\ **DISKPARTclean** 
- +  - I think sometimes clean does not clean partition table fully, causing errors later on. Try to get around this changing partition table \\  \\ **DISKPART> convert gpt** \\  \\ **DiskPart successfully converted the selected disk to GPT format.** 
-Insert USB disk +  - Create partition \\  \\ **DISKPART> create part pri** \\  \\ **DiskPart succeeded in creating the specified partition.** 
- +  - Format partition \\  \\ **DISKPART> format fs=fat32 quick** \\  \\ **100 percent completed** 
-  - +  - Close diskpart, remove drive and plug it in again
- +
-Find and select correct disk, failure in this step may end you deleting your harddrive. Disk size is way to identify correct disk+
- +
-<code>**DISKPART> list disk \\  \\ Disk ### Status Size Free Dyn Gpt \\ -------- ------------- ------- ------- --- --- \\ Disk 0 Online 931 GB 2048 KB * \\ Disk 1 Online 7452 GB 1024 KB * \\ Disk 2 Online 1907 GB 0 B * \\ Disk 3 Online 14 GB 2861 MB** +
- +
-**DISKPART> select disk 3 \\  \\ Disk 3 is now the selected disk.** +
- +
-**DISKPART> list disk \\  \\ Disk ### Status Size Free Dyn Gpt \\ -------- ------------- ------- ------- --- --- \\ Disk 0 Online 931 GB 2048 KB * \\ Disk 1 Online 7452 GB 1024 KB * \\ Disk 2 Online 1907 GB 0 B * \\ * Disk 3 Online 14 GB 2861 MB** +
-</code>+
  
  
windows/diskpart_cleanusb.1628697002.txt.gz · Last modified: 2021/08/11 18:50 by admintomi