Forum Discussion
Re: How to wipe a hard drive on Windows 10 using command prompt
Wiping a hard drive on Windows 10 using Command Prompt can be done with the built-in diskpart tool. This method completely erases all data on the selected drive, so make sure you’ve backed up important data first. Here's how to wipe a hard drive on Windows 10.
1. Press Windows + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
2. Start diskpart app and list all drives.
diskpart list diskIdentify the number of the drive you want to wipe (e.g., Disk 1).
3. Select the target disk and clean the disk with basic wip.
select disk X cleanReplace X with the disk number of the drive to be wiped. This will wipe a hard drive on Windows 10 PC.
If you want a more secure wipe (zero out data), use:
clean allThis performs a full zero-fill pass on the entire disk (can take hours depending on size).
Warning: This process is irreversible. Do not select your system drive (usually C:) while Windows is running.