Skip to content

Instantly share code, notes, and snippets.

@oko
Created December 17, 2014 23:52
Show Gist options
  • Save oko/69c96710d8d4ccff741e to your computer and use it in GitHub Desktop.
Save oko/69c96710d8d4ccff741e to your computer and use it in GitHub Desktop.
USB disk cleansing for WUDT
C:\Windows\system32>diskpart
Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 465 GB 1024 KB
Disk 1 Online 2794 GB 0 B *
Disk 2 Online 111 GB 0 B
Disk 3 Online 7389 MB 0 B
DISKPART> select disk 3
Disk 3 is now the selected disk.
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format quick fs=fat32
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
Leaving DiskPart...
C:\Windows\system32>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment