Windows 10: DiskPart-Clean command-Bad mistake-Lost all data & O.S HELP PLEASE

Discus and support DiskPart-Clean command-Bad mistake-Lost all data & O.S HELP PLEASE in Windows 10 Installation and Upgrade to solve the problem; Ok here it is short ....... 3nights ago I put my laptop in sleep mode for the night, in the morning I go online & as homepage is opening I get BSOB... Discussion in 'Windows 10 Installation and Upgrade' started by garaunt69, Oct 22, 2020.

  1. garaunt69 Win User

    DiskPart-Clean command-Bad mistake-Lost all data & O.S HELP PLEASE


    Ok here it is short ....... 3nights ago I put my laptop in sleep mode for the night, in the morning I go online & as homepage is opening I get BSOB with stop code ? I didn't catch it in time, it restarts, I sign in get to start screen BSOB this time code 0x000000EF Critical Process Died. It restarts but on boot get error code 0x000000f. At this point im clueless, so I shut it down tried again, nothing auto repair. I tried everything that I found to fix it not booting up many many times, then here is where things turn bad. My device open in CMD I was trying to see if flashdrive was usable to create a media disk as I upgraded from W7 online so no disk of my own. I was in DiskPart to look at the drives which I shouldn't been since im no pro & this is why...I used the clean cmd on my main drive not the flash. This can't be happening, my view of "list disk" before was


    Disk ## Status Size Free Dyn Gpt

    Disk 0 Online 298GB 1024KB

    Disk 1 Online 7751MB 0B

    And after

    Disk 0 Online 298GB 298GB

    Disk 1 Online 7751MB 0B


    To verify what I just did I list disk, selected Disk 0 then "list partitions" and got this

    There are no partitions on this disk to show


    I read that recovery or undo clean would be impossible if I erased all partitions, other options I could find was to use DiskMgt.msc but Cmd said "is not a recognized as an internal or external command, operable program or batch file"


    Also the drive letter is X:\Windows\System32> after exiting DiskPart


    I haven't touch a thing it still in Cmd, if anyone has any knowledge on what possibilities I have at recovering my data especially in this situation I would so much greatly appreciate every little bit you have to offer.


    And yes I am an idiot & no I have no recent back up

    Hopefully there's help out there

    Thanks

    :)
     
    garaunt69, Oct 22, 2020
    #1

  2. DISKPART CLEAN

    Hello

    I'm Peter F independent Advisor

    You will get this error when you are using diskpart clean command on system disk. The system disk contains the Windows operating system files and other critical files, if you are allowed to clean the system disk, all the data and partitions will be gone. That
    will result in a lot of errors and chaos. Meanwhile, the delete volume is greyed out in Disk Management. In this case, the new SSD drive may be regarded as the system disk due to the system files, etc.

    Using Windows installation disc to clean

    If you have the Windows installation disc, you can follow these steps to solve clean is not allowed issue in Windows 7/8/10:

    1. Insert the Windows installation disc, then boot from it.

    2. Click Repair your computer> Troubleshoot > Advanced Options > Command Prompt.

    3. Then input the diskpart commands to clean hard disk:

    diskpart

    list disk

    select disk [disknumber]

    clean

    Diskpart Clean

    Then you could create a new partition on the drive to solve this problem.

    Reference

    https://www.disk-partition.com/articles/virtual...

    This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised
    on the site before you decide to download and install it.

    I hope it helps
     
    Pedro V Flores, Oct 22, 2020
    #2
  3. Data recovery after Diskpart Clean

    my PC information:

    OS Version: Microsoft Windows 10 Pro, 64 bit, Build 18363, Installed 20200416153044.000000+300

    Processor: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, Intel64 Family 6 Model 69 Stepping 1, CPU Count: 4

    Total Physical RAM: 4 GB

    Graphics Card: Intel(R) HD Graphics Family, 1024 MB

    Hard Drives: C: 85 GB (49 GB Free); D: 137 GB (116 GB Free); E: 10 GB (3 GB Free); (SSD)

    Motherboard: LENOVO 20AMA0W7PB, ver Not Defined, s/n L1HF51C040T

    System: LENOVO, ver LENOVO - 2490, s/n PC03VRMP

    Antivirus: Windows Defender, Enabled and Updated

    Problem:

    i'm here just to get solve my pc problem related to data recovery. I wanted to solve some windows 10 problems and for this i tried to installed fresh windows 10 in my laptop but during partition select i deleted
    recovery partition and 2 more small size (in megabytes) partitions to have more disk space...after that i deleted C drive and tried to recreate a partition for C drive but there was an error something like:

    "We couldn’t create a new partition" so i searched on internet and there was a solution with "diskpart clean" and i applied all these steps:

    link (FIX: We couldn’t create a new partition error on Windows 10)

    1. Start Windows 10 setup using bootable USB or DVD.
    2. If you get We couldn’t create a new partition error message close the setup and click the Repair button.
    3. Choose Advanced tools and then select Command Prompt.
    4. When Command Prompt opens, enter start diskpart.
    5. Now enter list disk. You should see the list of all hard drives connected to your computer.
    6. Find the number that represents your hard drive and enter select disk 0 (we used 0 as an example, so be sure to replace 0 with a number that matches your hard drive).
    7. Enter the following lines and press Enterafter each line:
      • disk 0 clean
      • disk 0 create partition primary
      • disk 0 active
      • disk 0 format fs=ntfs quick
      • disk 0 assign
    8. Enter exit in order to close Command Prompt.
    9. Start the installation process again.
    after that i realized that my D drive is also gone which was a great shock for me because there was very important data. after that i wanted to make partitions of the single drive into C and D drive but it
    was not working so i installed window in single partition and after installation completed i shrinked volume C and created D drive using disk management option...that's all the head ache i am facing and i want to recover my important data after this all process
    which i applied.

    please help me to get through this problem.
     
    NawazishAli1, Oct 22, 2020
    #3
  4. W1zzard Win User

    DiskPart-Clean command-Bad mistake-Lost all data & O.S HELP PLEASE

    W7 Hard drive partition issue

    to get rid of that 100 meg windows partition that setup creates for you on a new install on a blank hdd:

    - press shift+f10 when on the partition management screen in setup <-- this opens a command prompt
    - diskpart <-- start the windows command line partition management tool
    - list disk <--- list the installed hdds in this computer for the next step
    - select disk 0 <- might have to replace 0 with the number of the correct disk
    - clean <-- this will erase all data on the disk you selected one step up- dont use the wrong disk!
    - create partition primary <- creates a primary partition taking up all space on the drive, adjust the command if necessary
    - exit, exit to exit diskpart and the command prompt
    - click refresh in partition manager and select your newly created partition and install to that
     
    W1zzard, Oct 22, 2020
    #4
Thema:

DiskPart-Clean command-Bad mistake-Lost all data & O.S HELP PLEASE

Loading...
  1. DiskPart-Clean command-Bad mistake-Lost all data & O.S HELP PLEASE - Similar Threads - DiskPart Clean command

  2. Data recovery after diskpart clean command

    in Windows 10 Gaming
    Data recovery after diskpart clean command: Hi Laptop: Asuspro 2520LJI encountered this error when reinstalling Windows 10: "the selected disk has an mbr partition table on efi systems windows can only be installed to gpt...". what did i do?shift+F10 = open command prompt Diskpart List disk result: I had two disks, one...
  3. Data recovery after diskpart clean command

    in Windows 10 Software and Apps
    Data recovery after diskpart clean command: Hi Laptop: Asuspro 2520LJI encountered this error when reinstalling Windows 10: "the selected disk has an mbr partition table on efi systems windows can only be installed to gpt...". what did i do?shift+F10 = open command prompt Diskpart List disk result: I had two disks, one...
  4. Data recovery after diskpart clean command

    in Windows 10 Installation and Upgrade
    Data recovery after diskpart clean command: Hi Laptop: Asuspro 2520LJI encountered this error when reinstalling Windows 10: "the selected disk has an mbr partition table on efi systems windows can only be installed to gpt...". what did i do?shift+F10 = open command prompt Diskpart List disk result: I had two disks, one...
  5. Help : Data Lost By Using Diskpart Clean Command

    in Windows 10 Gaming
    Help : Data Lost By Using Diskpart Clean Command: By Installing Windows 11 from Windows 10 , To Make Space for Windows 11I have Entered the Command Diskpart Clean and Then convert the Diskpart to mbrAfter Installing Windows 11, I noticed That There was Only Local Disk C Which is Formatted or Cleared and Other Local Disks...
  6. Help : Data Lost By Using Diskpart Clean Command

    in Windows 10 Software and Apps
    Help : Data Lost By Using Diskpart Clean Command: By Installing Windows 11 from Windows 10 , To Make Space for Windows 11I have Entered the Command Diskpart Clean and Then convert the Diskpart to mbrAfter Installing Windows 11, I noticed That There was Only Local Disk C Which is Formatted or Cleared and Other Local Disks...
  7. Clean all diskpart

    in Windows 10 Gaming
    Clean all diskpart: so i accidentally use command clean all instead clean because windows install wont format my hard drive with error code 0x8004242d D:< when refresh the where do you want to install windows? page it just formated with only one partition i have three partition before D': idk if...
  8. Clean all diskpart

    in Windows 10 Installation and Upgrade
    Clean all diskpart: so i accidentally use command clean all instead clean because windows install wont format my hard drive with error code 0x8004242d D:< when refresh the where do you want to install windows? page it just formated with only one partition i have three partition before D': idk if...
  9. Used the "clean" command in DiskPart by mistake

    in Windows 10 Ask Insider
    Used the "clean" command in DiskPart by mistake: I'm in a pickle and need somebody to help me. While removing some unnecessary partitions in HDD, I accidentally ran "clean" command instead of using "delete partition" command in DiskPart. Right after that, I also ran "create partition primary" command. But fortunately, I...
  10. Clean command in DiskPart in cmd by mistake

    in Windows 10 Network and Sharing
    Clean command in DiskPart in cmd by mistake: Hey geeks, My PC was having some trouble from last few days, so during the chkdsk, it made one of my partition RAW. So, in order to repair it, I accidently ran clean command in diskpart of Command Prompt Admin on my 1 TB HDD. Then I closed the command prompt immediately...