Recover data from a diskpart > clean command

Page 1 of 13 12311 ... LastLast

  1. Posts : 42
    Windows 10 Pro (64-bit)
       #1

    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 information are overwritten. And I was able to realize what i did exactly after hitting the enter key on the clean command.

    On master boot record (MBR) disks, only the MBR partitioning information and hidden sector information are overwritten. On GUID partition table (GPT) disks, the GPT partitioning information, including the Protective MBR, is overwritten. If the ALL parameter is not used, the first 1MB and the last 1MB of the disk are zeroed. This erases any disk formatting that had been previously applied to the disk. The disk's state after cleaning the disk is 'UNINITIALIZED'.

    While I am aware of the fact that any data recovery is not 100%, still I am looking for a sure-shot way to recover the data as I don't have any other drive clone the disk as a way of backing it up. So I am in need of a way which has maximum chances of recovering the data.
    Some facts about the state of the drive are as under

    • I stopped exactly after hitting the clean command and no operation has been performed on the HDD after that.
    • The HDD has no partitions on it i.e. its a 2TB single partition.
    • I am running Windows 8.1 Pro

    Is there any way I can recover my data?
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #2

    You did diskpart->clean? So not "clean all". So If the ALL parameter is not used, the first 1MB and the last 1MB of the disk are zeroed.

    Was the 2TB partition originally created within win7/8?
    The last 1MB is not a huge problem. Most likely it's free space. Or used by one useless file.

    Where did the 2TB partition start? I mean what was the first sector of that partition? If it was below the 1MB boundary.... you're out of luck... it's overwritten with zeroes.

    "To work around this issue specify a starting offset of 2,048 sectors (1 megabyte). A starting offset of 2,048 sectors covers most stripe unit size scenarios. This is the default for windows Vista and windows 7 and also adds support for GPT (guid partition tables)"
    Win7/vista creates partitions starting at the 1MB boundary by default.
      My Computer


  3. Posts : 42
    Windows 10 Pro (64-bit)
    Thread Starter
       #3

    Its not a system boot disk but rather an external disk where I keep important files. And no It wasn't formatted by the Windows 7/8 setup. It was pre-formatted when I opened the box so my best guess is that it started from the beginning and extended up to the end of the drive. Its a Seagate GoFlex Desktop 2TB External USB 2.0 Drive
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    How to perform lost partition recovery and deleted partition recovery under Windows? Partition Recovery Help.
    Use "quick scan" and post a camshot of the results. It should find 1 very large partition (I hope) in only a few seconds.
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #5

    lonewolfs said:
    Its not a system boot disk but rather an external disk where I keep important files. And no It wasn't formatted by the Windows 7/8 setup. It was pre-formatted when I opened the box so my best guess is that it started from the beginning and extended up to the end of the drive. Its a Seagate GoFlex Desktop 2TB External USB 2.0 Drive
    Preformatted as NTFS or FAT32?
      My Computer


  6. Posts : 42
    Windows 10 Pro (64-bit)
    Thread Starter
       #6

    It was pre formatted NTFS and quick scan by Partition Recovery Wizard didn't find anything quickly but rather its scanning the whole drive i am at 8% yet so it will take sometime.
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #7

    From Resizing NTFS problems for Seagate GoFlex Desk 2TB External USB 2.0 (Page 1) ? GParted ? GParted forum

    path: /dev/sdd1
    start: 63
    end: 3907024127
    size: 3907024065 (1.82 TB)
    check file system on /dev/sdd1 for errors and (if possible) fix them 00:01:25 ( SUCCESS )

    So 1.82TB (vendor calls is 2TB...quite normal). Start-sector=63 also quite normal in winxp and other OS'es. Sector 63=63*512=31.5kB. So before the 1MB boundary!!! I hoped for start sector 2048.
      My Computer


  8. Posts : 42
    Windows 10 Pro (64-bit)
    Thread Starter
       #8

    So most probably everything is lost? I'd still continue the scan and check if it can recover anything.
      My Computer


  9. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #9

    lonewolfs said:
    So most probably everything is lost? I'd still continue the scan and check if it can recover anything.
    Try TESTDISK .... very good software. But be carefull what you do!! cgsecurity.org ? View topic - Partitions, Filesystem, MFT all corrupt? explains a lot. Try to recover a partition that starts at sector 63 and is very large and is type NTFS. Use "Deeper search" if it isn't found.

    Post camshot of results please.

    After partition has been recovered you can do "Repair MFT" (also in manual). [if needed]
    After that "Repais BS (boot sector)". [if needed]

    Also usefull information Regain a lost drive using Test Disk - An Illustrated Guide
      My Computer


  10. Posts : 42
    Windows 10 Pro (64-bit)
    Thread Starter
       #10

    While it is still scanning it found 2 lost/deleted partitions which I don't suppose I had on my drive. Am I going the wrong way?

    Recover data from a diskpart > clean command-scan.jpg
      My Computer


 
Page 1 of 13 12311 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 02:41.
Find Us