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: Recover data from an accidental diskpart / clean command

07 Oct 2015   #31
drfalk

Windows 7 64 bit
 
 

Ah, well, hopefully not too late. What should i do to revert back to pre-TestDisk state?
I ran another Deeper Scan, and it still finds my files, but this time with 2 options showing the files. I attached the 2 that show my files, (they're the highlighted ones).




Attached Images
Recover data from an accidental diskpart / clean command-hdd.jpg Recover data from an accidental diskpart / clean command-hdd1.jpg 
My System SpecsSystem Spec
.
08 Oct 2015   #32
jumanji

Windows 7 Home Premium 32 bit
 
 

Did you select [GPT EFI] this time? Yes/No

Only your last screen in your last post shows " P: list files"

So select only that partition which shows as "D 16 113 34 364801 66 1 5860268032"
and then press "Shift + P" (capital P) to list the files. Does it show your files?

Copying the files: To copy the files to another external drive, you must have the other external drive plugged in before you started TestDisk, so that TestDisk sees the drive.( You cannot plug it in after you had started TestDisk)

Please create a folder named TD Recovery on that external drive. When TestDisk list the files and asks for the Destination to copy you should point it to the TD Recovery folder on the external drive.

Read this on how to copy: My external hard drive suddenly became unllocated: ( Don't follow screenshots 1 to 3. That only shows how I made my drive RAW so that I can recover the data and copy it with TestDisk.You already have the RAW drive.)

Please post the screen that comes when you press shift+P listing the files and the next screen when you issue the copy command.
My System SpecsSystem Spec
08 Oct 2015   #33
drfalk

Windows 7 64 bit
 
 

Ok so here it is:
1st shows List all files with Shift+P and Copy command,
2nd image shows directory for copy.

I went ahead and issued copy command, seems like it is going to take a while so I will post back later today with results.


Attached Images
Recover data from an accidental diskpart / clean command-hdh1.jpg Recover data from an accidental diskpart / clean command-hdh.jpg Recover data from an accidental diskpart / clean command-hdh2.jpg 
My System SpecsSystem Spec
.

08 Oct 2015   #34
jumanji

Windows 7 Home Premium 32 bit
 
 

Looks good. When completed, quit TestDisk, check your copied files and let us know.
My System SpecsSystem Spec
10 Oct 2015   #35
drfalk

Windows 7 64 bit
 
 

Okay, so it literally just now finished copying the files, with no problems to report!

What should I do next to get the drive back to original working condition, so i can transfer these files back to proper drive?
My System SpecsSystem Spec
10 Oct 2015   #36
rvcjew

7 Pro x64, 10 Pro x64
 
 

Quote   Quote: Originally Posted by drfalk View Post
Okay, so it literally just now finished copying the files, with no problems to report!

What should I do next to get the drive back to original working condition, so i can transfer these files back to proper drive?
If you're sure you have all your files off (check them to make sure they work first) then if it were me I would run clean on it again (make sure you do the right disk) then go to disk management and initialize it as gpt, make an NTFS partition with quick format, and then copy my data back. I would wait to see if Jumanji has any other suggestions first though.
My System SpecsSystem Spec
10 Oct 2015   #37
jumanji

Windows 7 Home Premium 32 bit
 
 

OK, good. Once you check recheck and are convinced all files are OK, make a disk clean again.
But .........

I never recommend a diskpart clean / cleanall for the simple reason many go wrong inadvertently and perform it on a wrong drive because of the cryptic notations in diskpart.

Instead do a low level formatting with HDD LLF Low Level Format Tool. Download the Windows executable (works without installation) HDDGURU: HDD LLF Low Level Format Tool

Remove all other external drives/pen drives from your PC

Right click on HDDLLF.4.40.exe and run as administrator.

Choose Low level Format and then FORMAT THIS DEVICE. This is equivalent to diskpart Cleanall ( If you check "Perform quick wipe ( just remove partitions and MBR) and then FORMAT THIS DEVICE it is equivalent to a diskpart clean) Since your drive is a 3TB it will take hours to complete the full format writing zeros to all sectors. So leave it overnight.

Recover data from an accidental diskpart / clean command-10-10-2015-18-46-39.jpg

Recover data from an accidental diskpart / clean command-10-10-2015-18-52-24.jpg

Once low level format is over, initialise your drive as GPT and format it with Windows Disk Management.


My System SpecsSystem Spec
10 Oct 2015   #38
drfalk

Windows 7 64 bit
 
 

Reformatting underway,
What are the benefits to reformatting to GPT as opposed to MBR?

Also, the LLF screen is reading off errors, i posted a screenshot.

Looks like it is working, just not sure if i should stop due to error? (Sector number is increasing, and so is % complete)


Attached Thumbnails
Recover data from an accidental diskpart / clean command-hdd-low-level-format.jpg  
My System SpecsSystem Spec
10 Oct 2015   #39
jumanji

Windows 7 Home Premium 32 bit
 
 

Format error. Device not ready. (Most probably your 3TB Faulty HDD is locked and held by some other program)

Stop and close the Low level format tool and shut down your PC.

Reboot your PC. Plug in only your Faulty 3TB external drive.

Wait for a few minutes. Do not run any program like Windows Disk Management etc., that can hold your HDD.

Straightaway start Low Level format Tool, select your Faulty 3TB external and format. Check it runs properly without any error.

Larger than 2TB drives need to be initialised and formatted as GPT. MBR initialised drives can only address maximum 2TB.If you initialise the drive as MBR you can see and use only 2TB. Balance will be shown as unallocated and you won't be able to do anything with it.

Note: I hope your are keeping away the HDD where you have copied your files, away safely.
Do not accidentally low level format that drive.
My System SpecsSystem Spec
11 Oct 2015   #40
drfalk

Windows 7 64 bit
 
 

Okay, i did all the steps as instructed up to initializing drive as GPT. I am not sure how to format the drive now as it's not giving me the option, the screenshot shows all the options i have when the drive is selected within windows computer management.

In my screenshot, Disk 1 is the drive that was just initialized as GPT.


Attached Thumbnails
Recover data from an accidental diskpart / clean command-hps.jpg  
My System SpecsSystem Spec
Reply

 Recover data from an accidental diskpart / clean command




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
Accidental Used Diskpart - Clear Command. How To Revert
I have accidentaly used the 'clear' command of diskpart. I have tried Minitool Power Dat6a Recovery but I see my small partitions but not my main one? What can i do to get these back?
General Discussion
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, format by accident,need to recover data Please Help
Hello Everyone, Here is the problem where I messed up and help me please:(, I had problem with my Asus notebook for black screen after login and I was not able to resolve the issue. 1. So I decided to to format my "C: drive" and was trying to install windows 7 on my windows 7 laptop GPT...
Backup and Restore
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 where volume 1 was my C...
General Discussion
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


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 09:34.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App