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?

27 Jun 2014   #11
Anshad Edavana

Windows 7 Ultimate x64
 
 

@Jumanji

"TestDisk" don't require MBR or GPT header to be present. It will find partitions as long as boot sectors are not over written and the disk is healthy.

Another possible obstacle is disk encryption.

@shashank

Quote:

I had all the files intact untill I ran DISKPART CLEAN
If the system was not booting at that time, how do you know that all files are in there intact ?.


My System SpecsSystem Spec
.
27 Jun 2014   #12
shashank0889

Windows 7 32 Bit Home edition
 
 

I could use command prompt and D:\dir and view the files! the same was for all other drives. Will perform PartedMagic shortly! Downloading
My System SpecsSystem Spec
27 Jun 2014   #13
jumanji

Windows 7 Home Premium 32 bit
 
 

Test Disk MBR:

Initially I had zeroed Sector 0 . All zeros. ( I do it often with Bootice for all my experiments)

Then I wrote Test Disk MBR.

Now sector O has everything but partition table. The MBR code, Windows Signature and MBR disk signature.It does not have the partition table. That space 64 bytes in all are still 00s. If TestDisk or PW find the sectors with NTFS volume boot record, the sectors will be noted and the partition table will be written in the space assigned to them in the sector 0.

DISKPART clean performed accidently. how to recover data?-27-06-2014-14-24-25.jpg

I am off for my afternoon nap.


My System SpecsSystem Spec
.

27 Jun 2014   #14
Anshad Edavana

Windows 7 Ultimate x64
 
 

Since CLEAN command is already issued, first 1 MB and last 2 MB will be already destroyed. We can try writing a new MBR and then a "Deep" scan with "TestDisk" as it won't hurt writing to sector zero which is already wiped. But let's verify the disk's health condition first.
My System SpecsSystem Spec
27 Jun 2014   #15
Anshad Edavana

Windows 7 Ultimate x64
 
 

@shashank

In addition to collecting the SMART report, please perform the below steps also.

1. Open a "Terminal" Window ( Monitor icon in the taskbar ).

2. Enter the below command.

fdisk -l

3. No take a screenshot of the command window. There is a screen capture utility in "Parted Magic" ( named "Screenshot" )which will be located in either "Graphics" or "multimedia". Opening that and you will see options to capture either the full screen or active window. Use "Active window" option and save the picture. Upload it with the SMART report.
My System SpecsSystem Spec
27 Jun 2014   #16
shashank0889

Windows 7 32 Bit Home edition
 
 

It shows "Overall Health Self-Assessment" as FAILED. Attaching the assessment!


Attached Files
File Type: txt SMART.txt (9.5 KB, 7 views)
My System SpecsSystem Spec
27 Jun 2014   #17
shashank0889

Windows 7 32 Bit Home edition
 
 
fdisk -l

Screenshot of Fdisk -l attached herewith.


Attached Thumbnails
DISKPART clean performed accidently. how to recover data?-screenshot-fdisk.png  
My System SpecsSystem Spec
27 Jun 2014   #18
Anshad Edavana

Windows 7 Ultimate x64
 
 

This is definitely bad news. "GsmartControl" is not like other SMART monitoring tools. It only displays what is written in the SMART log of a HDD (it won't predict disk life its own ). All the BSOD and booting issues, PW flagging disk as bad etc further confirms the disk's critical condition.

( use "Notepad++" to correctly view the "SMART.txt file )

If the data stored on the disk is really important and you need to recover them as soon as possible, i would recommend hiring the service of a professional data recovery company. Otherwise we can try to recover data but it will take time as copying the disk to another good one is the first step.


Anyway please perform the below steps to check whether there is a valid file system present on the disk.

1. Open a "Terminal" window.

2. Enter the below command exactly.

dd if=/dev/sda of=/root/Desktop/MBR.img bs=512 count=2050

3. After the above command completed successfully, you will see a file named MBR.img on the desktop. Please attach it with next reply.
My System SpecsSystem Spec
27 Jun 2014   #19
Anshad Edavana

Windows 7 Ultimate x64
 
 

Do you remember how many partitions was on the disk ?.
My System SpecsSystem Spec
27 Jun 2014   #20
shashank0889

Windows 7 32 Bit Home edition
 
 
Just an Update

I somehow feel better about PARTEDMAGIC. brings some faith and hope back. I ran a testdisk and deeper search and found the partitions which GPARTED couldnt detect. Attaching 2 screenshots. Can I run photorec? or What is a better solution??

GSmartControl shows health as "Alert:the drive is reporting that it will FAIL very soon. Please back up as soon as possible."


Attached Thumbnails
DISKPART clean performed accidently. how to recover data?-screenshot-sk.png   DISKPART clean performed accidently. how to recover data?-screenshot-testdisk.png  
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 05:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App