Factory recovery - Create a Custom Recovery Partition  

  1. MMZWHAT
    Posts : 10
    Windows 10
       #100

    Hi all,

    Hate to bug but is there any feedback on my previous posts, please?
    #95
    Factory recovery - Create a Custom Recovery Partition

    #96
    Factory recovery - Create a Custom Recovery Partition

    If losing settings here and there is normal behavior, then I'd like to know that so I can pursue other options.
    If it's not, then I am hoping the community can help me figure out what I can do to make this work

    Thanks in advance, all.
      My Computer

  2. Shivansps
    Posts : 2
    Windows 10
       #101

    The guide certanly works, its a lot harder under GPT since Windows creates by default a 450mb recovery partition at the begining and it has 2 BCDs, one specially for recovery when you are getting blue screens.

    The problem im having is, even trought i maganed to get it working, im doing disk cloning, consist in creating an image of a working system on a HDD and then apply it to other hard disks, when i do that the recovery system stops working, thats probably because of using a drive letter too set the BCD.

    Im looking forward to make it so it always looks intro the first partition on the hardisk. Any idea on how to do that?

    Also looking into my own W10 GPT system, it looks like Windows 10 GPT default practice for recovery is placing the winre wim inside the same folder as the BCD.
    "ramdisk=()\Recovery\WindowsRE\Winre.wim" for OS and application device on default "Windows recovery enviroment", not sure how that would even work.
      My Computer

  3. Kari's Avatar
    Posts : 17,063
    Windows 10 Pro
    Thread Starter
       #102

    MMZWHAT said:
    Looking forward to some great ideas and again, thank you Kari and all for helping each other out.
    I am sorry but it looks you are not doing this correctly. A few examples:
    Why on earth are you booting from USB? Tutorial instructs to boot normally, and select recovery from boot menu
    OF course volume / partition names are not saved. The recovery partition will perform a normal, clean install, only difference being that it contains your installed software and user accounts


    MMZWHAT said:
    Hyper-V does not retain the custom file location settings and returns to its defaults.
    I have no idea about what you mean? Which custom location settings?

    Kari
      My Computer

  4. MMZWHAT
    Posts : 10
    Windows 10
       #103

    Kari said:
    Why on earth are you booting from USB? Tutorial instructs to boot normally, and select recovery from boot menu
    Because I'm emulating a situation where my system drive crashed.

    From the tutorial:
    Kari said:
    If your system disk crashes and no boot menu is shown, you can do recovery from your custom recovery partition by booting from Windows install media and running Windows Setup manually from recovery partition.
    My install media (on Earth, at least) is a USB drive. Any idea as to why the install happened from there rather than from the custom partition from which I launched it?

    Kari said:
    OF course volume / partition names are not saved. The recovery partition will perform a normal, clean install, only difference being that it contains your installed software and user accounts
    That wasn't obvious to me, thank you for clarifying.

    Appreciate the help
      My Computer

  5. Kari's Avatar
    Posts : 17,063
    Windows 10 Pro
    Thread Starter
       #104

    MMZWHAT said:
    Because I'm emulating a situation where my system drive crashed.
    If you are emulating a system disk crash, you should do one of the following two options:
    • Replace all files and folders on a bootable, normal Windows install USB with files and folders from your recovery partition, boot from it and install your custom Windows from that USB
    • If the recovery partition is on another HDD, not on crashed system disk, boot with normal Windows install media and instead of clicking Install, press SHIFT + F10 to open Command Prompt, use DISKPART to find out current partition ID letter for the recovery partition, and run Setup.exe from that partition manually


    Kari
      My Computer

  6. Shivansps
    Posts : 2
    Windows 10
       #105

    Any idea of what can be done so Windows can still find the device after passwing trought a cloning software?

    I tryied this, i used something like this before to boot winpe from network using PXE
    bcdedit /create {ramdiskoptions} /d "Ramdisk"
    bcdedit /set {ramdiskoptions} ramdisksdidevice boot
    bcdedit /set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
    for /f "tokens=2 delims={}" %%i in ('bcdedit.exe /create /d "Reinstalar Windows" /application OSLOADER') do (set guid={%%i})
    bcdedit /set %guid% device ramdisk=[boot]\boot\winre.wim,{ramdiskoptions}
    bcdedit /set %guid% path \windows\system32\winload.efi
    bcdedit /set %guid% osdevice ramdisk=[boot]\boot\winre.wim,{ramdiskoptions}
    bcdedit /set %guid% systemroot \windows
    bcdedit /set %guid% winpe yes
    bcdedit /set %guid% detecthal yes
    bcdedit /displayorder %guid% /addlast
    And placing the sdi and wim in the same partition as the BCDs and it says it cant find the device.

    OEMs do this all the time to mass produce, they still have the recovery enviroment working there most be a way.
      My Computer

  7. MMZWHAT
    Posts : 10
    Windows 10
       #106

    Kari said:
    Replace all files and folders on a bootable, normal Windows install USB with files and folders from your recovery partition, boot from it and install your custom Windows from that USB
    I did that, thank you.

    Kari said:
    If the recovery partition is on another HDD, not on crashed system disk, boot with normal Windows install media and instead of clicking Install, press SHIFT + F10 to open Command Prompt, use DISKPART to find out current partition ID letter for the recovery partition, and run Setup.exe from that partition manually
    In the scenario I was imagining my laptop does not start (for whatever reason) and built-in recovery options are not available but the drive itself is physically functioning. That means I still have my D partition with data and E partition with custom recovery image I created based on your helpful tutorial.

    In this scenario I would use a bootable Windows install USB to get to the install screen and do exactly what you described to access the recovery partition.

    Thank you very much.
      My Computer


  8. uksupernova
    Posts : 1
    Windows 10
       #107

    Great tutorial!! I've done all the steps and it works like a charm, but, I did a recovery (for testing) and I have some questions, I hope you can help me.

    When the installation begins, in the installation type, I selected Custom installation: Windows install Only (Advanced); then I selected only the C: drive. Is that the correct wey?

    Second: When the installation finishes, the boot menu changes. It displays 2 Windows 10 options and 1 Recovery. Both Windows 10 options work, but, what can I do to make the boot file to display only 1 Windows installation once it finish the recovery? Update: I made a second refresh, and now I have 3 Windows 10 options in the boot menu.

    I know I can enter windows and disable the second option on the msconfig tool, but I'm planning to deploy this recovery in my company and the duplicate menu is very annoying. Is there a fix outside msconfig? Maybe something that can be changed in the batch file?
      My Computer

  9. x509's Avatar
    Posts : 687
    Windows 10 Pro
       #108

    Very exciting thread


    I just discovered this thread, and it's very exciting since all but one of my systems are either home-built desktops, or laptops running a generic Win 10, instead of the factory installed version.

    Quick question. In theory, should I update this WIM file with every major windows update, like 1903, the future 1909, etc? (Forgive me if this question has already been answered. I haven't had chance yet to read through all previous posts.)

    x509
      My Computers

  10. Kari's Avatar
    Posts : 17,063
    Windows 10 Pro
    Thread Starter
       #109

    x509 said:
    Quick question. In theory, should I update this WIM file with every major windows update, like 1903, the future 1909, etc?
    Yes. The Recovery partition you make by yourself will naturally restore the Windows version it was made from. New version, capture new WIM, replace all files in Recovery partition with files from new install media, replace new original WIM with your custom one.

    Kari
      My Computer


 

Tutorial Categories

Factory recovery - Create a Custom Recovery Partition Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
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 14:51.
Find Us




Windows 10 Forums
 

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Cookie Policy.   Read more
I agree
Powered by cookie-script.com