WinRE and Backup Image after Upgrade from Windows 8 to Windows 10


  1. Posts : 8
    Windows 10
       #1

    WinRE and Backup Image after Upgrade from Windows 8 to Windows 10


    WinRE and Backup Image after Upgrade from Windows 8 to Windows 10-winre-admin-prompt.jpgWinRE and Backup Image after Upgrade from Windows 8 to Windows 10-disk-management.png
    OS: Windows 10 Version 1909 (Build 18363.535).
    ISSUE#1:
    I purchased a Dell OptiPlex 7020 from DellRefurbished as a gift and upgraded to Windows 10 and then removed all of the bloatware and installed some necessary apps. I found out after I had already deleted my Backup Factory Image, that the WinRe > Advanced Startup Options are giving me a message of "You need to sign in as an administrator to continue, but there aren't any administrator accounts on this PC."

    I am trying to get WinRE working on my only HDD partition (not on a USB), as I am gifting this to someone who does not have technical knowledge. I am currently trying to get a WinRE.wim file out of the WIndows Installation Media, to see if this will correct the issue. I also created a new image, using the Windows 7 Backup and Restore Utility, so that it could be restored. I think my issue is related to this.

    1) Is this something to do with upgrading to Windows 10 from Windows 8.1?
    2) Has anyone successfully fixed this before?

    I have checked and my Admin Account from "net user" and it is active and I am able to do anything IN Windows that requires Admin rights. Also, I tried enabling the built-in Admin account from an elevated CMD, but have had no luck.

    3) Will re-creating the WinRE partition from the Installation Media work?

    ISSUE#2:
    Also, different issue I have been having is that "Windows Recovery Environment > Advanced Options > System Image Recovery" does not seem to see Recovery Images in partitions that are on the same physical disk as the Recovery Environment partition.

    4) Is there a way to make my Recovery Image partition discoverable by WinRE, so it is simple to restore from a separate recovery partition on the same physical disk?

    The way I noticed this issue was during my testing, while doing the same as above, but on a USB (Creating a bootable Windows 10 USB, partitioning the unused space, and then placing a Windows Image (VHD file) on that partition.

    Any ideas how to make the recovery process easy, without using 3rd party software?
    Any input would be helpful! Thanks!

    - - - Updated - - -





    CREATE A BACKUP IMAGE ON A USB DRIVE BEFORE YOU ATTEMPT THIS, USING "WINDOWS RECOVERY (WINDOWS 7)":
    DISCLAIMER: I am no expert in these matters, but this worked to fix Issue#1 for me.
    1) Use the Windows Media Creation Tool to make an ISO compatible with your machine.

    2) Mount the ISO in Windows.

    3) Locate the Install.esd within the ISO and use the ESD to WIM decrypter/converter found HERE, to convert the Install.esd to install.wim.

    4) Move the Install.wim file to: c:\

    5) Mount the install.wim file, using the following CMD commands from an elevated command prompt, after making sure there is no info in the "mountdir" c:\Temp (You can use another location to mount the image to):
    dism /mount-wim /wimfile:"c:\install.wim" /index:1 /mountdir:"c:\temp"

    6) Navigate to the location the install.wim was mounted to and find the WinRE.wim that is contained within that mounted image directory.

    7) Once you have this file, you would want to rename the previous copy WinREold.wim, (so you have a backup).

    8) You would want to make sure that this file is going to the same location as your previous WinRe.wim file. I personally created a partition with the following folder structure (within its root):
    "Recovery\WindowsRE".

    The WinRe.wim file can be located in one of the following places (if not more):
    I) On a separate partition (possibly within a "Recovery\WindowsRE" folder).
    II) Within the "c:\windows\system32\recovery" folder.
    III) Within the "c:\Recovery" folder.
    IV) Possibly other folders. You may need to research this.

    9) Now you would move the Win.RE file to my recovery partition (J:), from the C:\temp folder the Install.wim was mounted to, using the following command:
    xcopy /h C:\temp\Windows\system32\recovery\winre.wim J:\recovery\windowsre C:\temp\Windows\system32\recovery\Winre.wim

    10) Rename all Reagent.xml files that are contained within the various WinRE.wim locations mentioned in Step 8 to ReagentOLD.xml (or something similar). I personally deleted mine.

    11) Set this new location, using reagentc so that Windows now knows where the Windows Recovery Environment (WinRE.wim is located), using:
    reagentc /setreimage /path J:\Recovery\WindowsRE\ /target c:\windows\

    12) Enable WinRE, using the following command:
    reagentc /enable

    13) Check that you have succeeded by running the following command:
    reagentc /info

    You should now see:
    I) the Win RE status set to enabled.
    II) the Win RE Location set to the proper hard disk, partition, and directory.
    III) The Boot Configuration Data (BCD) identifier set (to something other than all "0"s).

    YOU CAN ALSO TRY THE FOLLOWING, PER MICROSOFT:
    "If the GPO "Windows Settings/Security Settings/Local Policies/Security Options/Accounts: Block Microsoft accounts" is set to enable the policy "User can’t add or log with Microsoft account", attempting to restore the System in WinRE will fail with the error message "You need to sign in as an administrator to continue, but there aren't any administrator accounts on this PC."

    This is a known issue and the workaround is to either avoid setting the "Accounts: Block Microsoft accounts" to "User can't add or log with Microsoft Account" or set the MDM policy Security/RecoveryEnvironmentAuthentication to 2."
    Last edited by Reynonic; 18 Dec 2019 at 19:35. Reason: Defining Issues.
      My Computer


  2. Posts : 30,194
    Windows 11 Pro x64 Version 23H2
       #2

    Hi Reynoinic. Welcome to the TenForums @Reynonic

    I think the easiest way to correct all of this is to simple re-install Windows clean. As part of this delete all the partitions on your boot drive.

    Could I ask what the F: drive labelled Image is.

    Clean Install Windows 10

    The fact that Windows does not recognize any administrators will eventually come back to bite someone.

    A clean install should take very long at all given you are just starting out.

    While you want to avoid third party tools the MS included is not recommend. MS has even talked about shelving it.

    Macrium Reflect or a tool like it is recommend. Macrium is free and reliable.

    Backup and Restore with Macrium Reflect


    Ken
      My Computer


  3. Posts : 8
    Windows 10
    Thread Starter
       #3

    Caledon Ken said:
    Hi Reynoinic. Welcome to the TenForums @Reynonic

    I think the easiest way to correct all of this is to simple re-install Windows clean. As part of this delete all the partitions on your boot drive.

    Could I ask what the F: drive labelled Image is.

    Clean Install Windows 10

    The fact that Windows does not recognize any administrators will eventually come back to bite someone.

    A clean install should take very long at all given you are just starting out.

    While you want to avoid third party tools the MS included is not recommend. MS has even talked about shelving it.

    Macrium Reflect or a tool like it is recommend. Macrium is free and reliable.

    Backup and Restore with Macrium Reflect


    Ken
    I figured out the Admin part, as stated above. I don't like anything that is not freeware, shareware, or open source in its EULA. I don't want to reinstall for the reasons mentioned above (spent a very long time getting everything where I want it). I just now need to see how to attach an image to the WinRE from CMD, using the reagentc command. I have to read up a bit more on this part and need to still read up on it from the Microsoft white papers above. I posted my steps above for how to fix the permission issue, as the Microsoft forum had more than one angry message about Microsoft not addressing this. I would to Macrum if it were completely free, but I don't want to install it just for my dad to be bombarded with adds after I get this running (I already have Glary Utilities and WinRAR on there). It says that it backs-up Windows, but not folders. Do you know if that means just the OS is backed-up, or does it make a complete image of the OS and personal files (entire drive)? I was using WinRE, due to how stupidly simple it is and how little my dad knows of the computing world. I appreciate the response nontheless. Thanks!
      My Computer


  4. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
       #4
      My Computer


  5. Posts : 4,144
    Windows 3.1 to Windows 11
       #5

    I just now need to see how to attach an image to the WinRE from CMD, using the reagentc command.
    Windows 10 does not allow you to set OS image with reagent... Win10 recovery is from the winsxs folder
      My Computer


  6. Posts : 30,194
    Windows 11 Pro x64 Version 23H2
       #6

    Macrium is completely free, you do not have to register product and occassionally there is a small ad in their banner when their product is in sale.
      My Computer


  7. Posts : 8
    Windows 10
    Thread Starter
       #7

    Now that I have had more time to look, I did run across these previously. Is there any way to get an image that is on a different partition on the same drive to be seen by the Restore from System Image option? I feel having an OS choice/bootloader screen like this could get my dad into trouble. He gets a bit click-happy. While I understand why "Advanced Options > Restore from Image" does not look for images stored in different partitions of the same drive as the Restore is being ran from, I wish it did. Do you think that if I do all of what is suggested in those links you sent and then just don't add it to a boot menu, that the WIM image will be available to the "Restore from Image" area of Advanced Options? Finally, do you think this will work for a flash drive. I want to have an internal option on the computer and also have a USB with a full image of his machine. I just don't want to have to keep 2 flash drives (1 for the image and 1 for the recovery), when I should only need 1. I should have just gotten him 2 SSDs and squeezed them in, but I didn't. Sounds like this might come up in the Boot Options Menu, so if I don't set the bootloader to give me a choice of an OS, that it should still be available to me under the Use Another Operating System area of Advanced Startup Options.
      My Computer


  8. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
       #8

    Consider these potential problems:

    drive failure
    fire
    etc.

    Best practice is to backup important files to another disk drive or the cloud.

    These are some third party software:

    Acronis, Aoemi, EaseUS, Macrium, Paragon , etc.

    Some are free and others for a fee depending on the features.

    Macrium is widely used in Ten Forums:


    Macrium Software | Your Image is Everything
    Backup and Restore with Macrium Reflect
      My Computer


  9. Posts : 4,144
    Windows 3.1 to Windows 11
       #9

    windows 10 uses a provisioning package found in C:\Recovery\Customizations\*Name*.ppkg
    This package is created by the "User State Migration Tool" and usually includes OEM customizations..
    Thus when you reset / restore windows 10 - the windows files come from the existing (Updated) files found in winsxs folder...
    If the provisioning package is found - then the OEM customizations are also included in the reset/restore
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:16.
Find Us




Windows 10 Forums