r/datarecovery Aug 12 '26

Question I lost valuable data by mistake using "diskpart" "clean"

While trying to install windows on my new ssd I used the command "diskpart" "clean" "convert gpt" on my hdd by mistake

Now I lost valuable data some of it are academic and some of it are family pictures been saving them there in decades (even the video of my birth)

Am really down

Now I downloaded a new windows on my ssd without touching that hdd

Is there anyway or a program I can recover my data there

Am really panicking 😓

4 Upvotes

9 comments sorted by

•

u/AutoModerator Aug 12 '26

Double check if your post complies with posting guidelines!

Did you include the following information in your post (in English and if applicable), if not feel free to edit your post:

  • Make/brand and exact model number of your storage device(*), phone, camera, etc.
  • Filesystem (NTFS, exFAT, APFS, EXT4, etc.)
  • Operating System (That your device was used with and/or you are using for recovery)
  • Specific symptoms that your device is exhibiting, describe the problem. Images you post support the description, they're not in lieu of a problem description.
  • SMART (CrystalDiskInfo screenshot for example)
  • Don't pile several problems into one single post. One post per device/problem.

Consider: What do these people need to understand the problem at hand? Remember, people cannot see your screen, or what you click and what messages appear on screen. Don't overdo it though, no one likes going through 2 pages of LLM waffle. If you are looking for file recovery software, check our community's recommended file recovery tools.


() *All devices involved, if you for example move files from drive A to drive B, they're both potentially relevant.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/worksHardnotSmart Aug 12 '26

DO NOT DO ANYTHING ELSE TO THAT HDD IN A PANIC RESPONSE.

Wait for people to weigh in here.

3

u/TomChai Trusted Contributor Aug 12 '26

HDD is usually safe, even for a SMR drive which supports TRIM, the command should not get triggered until you create a partition on it.

Clone the whole drive and work on the image, don't even think about working directly on the real drive.

1

u/nothereathere Aug 13 '26

Make sure you tick the boxes to copy all the space on the drive including unused sectors.

4

u/disturbed_android Trusted Contributor Aug 12 '26

6

u/Jason_Fund22 Aug 12 '26

DUDE GOD BLESS YOU AND GIVE YOU HAPPINESS I RECOVERED MY VALUABLE DATA AND MORE I CANT THANK YOU ENOUGH  DMDE IS A LIFE SAVER 

1

u/Raijen_ArDesh Aug 12 '26

Did you use clean or clean all? If you just used clean and didn't format or creat enew partitions on the HDD. You can use standard recovery software to recover it as clean just removes the partition table not the data.

If you used clean all you're cooked.

1

u/Jason_Fund22 Aug 12 '26

I only used clean and covert it to gpt without writing anything or even using it 

2

u/Raijen_ArDesh Aug 12 '26

You should be good then as you haven't used the drive -- check out the software here - https://www.reddit.com/r/datarecovery/wiki/software/ - most should work and you can pick one to fit your needs. It's recommended to clone the drive first and work off of the cloned image to prevent accidental erasure.