Differences

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

Link to this comparison view

Both sides previous revision Previous revision
windows:windows-tutorials:reset-disk-via-cli [2024/10/09 13:25] Zyzonixwindows:windows-tutorials:reset-disk-via-cli [2024/10/09 13:30] (current) Zyzonix
Line 1: Line 1:
 ====== Reset/Uninitialize a disk via CLI (DISKPART) ====== ====== Reset/Uninitialize a disk via CLI (DISKPART) ======
 +
 +To remove all partitions and uninitialize a disk on Windows a tool called ''DISKPART'' can be used. It is installed by default on all Windows versions, to perform an uninitialization administrator permissions are required.
 +The functionality described here is only a minimum of all the things DISKPART can do.
 +
 +Firstly run ''DISKPART'' within an Admin CMD:
 +<code bash>DISKPART</code>
 +
 +Then list all disks by running ''LIST DISK'':
 +<code bash>LIST DISK</code>
 +
 +Select the disk that should be uninitialized by running: ''SELECT DISK <ID>''
 +<code bash>SELECT DISK <ID></code>
 +
 +Finally ''CLEAN'' the disk, all data will be destroyed! 
 +<code bash>clean</code>
 +This tool/way to reset won't replace the whole disks with zeroes, it will just delete the partition table as well as the initialization format (like gpt).
 +
 +To reuse the disk a reinitialization is required, this can be done graphically by entering the disk partition manager.
 +
  • windows/windows-tutorials/reset-disk-via-cli.1728473124.txt.gz
  • Last modified: 2024/10/09 13:25
  • by Zyzonix