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: DISKPART clean performed accidently. how to recover data?

26 Jun 2014   #1
shashank0889

Windows 7 32 Bit Home edition
 
 
DISKPART clean performed accidently. how to recover data?

Hello everyone,
I had major partition problems and tried fixmbr,fixboot,etc and even rebuilding bcd was not working. I was misguided by one of the other Forums and entered:
DISKPART Select Volume 1
DISKPART Clean Volume 1
The Volume has been cleaned
[If it was to delete all data, I thought it would ask Y or N]
where volume 1 was my C drive. I had data on other drives. Immediately after this the computer hung and I was forced to restart. All this while the MBR was not working and I was on Windows 7 installation disc. Now it does not detect my Hard Disk or any of the Volumes and shows Hard Disk as 249 out of 249 Gb free. I have no choice but to go to Windows 7 Disc where there are no installations or data.
Of what I have read, this command only clears the Partition List..
While I was trying fixmbr, I even used gparted Live disc where it turns out that there is some "recursive" bug which was found.
Please help me, there is vital information on the disk as it is my office computer.
I need to recover all the data. Its very urgent. I have committed a huge blunder but is there way ?


My System SpecsSystem Spec
.
26 Jun 2014   #2
gregrocker

 

Do not format the drive or do anything other than download and burn to CD free Partition Wizard, burn to CD using Windows Image Burner.

Boot PW CD by tapping the one-time BIOS boot menu key at boot, choose DVD/CD drive to boot.

Then follow this video for Partition Wizard Partition Recovery Wizard - Video Help.

In addition: Partition - Recover Deleted Partitions in Windows
My System SpecsSystem Spec
27 Jun 2014   #3
shashank0889

Windows 7 32 Bit Home edition
 
 

Thank you for your reply! I Tried MiniTool Partition Wizard Home Edition by booting on CD
It shows the HD as 232.89 Gb Unallocated - "Bad Disk".

In Gparted I get error like "Libparted Bug Found" and Partition Table error!
I tried TestDisk/Photorec in Gparted - both did not show the partition table and showed nothing found to recover.

I tried CMD prompt in Windows Installation disc- it found 0 installations and when i switch form X:\Sources to C:\ is gave an error of bad or corruptable disc I guess!
My System SpecsSystem Spec
.

27 Jun 2014   #4
Anshad Edavana

Windows 7 Ultimate x64
 
 

"Partition Wizard" flagging a HDD as bad doesn't necessarily means it is faulty. If partition table is screwed, PW may flag the disk as bad ( i have seen PW doing this if the disk type is "Dynamic" ).

Quote:
In Gparted I get error like "Libparted Bug Found" and Partition Table error!
This could be the reason PW flagging the disk as bad.

Quote:
I tried TestDisk/Photorec in Gparted - both did not show the partition table and showed nothing found to recover.
Have you run a "Deep" scan with "TestDisk" ?. Which exact boot disc you used ? ( is it "Gparted" or "Parted Magic" ).
My System SpecsSystem Spec
27 Jun 2014   #5
Anshad Edavana

Windows 7 Ultimate x64
 
 

Some background info will be helpful. What exact problem you had experienced with the system ?. Can we have a link to the other forum's thread in which you are instructed to run DISKPART ?.

Also i highly recommend to stop trying commands like "Fixmbr" etc to not make the problem worse.
My System SpecsSystem Spec
27 Jun 2014   #6
jumanji

Windows 7 Home Premium 32 bit
 
 

Normally a bad disk message would warrant a check of your disk with manufacturer's diagnostic utility.

But here the history you have given - problem with MBR, trying to fix mbr, running diskpart clean to clean the first sector all suggest that there can be other reasons as Anshad Edavana stated.

Now Diskpart clean also went through and upto that point the drive was accessible.

At this point I would suggest that you should write the MBR code using TestDisk.

Since you have already used Test Disk, I shall straight away go to the fourth screen.

There instead of Analyse move down to [MBR Code] Write TestDisk MBR to first sector ENTER and then y and again y on the next two screens.

If MBR code is successfully written,you will get a confirmation screen and you are better off than before. Press ENTER. Shut down your computer after closing the Test Disk etc.,

Boot now with Partition Wizard. Do you still get a Bad Disk message? If you no longer get a bad disk message,do a quick scan with Partition Recovery Wizard and check whether partitions are found.

You can also do a quick search with TestDisk, but if I remember correctly if no bootable partition is found it will not initiate a search.. If MBR Code is written there is a greater chance of it initiating the search.
My System SpecsSystem Spec
27 Jun 2014   #7
shashank0889

Windows 7 32 Bit Home edition
 
 
caution: psyched long History

Thanks anshad & jumanji for the prompt reply!

Long story short: (Flashback History)
I initially experienced BSOD error about 2 weeks back, it would either get stuck at start screen or cursor with black screen, I somehow rebuilt bcd and after hours of trying it brought back life into my PC. I should have backed everything here! But thought everything is fine, I expanded the space on my C: Drive (thinking its a problem with RAM and lack of space on my system drive) SO i had one primary drive -C and D,E,F as extended drives. No changes in hardware and i made sure system restore is also there.

What happened now: It would just get stuck at loading windows screen for hours without loading it, I tried Gparted TestDisk even at that time and couldnt recover the table. I had the same bug found error/volume corrupted,etc. After failing, I ran windows installation Disc, it showed my windows installation on C. System recovery detected the problem but couldnt fix it even after several restarts. I had all the files intact untill I ran DISKPART CLEAN - in the help section it showed me that 1mb of beginning and end would be deleted. I ran it and immediately found that I couldnt switch to C: Drive. the computer hung there and I was forced to restart! Now it would show as "Please insert boot media and press any key". I'm guessing it couldnt even detect my harddrive any more after the command.
My System SpecsSystem Spec
27 Jun 2014   #8
shashank0889

Windows 7 32 Bit Home edition
 
 

I did see the "Write MBR" command, It would not overwrite any files right? I am running out of options now! Do I remove my harddisk and put it back and then retry? The bad volume/ unallocated space scares me at present
My System SpecsSystem Spec
27 Jun 2014   #9
jumanji

Windows 7 Home Premium 32 bit
 
 

No, the MBR will be written to Sector zero where it should be. I shall post a screen in a shortwhile.
My System SpecsSystem Spec
27 Jun 2014   #10
Anshad Edavana

Windows 7 Ultimate x64
 
 

The description you provided indicates possibly failing hard drive. I would recommend diagnosing the hard drive and verifying it's health before any other steps. It will be safe to check the SMART data of HDD as a first step. Please follow the below steps.

1. Download "Parted Magic" from Download Parted Magic - MajorGeeks

2. Boot from it and open "Disk Health" (GsmartControl ). Select your HDD and double click on it.



3. Navigate to the "Attributes" tab and choose "Save As" and save the file with the name SMART.



Upload this report with next reply. If you have a wired broadband connection, you can connect to the Internet from within "Parted Magic". There is "Firefox" to browse net.
My System SpecsSystem Spec
Reply

 DISKPART clean performed accidently. how to recover data?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Recover data from a diskpart > clean command
This must be my one time blunder but I did manage to clean my 2TB backup external HDD in an attempt to clean a pendrive to make a bootable pendrive for installing Windows 8. Now the help file for the diskpart > clean command says only the MBR partitioning information and hidden sector...
Backup and Restore
Recover Partitions from diskpart -> clean command
Hi Guys, I was trying to install windows 7 on my windows 8 laptop (UEFI) and when it didnt allow me to install win7 on partitioned drive I followed YouTube video foolishly and fired diskpart - clean command. everything gone after that. Luckily I didnt do anything after that and referred one of...
Backup and Restore
diskpart/clean by accident....need to recover partitions,begging :'(
Hi everyone, 1st of all I am sorry if this the wrong section to post this and, im BEGGING you to please help me. As the title says, i lost my partition table. Here is what i did and help me please, For past couple of weeks my hp g6(spec is filled on my profile. See below if it is necesory...
Backup and Restore
diskpart / clean, format by accident , need to recover data
Hello, I know it's stupid but i diskpart/clean and formatted while installing windows from cmd, it's a new laptop so i had no other data just (i don't remember exactly) 100GB not more. i installed windows on that formatted disk. I had all data on D Disk (500GB) and now i have only one disk which...
Backup and Restore
recover data from DVD-RW - accidently quick erased disc, help plZ!!!
Hi, Is there a software to recover data from a DVD-RW which has been quick formatted / quick erased? Please help, DVD-RW had my brothers holiday pics/family pics, need to recover by the end of the week before he finds out.:cry: Thanks in advance. Note: I installed isobuster, but it...
Backup and Restore


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 22:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App