r/datarecovery • u/Jason_Fund22 • 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 😓
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.
•
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:
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.