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 By Accident

22 May 2014   #1

Diskpart By Accident

Hi everyone.

I am having a very similar issue as OP, but I "accidentally" [STUPID ME.....] did diskpart/clean (only clean) on a remote HD (149Ghz size with no partition on it).

I am still reading through this thread and hopefully I will be able to recover my data on this remote HD. I have been using TestDisk, EaseUS partition recovery to scan (only quick scan so far) w/o any luck yet. At this moment I am running Partition Recovery quick scan now. Since I do not have any partition on this HD, I am not sure if I am doing the right thing.... I only store pictures (tons of them) and some docs on it. I am on Page 9 of this thread, I will keep reading and trying.

Thanks in advance for helping me,
My System SpecsSystem Spec
22 May 2014   #2

Windows 10 Pro x64 2004 - 19041 - 329 XP/Vista/Win7/Win8.1 in VM for testing

Originally posted here diskpart/clean by accident....need to recover partitions,begging :'(

Moved to allow better help
My System SpecsSystem Spec
23 May 2014   #3


Hi all,

After several attempts of search using testdisk, when pressing "P" I can see all my files now, should I then continue with the table recovery? Many websites (including the TestDisk Wiki page), the examples used are when disks contain multiple partitions, while I never partitioned it at all, it was just a "complete disk". Sorry I am not familiar with the technology.

For image2 below, should I change partition characteristics to Logical? or just Enter to continue?

Many thanks!

My System SpecsSystem Spec

24 May 2014   #4

Windows 7 Home Premium 32 bit


What is the actual size of that HDD?

TestDisk says that it seems to be too small.

And you said that by hitting P, you can see all the files. In that case I would rather play safe and copy all those files to another external HDD or internal HDD if that has sufficient space. If you are to copy it to another external drive you must have it plugged in before you run Test Disk.

So if you would take this advise and copy the files, plugin the external drive and run Testdisk again.( Only copy files and do not do any write operation such as changing to Primary or logical and any rewrite Partition Table)

At this point, I still feel you should try Partition Recovery Wizard in MiniTools Partition Wizard. Since you have zeroed the first sector - that is what the clean command does - both MBR code and the partition table are lost. So in the Partition Wizard Main Screen which shows all your drives, you should first write the MBR code on that HDD by selecting that HDD and then "Rebuild MBR" on the left Pane. Once the MBR code is written (a reboot may be necessary), you should run the Partition Recovery Wizard and do a Quick Scan.If by selecting the partition shown, if the Disk Map Preview shows your entire disk as it was before, you can then Finish, and Apply the pending operations.
My System SpecsSystem Spec
24 May 2014   #5


Thanks! I was able to recover everything.

My System SpecsSystem Spec
24 May 2014   #6

Windows 7 Home Premium 32 bit

That's good news.

Can you please recount what you did?

That can of course help others.
My System SpecsSystem Spec

Thread Tools

Similar help and support threads
Thread Forum
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 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
Got rid of my overclock on accident
Hi I was trying to fix my computer a while back and during the process I reset the stuff in my BIOS thinking it had something to do with it. So I lost my overclocking. I didn't set up the overclocking myself and I'm not in contact with the person who did it. I remember the frequency that my...
PC Custom Builds and Overclocking
Installed 32 Bit On Accident
I accidentally downloaded the incorrect student version from Digital River. I meant to go with the 64 bit but installed the 32 bit. I'd already done the install before I realized my error. I contacted Digital River and they are refunding my money for the 32 bit purchase. I have since purchased...
Installation & Setup

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 23:45.
Twitter Facebook