Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Need help with Undoing Diskpart Clean by mistake

25 Dec 2016   #11

Windows 7 Home Premium 32 bit

Note from jumanji:

1. There is no bar if you want to try what SIW2 has suggested in the previous post. I have my own doubts though. Recuva will definitely work to recover "deleted files". In this case Diskpart clean would have written zeroes in Sector 0 to 2047. So MBR and partition table is gone. Will Recuva even see your drive???? Big question mark. If you try and let us know it will be good for future.

2, The most important point why I wanted to put this note: TestDisk running in DOS mode was unable to see the destination HDD. Please see and read this solved thread. Diskpart clean done accidently...Please help!! When the OP came up with this problem I also made a trial run and confirmed it. The solution was to create the bootable TestDisk pendrive on a large capacity pen drive say 32GB/64GB/128GB and copy the files to the same pendrive . It doesn't matter if you do not have a large pendrive immediately.. Our first aim to check whether TestDisk can list the files. If it lists the files then you can buy a large capacity pendrive run TestDisk from it and copy the files in batches.

My System SpecsSystem Spec
25 Dec 2016   #12

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10

Ok mate one last word you could even try this
Make a bootable Ubuntu disk Get Ubuntu | Download | Ubuntu
Set the BIOS to boot from the optical when the machine boots it will show you a screen with TRY or INSTALL > select TRY not INSTALL
When it is finished - it takes very little time you will get a screen like in the pic .
Open the drive you want > User and dig down until you get to the data / settings you may be able to copy / paste the material you want to an external source or other installed drive doing this.
I am not sure if it will but I have recovered tons of data etc using this method both on "dead" or just plain drives that you cannot get data from using Windows.
There is an alternative Linux based program that will do the same thing but I prefer the Ubuntu - I find it easier to set up. Emergency Kit - save your files from a dead OS

Attached Thumbnails
Need help with Undoing Diskpart Clean by mistake-ubuntu-screen-x2.png  
My System SpecsSystem Spec
25 Dec 2016   #13

win 8 32 bit

Type ‘diskmgmt.msc‘ to have a view of the active and lost partition
2. Note the partition size and open the command prompt as admin. Enter ‘diskpart‘ to get into diskpart tool.
3. Now enter ‘list disk‘ to see the disks active and type ‘select disk 0‘ (0 was assigned for my entire hdd)
4. If you have used ‘clean‘ command here before, type ‘assign letter=D‘ (D is the example drive name) & surprise your drive will be alive without any data loss.
5. In-case like me you have used ‘clean‘ command for a specific partition, you have to type ‘list partition‘ to see the available partition n select that partition using ‘select partition 3‘ (3 is the example #). Now type ‘assign letter=D‘ and you will get your partition back.
6. Type ‘exit‘ to leave diskpart.
My System SpecsSystem Spec


 Need help with Undoing Diskpart Clean by mistake

Thread Tools

Similar help and support threads
Thread Forum
Disk - Clean and Clean All with Diskpart Command
How to "Clean" or "Clean All" a Disk with the Diskpart Command This will show you how to use the clean or clean all command on a selected disk to delete all of it's MBR or GPT partitions, volumes, and any hidden sector information on MBR disks is overwritten. The data on the HDD is not...
Another diskpart clean tale of woe
Hi guys, Apologies for making my first post a plea for help, but I'm running out of ideas! Brief background - I have an Intel NUC (i5/Win 10 Pro x64) running as a server while I’m living overseas, with 3 (WD Passport) external hard drives attached. I have no reason to suspect any hardware...
Backup and Restore
Formating 3tb drive..diskpart clean or clean all
I am having to format a 3tb drive that I am installing Windows 7 on and I need to know do I need to do clean all or just clean in diskpart? What happened is I did not know about the GPT (first time dealing with a drive over 2tb) and I just went through the motions like you do with installing. Well...
Installation & Setup
Should I clean my HDD with Parted Magic or Diskpart clean all command?
Hi everyone i have a question about HDD Clean and also question about Win 7 64 bit :) I want to wiped out my all HDD data inside i want to delete all information like a brand new HDD. I heard that there is a program called Parted Magic can do this and also Diskpart clean all command too. ...
General Discussion
Do not see HDD after clean all using diskpart
Can someone please help with this. after do clean all follow diskpart and format HDD. now do not see this hdd in my computer but see it in DISKPART. thanks,
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:32.
Twitter Facebook Google+