Windows 8 and 8.1 Forums


Recover Partitions from diskpart -> clean command

  1. #11


    Posts : 14
    Windows 8.1


    Thanks , sorry I did not get it , how do I convert that FAT32 partition to EFI?

      My System SpecsSystem Spec

  2. #12


    Posts : 1,121
    Windows 8.1 x64


    Using Diskpart, select the correct drive and then the correct partition and use the commands I gave you.

    list disk
    sel disk 0
    list par
    sel par 2
    set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b
    gpt attributes=0x8000000000000000

    It should end up looking like the one I posted. It is still a FAT32 partition, just a different Type ID.

    If it doesn't work, the drive may not be set to the GPT configuration. The List Disk should show the asterisk if it is Gpt.
      My System SpecsSystem Spec

  3. #13


    Posts : 14
    Windows 8.1


    Thanks again, yes I figured out set id command but somehow attributes=0x8000000000000000 command was not working...gpt was missing. I followed the instructions and here is the dis management snapshot. BTW why there are 2 options in the select OS?


    Attached Thumbnails Attached Thumbnails dskmgmtnew 1.JPG  
      My System SpecsSystem Spec

  4. #14


    Posts : 1,121
    Windows 8.1 x64


    OK, to boot to a UEFI configuration, you need to boot to a Windows Boot Manager. In some bioses it is identified by the drive also, but not all bioses do that.

    If you ran the bcdboot command you showed earlier, it might have messed with the boot files. On a UEFI system, the correct way to run the command is the basic version. You do not need to set any drive with a letter since it is a System partition. You may not need to do this, but just in case it is not booting using the Windows Boot Manager.

    bcdboot c:\windows

    Next we need to set the Recovery Partitions. Select those partitions and use these commands for each. The 349 MB partition is also a Recovery partition placed there by an 8 to 8.1 update.

    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001

    The last thing to do is to set the MSR partition. The following command will create an MSR partition in the unallocated space. Hopefully it will use the first 128 MB of space, but you do have the last 1 GB of unallocated space, which you can format as a simple partition or wait to see if the MSR partition is created correctly. I would probably format the 1 GB, since it is larger, to make sure the MSR partition was placed in the correct position. We can deal with the 1 GB partition partition later.

    In Diskpart, make sure you have selected the disk and then use this command. If you want to do this while you are doing the other commands, it might be easier.

    create par msr
      My System SpecsSystem Spec

  5. #15


    Posts : 14
    Windows 8.1


    Hi Saltgrass,

    sorry for the late reply as I got into some other high priority stuff at work. Just to understand this clear, you mean to say is select all those three partition from above diagram (349MB ,SAMSUNG_REC2 & WINDOWS_RE_TOOLS ) each and then fire the commands you have given? BTW aren't these partitions supposed to be hidden in windows explorer?
      My System SpecsSystem Spec

  6. #16


    Posts : 1,121
    Windows 8.1 x64


    The commands set the partition as Recovery and to not acquire a drive letter. If they show up with a drive letter after the commands are successful we may have to remove it.

    After you get that all set up, you can check the recovery system by running the command below in an Admin Command prompt. Copy and paste the readout.

    reagentc /info
      My System SpecsSystem Spec

  7. #17


    Posts : 14
    Windows 8.1


    Hi Saltgrass,

    Thanks , I fired those commands and those partitions are hidden now. Here is the output of command reagentc /info but this was same before executing those commands as well. I rebooted laptop few times with various combinations in the bios like fast bios disabled , secure boot disabled etc. Tried F4, F10 etc but system still does not go into recovery menu.

    C:\windows\system32>reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:


    Windows RE status: Enabled
    Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition3\Recovery\WindowsRE
    Boot Configuration Data (BCD) identifier: 852a8a4e-6a0a-11e4-bf5d-c8f733d37d7b
    Recovery image location: \\?\GLOBALROOT\device\harddisk0\partition6\RecoveryImage
    Recovery image index: 1
    Custom image location:
    Custom image index: 0


    REAGENTC.EXE: Operation Successful.
      My System SpecsSystem Spec

  8. #18


    Posts : 1,121
    Windows 8.1 x64


    Do you know for a fact the Recovery Tools are in the OS partition? The last version of the 8 to 8.1 update placed them there and in the 350 partition before that. If the Recovery options are not working, you may not yet have the correct path set.

    Check C: \Recovery\WindowsRE and see if you have a WinRE.wim file.

    When you get the tools working, we can work on the Recovery Image, which may not work with Windows 8.1. It took a special configuration for that to reset to refresh back to Windows 8.

    Somewhere you may need to replace the MSR partition since that may effect how the partitions are counted. Again, format the 1 GB partition then use diskpart from an Administrative command prompt to run the following command after selecting the correct disk.

    create par msr

    Once you get this all done, you will be back in the position of many other Windows 8 users who upgraded to 8.1 in that the system may not work correctly, but the tools should at least start.
      My System SpecsSystem Spec

  9. #19


    Posts : 14
    Windows 8.1


    Hi Saltgrass,

    sorry again for the late reply as I got too busy at work. Yes I can confirm that there is WinRE.wim file at C: \Recovery\WindowsRE.

    somehow that 1GB Unallocated partition gone missing an its not there anymore and I remember I didnt do anything with it. I think it vanished after I followed the instruction from post #14. I did fire command create par msr during that time as well. here is the screen shot of diskmgmt now.



    Attached Thumbnails Attached Thumbnails diskmgmt1.JPG  
      My System SpecsSystem Spec

  10. #20


    Posts : 14
    Windows 8.1


    Should I do the create par msr and try again? BTW If I add dummy entry of windows 8.1 in BCD using rebuildbcd then below the OS selection menu I get that to go to recovery tools option. When I remove it using easybcd then I dont get to go into recovery tools
      My System SpecsSystem Spec

Page 2 of 3 FirstFirst 123 LastLast
Recover Partitions from diskpart -> clean command
Related Threads
How to Recover Deleted Partitions in Vista, Windows 7, and Windows 8 This tutorial will show you how to recover deleted or lost partitions on your hard disk in Vista, Windows 7, and Windows 8. You must be signed in as an administrator to be able to do the steps in this tutorial. If other...
I have a WD My Book Essential USB 3.0 3 TB external HDD that i bought just under 2 years ago (still under warranty for a few more months) and it doesnt work at all. -doesnt show up in My Computer at all -makes an unusual sound with varying beeps and clicks and definitely sounds like an "error...
Hi i have been having this problem for a week now until a friend told me about your form three of my partitions are missing from my computer and this what it shows me in the device manager 37100 i really need hep guys and it will be much appreciated
Hi guys, my first thread here :D. I recently decided to buy an ultrabook and I got me this one: LG Z360-7416, with a ssd and windows 8 (x64). As usual, it came with a lot of garbage installed which was using almost half of the ssd storage (128GB), so I decided to do a clean install. I got me a...
diskpart in Performance & Maintenance
I'm evaluating a windows 8 gateway. it is unable to boot. automatic repair doesn't work, no go on refresh, there is no media for re-install. no restore points. just to see, I am checking out what diskpart says. disk 0 online, size-0, free-o bytes. the pc had been dropped. I reseated the hard...
I am stuck and i am hoping someone here can help. i have a dell laptop with win 8 on it that it came win. the recovery partitions are intact etc. only thing not intact is the OS partition. the recovery of course fails because of the partition missing. is there a command i can type in diskpart...
Hi, have never attempted to upgrade / install new operating system......hence question i have not actually bought win8 yet but tempted for 25 upgrade download before end of the month...... I have an acer 8930 laptop running vista. It has 1 drive with 2 partitions ACER (C:) and DATA (D:)....
Eight Forums Android App Eight Forums IOS App Follow us on Facebook