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: Used diskpart-clean command on sd card? Help

04 May 2015   #41
Jennied123

windows 7 home premium 32 bit
 
 

Alright, Ive just about given up ):
Nothing is working, it must be unrecoverable. But thank you all for your help, i appreciate it


My System SpecsSystem Spec
.
04 May 2015   #42
jumanji

Windows 7 Home Premium 32 bit
 
 

If you have decided not to seek a Professional Data Recovery Service:

Do this.

FAT32 format your SD card with Windows Disk Management or MiniTools Partition Wizard after creating a new volume.. Do only a Quick Format That will leave most other sectors untouched.

After quick formatting, run PhotoRec/ZAR. Now that the configuration is right, there is an outside chance they will pick up the data - if it had not been wiped out completely - and retrieve your photos. As carwiz rightly pointed out earlier these programs can retrieve the data even after formatting.

If that happens well and good.
My System SpecsSystem Spec
04 May 2015   #43
carwiz

Windows 7 Pro-x64
 
 

No, No, No! Do NOT use Windows to format a camera card. You could loose up to the first 120MB of data and kill any chance of recovering pictures. If you did that already, chances are that your pictures are gone forever.
My System SpecsSystem Spec
.

04 May 2015   #44
jumanji

Windows 7 Home Premium 32 bit
 
 

The OP had already created a new partition after performing a disk clean as per post #1.I presume the OP just stopped short of formatting it

"From there i ended up using clean command and created a primary partition"

Doing a quick format is going to write the filesystem to the first sector of the partition and perhaps a few handful of sectors succeeding it. Of course the data in these few sectors will be lost. Not a great price if the OP could recover most of the data and photos.

Something is better than nothing ( if it works out ) unless you have any alternate plan/s to retrieve all data without losing even a bit.

Or do you think the OP should straightaway seek professional recovery?
My System SpecsSystem Spec
04 May 2015   #45
carwiz

Windows 7 Pro-x64
 
 

I missed that. The clean wouldn't hurt the data but the partition creation might. That's where Windows could write up to 120MB on the drive. Depending on the size of the pictures, that will pretty much overwrite them and could wreck the camera's ability to format the card again. I don't know of any camera card that has a volume label. I wish the OP got here sooner.

A quick format with the card in the camera should have been the first step. All digital cameras I know of have that capability or a way to initialize the card for the camera's specific format.

Someone will have to examine the card with specialized software now and see if any of the picture files can be extracted. I have some pretty powerful software that may do it but I'm not turning it loose to a casual user. It's too dangerous.

The best bet now is, as you say, professional recovery.
My System SpecsSystem Spec
05 May 2015   #46
jumanji

Windows 7 Home Premium 32 bit
 
 

My experiment formatting a 1 GB SD card as FAT16 in the camera, FAT16 in Windows Disk Management, and FAT32 in WIndows Disk Management indicates the following results.

FAT16 formatted in my Kodak Camera: Writes FAT related data into first 522 sectors.The OP will not lose any existing user data (photographs) since the first 2047 sectors have already been zeroed by diskpart clean.. (user data from sector 522 to 2047 has already been lost irrecoverably)

FAT16 formatted in WDM: Writes FAT related data into first 527 sectors. Again the OP will not lose any existing user data (photographs) since the first 2047 sectors have already been zeroed by diskpart clean.. (user data from sector 527 to 2047 has already been lost irrecoverably)

FAT32 formatted in WDM:Writes FAT related data into first 8200 sectors. OP is likely to lose any existing user data in sectors 2048 to 8200 and this works out roughly 3MB.

So carwiz is partly right when he said FAT32 formatting will wipe out 120MB data. Well that prompted me to do this experiment and yes there will be a data loss of around 3MB and not 120 MB in this case with a 1GB Card. ( Fortunately I had a 1GB spare card for my camera.)

So the OP may format the drive as FAT16 either in the camera - if OP's camera formats as FAT16 - or format the SD card in FAT16 in Windows Disk Management. Either way no user data that exists - if it exists - will be lost.

I presume that PhotoRec as well as ZAR refused to do a real scan due to some configuration change that had taken place on insertion to a mac.

I also presume by providing some sort of right configuration as a properly FAT16 formatted SD Card, these programs may do the job.

So my recommendation is the OP should do this as the last attempt should he/she decides not to hand the job over to a Professional Recovery Service.
My System SpecsSystem Spec
05 May 2015   #47
carwiz

Windows 7 Pro-x64
 
 

Well to be clear, I said up to 120MB. And you didn't perform the same operations. How much was used when you assigned a partition? (As noted by OP)

On a clean Fixed Disk I just did, it's 108MB.


Attached Images
Used diskpart-clean command on sd card? Help-disk-partition.jpg 
My System SpecsSystem Spec
05 May 2015   #48
jumanji

Windows 7 Home Premium 32 bit
 
 

What do you mean by saying " you did not perform the same operations"? You used an obnoxiously large Fixed Disk. Nobody is going to put a 700GB SD card in his camera.

My aim was to find out what FAT related data is written on a 1GB SD card a) when it is formatted as FAT16 (I used my Kodak camera to format it) and b) when formatted as FAT16 in WDM and c) when formatted as FAT32 in WDM

The procedure adopted:

In all the above three cases using bootice I wrote FF to all the 1999871 sectors so that I can observe what all sectors have changed after formatting.

a) FAT16 formatted by my KODAK camera:

[Used diskpart-clean command on sd card? Help-a5-5-2015-5-10-04-pm.jpg

Sector 0 (MBR) and sector 245 (VBR) had FAT data. All sectors in between remained FF - not changed.
Sectors 246-767 total 522 sectors were all 00 (Changed from FF to 00) All the rest remained FF.

These 522 sectors I presume are the reserved sectors where the user files are indexed as and when a user data file is added.

Comment:

By diskpart clean the OP had already zeroed the first 2047 sectors,

So by performing this FAT16 format the OP is not going to lose any other user data other than what he/she had lost already from 768 to 2047.

b.) FAT16 formatted by Windows Disk Management:

Used diskpart-clean command on sd card? Help-b5-5-2015-5-48-17-pm.jpg

This is almost similar to the last case except here the MBR and VBR are clubbed in Sector 0.

Sector 1 -527 - total 526 sectors were all 00. (Changed from FF to 00) Again these are the reserved sectors where FAT will write the index as and when a user data is added.

Sectors 528-1999871 remained unchanged at FF.

Comment:

By diskpart clean the OP had already zeroed the first 2047 sectors,

So by performing this FAT16 format The OP is not going to lose any other user data other than what he/she had lost already from 528 to 2047.

c) FAT32 formatted by Windows Disk Management I can't format it FAT32 in my camera, it only formats it as FAT16 )

Used diskpart-clean command on sd card? Help-c5-5-2015-6-08-39-pm.jpg

Here again MBR and VBR are clubbed into Sector 0.

Sectors 1,2,7,and 12 also had FAT32 related data.

Sectors 3-5 and 8-11 were 00 (Changed from FF)

Sectors 13-8199 had also changed to 00 from FF, Again these are the reserved sectors.

Sectors 8200- 199821 remained unchanged at FF

Comment:

If the OP's camera had originally formatted the 1GB card in FAT16 (where the reserved sectors ended in the region of 767 -let us take it as 750) by formatting it as FAT32 in Windows the OP would have lost any user data from 2047 to 8200 sectors. At 512 bytes/sector it works out to 3175KB or 3.175 MB.

It is good that you brought in this loss factor that made me to have a relook at it by this experiment.A loss is a loss however small it is and so I stand to correct that the OP should format the drive as FAT16.

Whether he does it on his/her camera or in WDM is immaterial, Either way there will be no fresh loss of data.

Good that the OP hadn't returned till now and I saved my skin through you.


My System SpecsSystem Spec
Reply

 Used diskpart-clean command on sd card? Help




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 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
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
Deleted HDD files using diskpart command
Hello In an attempt to create a windows 7 bootable USB I've deleted my HDD (it was late and in a hurry :cry:). I have 2 drives connected: 1'st is an SSD drive - for main windows, 2'nd is a 1TB HDD drive western digital splitted in two partitions. The commands i've runned are: diskpart, list...
Backup and Restore
Formating 3tb drive..diskpart clean or clean all
I am having to format a 3tb drive that I am installing Windows 7 on and I need to know do I need to do clean all or just clean in diskpart? What happened is I did not know about the GPT (first time dealing with a drive over 2tb) and I just went through the motions like you do with installing. Well...
Installation & Setup
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 19:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App