Forum Discussion
stusstow
Oct 24, 2024Iron Contributor
How to Wipe hard drive on my Windows 7 computer?
I need assistance with wiping my hard drive on a Windows 7 system. I am preparing to sell my computer and want to ensure that all my personal data is securely erased before passing it on to someone e...
Wokhiosk
Oct 24, 2024Iron Contributor
This method uses Windows built-in tool called Diskpart. It’ll completely wipe hard drive on Windows 7 PC without needing any additional software.
1. Backup Your Data:
- Before you start, make sure to back up any important files. Once wiped, everything will be gone!
2. Create Windows Installation Media (if needed):
- If you want to reinstall Windows afterward, you’ll need a Windows 7 installation DVD or a USB drive. If you don't have one, you can create it using the Windows USB/DVD Download Tool with the Windows ISO.
3. Boot from Installation Media:
- Insert your installation disc or USB, and restart your computer.
- Enter the boot menu (usually F12, F2, DEL, or ESC depending on your machine) and choose to boot from the installation media.
4. Access Command Prompt:
- Once it loads, choose your language and select “Repair your computer.”
- In the System Recovery Options, click on “Command Prompt.”
5. Use Diskpart:
- In the Command Prompt window, type the following commands: diskpart
- To see a list of drives, type: list disk
- Identify your hard drive (usually Disk 0) and select it. For example: select disk 0
- Now, wipe the drive by typing: clean all
- The clean all command will take more time as it overwrites the data, ensuring it’s gone for good.
6. Exit Diskpart: exit
7.Reboot Your System:
- If you don’t plan to reinstall Windows, you can shut down the computer after this step. If you are, continue with the installation process.
jl35973
Feb 22, 2025Copper Contributor
Problem is, you can't run Clean on the current boot disk. So when I try clean all on disk 0, I get
Virtual Disk Service error:
Clean is not allowed on the disk containing the current boot, system, pagefile, crashdump or hibernation volume.
- bergermeisterAug 20, 2025Copper Contributor
I see the same error and would like to know how to work around it too.