Windows 10: Messed up WindowsRE after various OS installations in a partition

Discus and support Messed up WindowsRE after various OS installations in a partition in Windows 10 Support to solve the problem; Hi. Before starting, I'd like to note that I already tried to get help from the Microsoft forums, but all I got is a redirect to the TechNet forums... Discussion in 'Windows 10 Support' started by smirnovAl, Jan 3, 2017.

  1. smirnovAl Win User

    Messed up WindowsRE after various OS installations in a partition


    Hi. Before starting, I'd like to note that I already tried to get help from the Microsoft forums, but all I got is a redirect to the TechNet forums where the available categories don't match to my problem, so I'll try here.

    I'll do a quick recap: in 2013, I bought a license for Windows 7 and have been using it until December 2016, when I finally decided to migrate to Windows 10. I downloaded the ISO from Microsoft, did an upgrade, and it all worked fine. I never had to access the Windows Recovery Environment from neither OS so I can't confirm whether it worked properly on the upgraded Windows 10.

    Recently (that same month) I installed a trial copy of Windows 8.1 to get a few things from its registry for my Windows 10's one, and uninstalled it after getting it all done. Since I had a Metro Boot Menu that was restarting my system after it automatically pre-loaded the operating system I didn't want to log-in yet, I switched it via the BCD to the legacy one, also known as "classic boot menu" which lets me choose an operating system before pre-loading any. I know I could choose Windows 8.1 as my default operating system while it was installed, but I not always wanted to boot it when starting the PC. So, I remember how long and 'correct' the BCD list was, but it all changed after the uninstallation of the Windows 8.1 operating system, resulting in a broken "Repair your system" option in the F8's Advanced Boot Menu Options which accessing it only left a black screen that only a restart could remove (the keyboard was still active, however). After some research, I found nothing and decided to follow the steps of working ramdisks that seemed to be fine "\Device\HarddiskVolume3". All it did is just remove the "Repair your system" option at all, and made the BCD list even smaller, as well as making the "System Reserved" partition to be visible inside the "My PC" page. It's 61,4 MB free of 99,9 right now.

    I'm attaching the full BCD list in a text file.


    EDIT (TL;DR): My main partition's operating system got its System Recovery disk completely messy or something, which doesn't even appear on the bcdedit /enum all list anymore. I'd like to know if there's a way to restore it somehow without doing a whole disk's format&reinstall. I'm sure that there should be a way to copy content from an installation media to the partition the same way it does when installing a Windows OS from scratch.

    :)
     
    smirnovAl, Jan 3, 2017
    #1

  2. Can't create a Windows 10 recovery drive. Some required files are missing.

    I am afraid I am having trouble making this command work. My hard drive is drive 0, my C: drive is partition 2 and my recovery partition is partition 3. Based on the partitions left to right in Disk management being System Reserved --- (CMessed up WindowsRE after various OS installations in a partition :) --- 450MB Healthy
    (Recovery Partition) --- Data Drive (DMessed up WindowsRE after various OS installations in a partition :).

    Using either the command:

    reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition2\Recovery\WindowsRE

    or

    reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE

    I get "The specified path was not found"

    Using:

    reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition3\Recovery\WindowsRE

    I get "The Windows RE image cannot be stored in the specified volume. Use the RETAIN command in DISKPART to prepare the volume and try again."

    I have no idea how to use the retain command, or whether it is safe for me to do so. Can somebody offer any advice please? Or am I getting the original REAGENTC command wrong.

    ADDITIONAL COMMENT: Since posting the above I have noticed that my laptop has the identical hard drive and partition setup as my desktop machine described above and using the command Reagentc /info gives the following path:

    "\\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE".

    I created a recovery drive on the laptop with no difficulty and yet the desktop, with identical set up, falls over every time. I am in serious need of advice please.
     
    KeithWillcocks, Jan 3, 2017
    #2
  3. Windows 10 Install Error 0xC1900101 - 0x40017

    I got this same error when trying to install Windows Anniversary Update on a Windows 10 Pro system which was a free upgrade from a Windows 7 system. I discovered that the /Recovery/WindowsRE files were missing.

    I got no errors when installing Anniversary Update on a Windows 10 Pro system which was a free upgrade from a Windows 8.1 system, and the /Recovery/WindowsRE files existed in both the C: partition and the recovery partition. After the successful install,
    the "reagentc /info" command pointed to the recovery partition. During this install I turned off my Norton 360 Smart Firewall, but I suspect that the existence of the WindowsRE files is what solved the problem.
     
    Richard H. McCullough, Jan 3, 2017
    #3
  4. smirnovAl Win User

    Messed up WindowsRE after various OS installations in a partition

    (Sorry for bumping again); added TL;DR in case it helps in any way.
     
    smirnovAl, Jan 4, 2017
    #4
  5. SoFine409 Win User
    There is no way to copy any files from the install disk to restore the OS partition. Although not exactly like your situation, I suggest that you take a look at this thread. It's similar enough that it might help you.
    Recovery Drive vs Recovery Partition vs PE Rescue Disk, confused.
    I had installed Win10 with no System Reserved partition. The AU installation created a Recovery Partition that did not work. To fix everything a imaged the OS partition, did a clean install, and then restored the image of the working OS partition back over the new one. It didn't boot correctly so I deleted some of the boot files from the old OS (you shouldn't need to do this) and then used Kyli's Rescue disk to repair/recreate the boot files. I also had to use ReAgentC to restore the recovery environment. That is also in the thread but you'll need to confirm the correct disk and partition numbers using diskpart. All or part of this might help you. FYI I have MBR/Legacy system and not UEFI. Let me know if this helps or you have any questions.
     
    SoFine409, Jan 5, 2017
    #5
  6. smirnovAl Win User
    Thank you for the reply. I've been doing a lot of research before posting this thread, including on Microsoft, tenforums (eight & seven as well) and never came across with your thread nor similar ones. I'll be looking into following these steps. But before, does it mean that I can safely delete the System Recovery partition? I've read on many sites that deleting it would "break" the operating system (making it not detect any operating system). Nothing was mentioned about whether the Installation Media's "Start-up Fix" could fix that, however. Before trying anything I'd like to be sure of what I'm doing. Thanks!
     
    smirnovAl, Jan 5, 2017
    #6
  7. SoFine409 Win User
    No do not delete the System Reserved partition that is where the boot files reside as well as the recovery files. If you do the PC will not boot and you will need to do a complete clean install.

    You should definitely try the start up fix but if that doesn't help then you can try this. Go back to the advanced repair and on the page where the "Startup Repair" option is, select the "Command Prompt" option. Then in the command window enter the following commands one at a time hitting RETURN key after each one. Be sure you have a space between bootrec and “/”
    bootrec /fixmbr
    bootrec /fix boot
    bootrec /scanos
    bootrec /rebuild

    Note any error message that you might get then type exit. Reboot and reset the first boot option to the internal HDD (or SSD), save changes and reboot. Hopefully this will work.
     
    SoFine409, Jan 5, 2017
    #7
  8. SIW2 Win User

    Messed up WindowsRE after various OS installations in a partition

    1.Make a folder on your OS partition. Name it something e.g. RE.
    You now have a folder C:\RE

    2.Copy winre.wim and Reagent.xml from Iso Windows\system32\Recovery into C:\RE

    3.Also copy Reagent.xml into C:\Windows\System32\Recovery

    4. Open an Admin command and type:
    Reagentc /setreimage /path C:\RE

    (press enter)

    Reagentc /enable

    (press enter)
     
    SIW2, Jan 5, 2017
    #8
  9. SoFine409 Win User
    Thanks SIW2. Good advice. I was going to get to that after he had repaired the boot files.
    Bob
     
    SoFine409, Jan 5, 2017
    #9
  10. smirnovAl Win User
    Sorry for not mentioning that I've already tried these commands, which confused my system in thinking that there's no operating system installed. I had to use the Start-up Fix to solve the problem. However, I still tried them again and all went fine until "/scanos", which found 0 Windows installations.

    I didn't quite understand where I have to copy "winre.wim" and "reagent.xml" files from. Winre.wim isn't found anywhere, including on the installation media nor on my current Windows installation; only the reagent.xml file is found here. By the way, "reagentc /enable" was one of the commands I tried days ago and it kept leaving me an error on attempting to enable the Windows Recovery Environment.
     
    smirnovAl, Jan 5, 2017
    #10
  11. SoFine409 Win User
    OK lets try this another was. There is likely an OS partition and its probably intact. So go to this thread:
    Windows 10 Recovery Tools - Bootable Rescue Disk
    and download and create a bootable PE Rescue disk. This is handy to have because it has lots of good tools to help with these kinds of problems.

    After you create it you can boot from it and use the file explorer to confirm that you still have the OS Partition and your data is intact. If so then run the Macrium Reflect Free Version on the desktop. In that you will find a menu selection that will repair all of the boot files. That it what I recently used to fix my PC. You'll have to select the System Partition, that's not hard because its named System Partition and then I think you also need to tell it where the OS is located. Tell it to repair everything since at this point you have nothing to loose. It should give you a clean set of boot files. If this works and you can boot to the system to Win10 and then I can show you how to get the Recovery information back in order using some different commands. I used them to that I used to fix mine. Post back and let me know if this works or you have any questions.

    Do you have your data backuped so if you need to do a clean install you can? If not you could probably use the Macrium program on the PE recovery drive to back up your data to another drive or location, that is if the disk and partitions are still readable and at this point I think that it is.
     
    SoFine409, Jan 5, 2017
    #11
  12. smirnovAl Win User
    Just in case: my Windows 10 operating system is working fine. The only problem is its "Recovery mode" which is currently inaccessible and doesn't even appear in the BCD list, which makes me think that both 'additional' partitions are only a waste of memory, except that one of them still lets me boot into the operating system properly.
     
    smirnovAl, Jan 5, 2017
    #12
  13. NavyLCDR New Member

    Messed up WindowsRE after various OS installations in a partition

    There are two different partitions that we are talking about here, and I think they are getting confused. Seeing a screenshot of disk management would help:
    Disk Management - How to Post a Screenshot of

    There is a System Reserved partition. On UEFI computers this is called the EFI System partition. This is the partition the computer boots from. In disk management, look inside the parenthesis (). One partition should have the word System inside the parenthesis. This is the partition that the computer boots from and must be present. Now on legacy BIOS computers the system partition the computer boots from can be part of the big partition that has the OS on it, it can part of the recovery partition, or it can be it's own partition. On a UEFI computer, this partition is always the EFI System partition and must be FAT32.

    The other partition we are talking about is the System Recovery partition. In Windows 10, the recovery partition is completely option and is not required for Windows 10 to work. You can delete the recovery partition. All the standard recovery partition created by Windows 10 does is provide the recovery menu. You can also get to the recovery menu by booting from a Windows 10 installation USB flash drive or DVD. There are 2 reasons why you would not want to delete the recovery partition:

    1. If it is a holdover from an upgrade from Windows 7 or Windows 8 and the manufacturer put their factory restore image in the recovery partition. This does not apply to pure Windows 10 computers because if there is manufacturer specific info for factory recovery that is now included as a provisioning package contained in the partition that contains the OS itself. You can still delete a recovery partition from Windows 7 or 8 and it will not affect Windows 10 - it will only remove the potential to restore the computer back to the factory Windows 7 or 8 if desired.

    2. The recovery partition and the system partition have been combined. If the recovery partition has the word "system" appearing inside the parenthesis in disk management then this is the partition the computer is booting from and cannot be deleted without first moving the boot files to another partition.

    If neither one of those two reasons apply, then you can delete the recovery partition.
     
    NavyLCDR, Jan 5, 2017
    #13
  14. SoFine409 Win User
    Thanks for stepping in NavyLCDR. I'm really not up to speed on UEFI partitioning and you obviously are. I was also mixing up the OP's issues with another person who I was helping. BTW, the issue I was having a few days ago with my recovery partition (not UEFI) was solved with your help and that of dalchina. Could you please help the OP if he has any additional questions.
     
    SoFine409, Jan 5, 2017
    #14
  15. SIW2 Win User
    Inside Install.wim. There may be two images, Home and Pro. You can use either, winre.wim is the same for both.

    Look in Install.wim\1\ Windows\system32\Recovery folder.

     
Thema:

Messed up WindowsRE after various OS installations in a partition

Loading...
  1. Messed up WindowsRE after various OS installations in a partition - Similar Threads - Messed WindowsRE various

  2. I messed up my partitions

    in Windows 10 Gaming
    I messed up my partitions: So i wanted to move about 50gb or close to that from my C drive to my D drive, so i did that using EaseUS program, and it moved that storage as unallocated, then i saw it created a Z drive that i didn't have before.Now i don't know what to do i tried moving that unallocated...
  3. Installed Linux Mint and messed up my partitioning.

    in Windows 10 Gaming
    Installed Linux Mint and messed up my partitioning.: I regretfully did not doenough looking into reparations of my hard drives before I decided to try and jumping into installing Linux Mint onto my PC recently. After playing with it for a day or two, I decided Windows was an easier OS for me to start taking more seriously and...
  4. Installed Linux Mint and messed up my partitioning.

    in Windows 10 Software and Apps
    Installed Linux Mint and messed up my partitioning.: I regretfully did not doenough looking into reparations of my hard drives before I decided to try and jumping into installing Linux Mint onto my PC recently. After playing with it for a day or two, I decided Windows was an easier OS for me to start taking more seriously and...
  5. Installed Linux Mint and messed up my partitioning.

    in Windows 10 Installation and Upgrade
    Installed Linux Mint and messed up my partitioning.: I regretfully did not doenough looking into reparations of my hard drives before I decided to try and jumping into installing Linux Mint onto my PC recently. After playing with it for a day or two, I decided Windows was an easier OS for me to start taking more seriously and...
  6. Dual Boot Partitions Messed Up

    in Windows 10 Installation and Upgrade
    Dual Boot Partitions Messed Up: I am trying to dual boot OSX and Windows 10 on my desktop computer. OSX is fully installed, and I have created Windows 10 install media on a flash drive. I am able to boot into the installer, but when I tell the installer to install in the unallocated space ~250gb, it...
  7. WINDOWS 10 OS messed up after extending system recovery partition

    in Windows 10 Installation and Upgrade
    WINDOWS 10 OS messed up after extending system recovery partition: hello its going to be a long post I apologize but I need help so sharing as much details as I can. running DUAL OS machine (PC desktop) with Ubuntu and windows 10 PRO on a 480Gb SSD I was having issues to update from 1809 to 1903 because of an error code leading to not...
  8. WINDOWS 10 OS messed up after extending system recovery partition

    in Windows 10 Installation and Upgrade
    WINDOWS 10 OS messed up after extending system recovery partition: hello its going to be a long post I apologize but I need help so sharing as much details as I can. running DUAL OS machine (PC desktop) with Ubuntu and windows 10 PRO on a 480Gb SSD I was having issues to update from 1809 to 1903 because of an error code leading to not...
  9. Messed up recovery partition

    in Windows 10 Performance & Maintenance
    Messed up recovery partition: Hello, I was trying to create a recovery drive for my windows but it kept giving me an error. I checked reagent/info in cmd and it turns out the windows recovery environment was disabled. I tried using the code Code: REAGENTC.EXE /setreimage /path...
  10. partitions mess after installing Windows 10

    in Windows 10 Installation and Upgrade
    partitions mess after installing Windows 10: Ciao, ho installato da zero Windows 10 sul mio notebook ma forse è successo un casino sulle partizioni. Ora in Gestione disco vedo queste partizioni: https://www.dropbox.com/s/tj9m6c0hle...Win10.jpg?dl=0 Sicuramente non è possibile avere una tartizione da 23GB e un'altra da...

Users found this page by searching for:

  1. scanos globalroot\device\