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 a diskpart > clean command

24 Jun 2014   #61
jumanji

Windows 7 Home Premium 32 bit
 
 

Hi Anshad

I shall come back to the above topic after a while. Not really earth-shaking now. Things may be changing.( I'm an old timer.) I shall also look for any info on it.

I see lonewolfs here.

So here is an exercise for him.

Hi lonewolfs,

Run bootice, open your external drive with Sector Edit. Your drive has 3907029167 sectors.

Now how many GBs of data did you have on that drive?

With your mouse roller you can scroll through all the sectors and report whether you see those sectors populated.

Ignore anything in sectors listed by PW in the screenshot in post #48. There may or may not may not be something in those sectors. But we are not interested in it.

Concentrate in the rest of the sectors. Do you find those populated to the extent of your data?

Or do you find those all empty with oo?? If you find those all zeros , may be you zeroed your drive completely and there is no data in it.

Take your time and then report.


My System SpecsSystem Spec
.
24 Jun 2014   #62
lonewolfs

Windows 10 Pro (64-bit)
 
 

Hi I am at work now but I am pretty sure other sectors have data on them. I ran only clean command and not clean all so... still ill check it in an hour or two and let you know. Regarding the data on disk, out of the usable space on a 2TB drive which i am not sure how much it is at this moment but before i ran the clean command only like 60GB was empty on it.
My System SpecsSystem Spec
24 Jun 2014   #63
jumanji

Windows 7 Home Premium 32 bit
 
 

No probs. Do it slowly after you get back from your work.

If you had only 60GB free in 2TB, then most of your sectors should be populated and show hexadecimals other than all oo. Check and then report.
My System SpecsSystem Spec
.

24 Jun 2014   #64
jumanji

Windows 7 Home Premium 32 bit
 
 

@Anshad,

You are right. Whether it is 63 or 2048 seems to depend upon the partitioning utility.This time I decided to format the external HDD in Windows Disk Management. It shows 2048 in bootice and sector 2048 is populated with NTFS. So its worth watching in future as to which one does what. At this point I am also not sure what it will be in a new factory formatted external HDD.( I have manipulated all my external HDDs zeroing them and formatting on receipt so the original is not there.. And I generally do not format with Windows Disk Management)

Recover data from a diskpart > clean command-24-06-2014-13-30-51.jpg

In OP's case Partition Table is not present in Sector 0. Examination of other sectors will show whether the data is there or not. I shall also ask him to examine sector 2048.


My System SpecsSystem Spec
24 Jun 2014   #65
lonewolfs

Windows 10 Pro (64-bit)
 
 

@jumanji I checked my entire disk and its filled with data just the starting LBA's that are 0'd
My System SpecsSystem Spec
24 Jun 2014   #66
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

sector 2048 is first sector of first partition. At least if you partition within windows vista or win7 or win8. As told before win7 "diskpart clean" only zero's the MBR (so sector 0 so first 512 bytes only) according to documentation. Maybe someone can test that with a usb stick for example. Documentation is not 100% clear to me. Maybe first 1MB (sector 0-2047 are cleared)

All partitions should be recoverable very easily. You didn't do only the "disk clean" command! Something else should have happened.
My System SpecsSystem Spec
24 Jun 2014   #67
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by lonewolfs View Post
@jumanji I checked my entire disk and its filled with data just the starting LBA's that are 0'd
How may sectors are zeroed .... 2048? Or only sector 0?
My System SpecsSystem Spec
24 Jun 2014   #68
jumanji

Windows 7 Home Premium 32 bit
 
 

Kaktussoft, I shall check and report. I am halfway through. very slow. may take some more time.

OK, Lonewolfs

Your LBAs 0 to 2047 are zeroed.

Post a screenshot of sector 2048 from bootice. I want to check whether it is PBR or other data.

Quite possibly you had the PBR on sector 63 and diskpart clean cleaned upto sector 2047 and wiped the sector 63 PBR. Data on other sectors may be there ( except a little that could have been there from sector 64 to sector 2047).That's my guess now.

Post now.
My System SpecsSystem Spec
24 Jun 2014   #69
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by jumanji View Post
Kaktussoft, I shall check and report. I am halfway through. very slow. may take some more time.

OK, Lonewolfs

Your LBAs 0 to 2047 are zeroed.

Post a screenshot of sector 2048 from bootice. I want to check whether it is PBR or other data.

Quite possibly you had the PBR on sector 63 and diskpart clean cleaned upto sector 2047 and wiped the sector 63 PBR. Data on other sectors may be there ( except a little that could have been there from sector 64 to sector 2047).That's my guess now.

Post now.
Are you very very very sure LBA 0-2047 are zeroed on MBR disk after "diskpart clean"?
My System SpecsSystem Spec
24 Jun 2014   #70
jumanji

Windows 7 Home Premium 32 bit
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
Quote   Quote: Originally Posted by jumanji View Post
Kaktussoft, I shall check and report. I am halfway through. very slow. may take some more time.

OK, Lonewolfs

Your LBAs 0 to 2047 are zeroed.

Post a screenshot of sector 2048 from bootice. I want to check whether it is PBR or other data.

Quite possibly you had the PBR on sector 63 and diskpart clean cleaned upto sector 2047 and wiped the sector 63 PBR. Data on other sectors may be there ( except a little that could have been there from sector 64 to sector 2047).That's my guess now.

Post now.
Are you very very very sure LBA 0-2047 are zeroed on MBR disk after "diskpart clean"?
Whether Diskpart clean zeroed it or not I can't tell until I finish my experiment. But OP's mbrsect.txt when opened with HxD ( Thanks to Anshad) shows sector 1 to sector 2047 all 00 s.
My System SpecsSystem Spec
Reply

 Recover data from a diskpart > clean command




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Disk - Clean and Clean All with Diskpart Command
How to "Clean" or "Clean All" a Disk with the Diskpart Command This will show you how to use the clean or clean all command on a selected disk to delete all of it's MBR or GPT partitions, volumes, and any hidden sector information on MBR disks is overwritten. The data on the HDD is not...
Tutorials
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 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
Should I clean my HDD with Parted Magic or Diskpart clean all command?
Hi everyone i have a question about HDD Clean and also question about Win 7 64 bit :) I want to wiped out my all HDD data inside i want to delete all information like a brand new HDD. I heard that there is a program called Parted Magic can do this and also Diskpart clean all command too. ...
General Discussion


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:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App