Download Article
Download Article
This wikiHow teaches you how to wipe a hard drive in Windows. In computing, wiping a hard drive means permanently erasing all the data on a storage device. You might need to do this in several scenarios, such as when you want to recycle or sell the hard drive, protect the privacy information, or get rid of damaged hard drives. Before starting, fully back up the essential data since you can't recover them once the wipe operation is performed. Once you are ready, choose any of the following methods to wipe a drive properly.
Steps
-
1Enter "Settings" in the taskbar's search box, click "System," and scroll down to select "Recovery."
- Please note that the steps for wiping a hard drive via Windows Settings can vary from different Windows systems. This will use Windows 11 as an example in this section.
-
2Tap the "Reset PC" button under reset this PC in the "Recovery" part where you can find two recovery options. This step can help you choose to keep or remove your personal files, and then reinstall Windows. Then, there you will see a pop up window asking what you want to remove from your PC.Advertisement
-
3Choose an option between keep and remove your files in the "Reset this PC" window. Since you want to wipe your hard drive, select "Remove everything" to remove all your data, including personal files, apps and settings.
-
4Select how would you like to reinstall Windows after removing all your data. Consider that reinstalling Windows from this device is faster than downloading and reinstalling Windows from the cloud theoretically, select "Local reinstall." If this option is not working on your computer, you can use "Cloud download."
-
5Adjust some additional settings in this window, which decides what the wipe action will do. Although there are already some current settings, you need to click "Change settings" under current settings to adjust more settings.
-
6Switch the "Clean data" from "No" to "Yes" in the choose settings and click "Confirm" to ensure. The "Clean data" can just remove your files, which is quicker but less secure. Then, you will get back to the previous window and click "Next" to continue.
-
7Check the list of what reset will do and any notifications in the "Reset this PC" window. If you have backed up the valuable data on your hard drive in advance, you can select "Reset" to reset this PC.
Advertisement
-
1Press the "Windows + X" key and choose Disk Management. And there are other ways to open Disk Management: you can press the "Windows + R" key and type "diskmgmt.msc" into the dialog and click "OK" to run it, or enter "Disk Management" into the Windows search box and hit "enter" to open it.
-
2Right-click on the hard drive that you want to wipe and select "Format" on the interface of Disk Management which displays all your hard drives. Be careful when you choose the target hard drive, or you may accidentally wipe other hard drives.
-
3Check out the box of the "Perform a quick format" option in the pop-up format hard drive window, and make sure the "Enable file and folder compression" option is unchecked. You don't need to change other settings. Then, click "OK" to perform the format operation.
-
4Click "OK" when you receive a notice message. It will warn you that this format operation will erase all your data on this hard drive, and remind you to back up the data you want to keep, and ask if you want to continue.
Advertisement
-
1Use Diskpart of Windows to permanently erase the data on your hard drive with the clean all command lines. In the search box of Windows, type "cmd" or "Command Prompt" and right click it to choose "Run as administrator."
-
2Type the following four command lines in the Command Prompt window, and hit "Enter" after them to execute each CMD: "diskpart" > "list disk" > "select disk 1" (Replace "1" with the hard drive number you wish to wipe.) > "clean all." Think twice before you use the clean all command since it will destroy all your data on the target hard drive.
-
3Wait patiently after you complete the above steps, and Diskpart will delete all your files on the hard drive. Once the process is finished, you can type "exit" and hit "Enter" to close the Command Prompt window.
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
About This Article
Thanks to all authors for creating a page that has been read 7,569 times.
Advertisement