Factory recovery - Create a Custom Recovery Partition  

  1. Marko75
    Posts : 7
    Win10
       #70

    Factory recovery - Create a Custom Recovery Partition-disk-management.jpg

    BTW - I fully expect this to be something dumb I've done, so feel free to point and laugh...

    And further. Love the Mark Twain quote. Reminds of one of his others - I'd rather a bottle in front of me than a frontal lobotomy...
      My Computer

  2. Marko75
    Posts : 7
    Win10
       #71

    Worked with A drive. Go figure....
      My Computer

  3. Marko75
    Posts : 7
    Win10
       #72

    dtonkz said:
    Hi, everybody,


    if you want to hide recovery partition ? Change partition ID;
    after step 3.5, run cmd as administrators.

    open disk part;

    1 - DISKPART> select disk 0
    2 - DISKPART> list partition
    3 - DISKPART> select partition 1 (Now, select the recovery partition)
    [4 is Optional for don't remember recovery part]
    4 - DISKPART> detail partition (verify that it is recovery. Remember the Type value, this will be handy if something goes wrong)
    5 - DISKPART> set id = 27
    if everything goes ok, you will receive the following message “Diskpart successfully set the partition ID.“
    6 - DISKPART> exit (all done. close diskpart)

    07 = Windows NTFS
    17 = Hidden
    27 = OEM Recovery


    Finally, check Disk Management ; drive letter has been removed to the recovery partition and filesystem empty.
    Look like original OEM/Recovery partition on your hard drive.
    Just for those who have a GPT drive - you'll need to use 'set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac' on your recovery partition, in step 5 above.
      My Computer

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

    Marko75 said:
    Just for those who have a GPT drive - you'll need to use 'set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac' on your recovery partition, in step 5 above.
    No, they do not need to do that.

    This custom recovery partition must not be mixed with default Windows 10 WinRE / OEM partition, the one Windows setup creates and which has that ID. Custom recovery partition as told in this tutorial does not require an ID, be it MBR or GPT disk.

    Kari
      My Computer

  5. Druboo666
    Posts : 1
    Windows 10 pro
       #74

    @Kari
    I have recovery partition with "set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac" id also added the setup file but my drive don't have letter assigned to it
    Should I letter to this drive also i don't want it to see in my explorer i want that partition to be hidden
    Also if it possible to add partition number in bat file so that we don't need to assign a letter to the partition
      My Computer

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

    Druboo666 said:
    Should I letter to this drive also i don't want it to see in my explorer i want that partition to be hidden
    Also if it possible to add partition number in bat file so that we don't need to assign a letter to the partition
    The drive ID letter is only needed when the running batch file to add custom recovery partition to boot menu. When done, you can remove the drive letter in Disk Management. Your custom "factory" recovery partition does not need a drive letter, nor does it need to be shown in File Explorer.

    Kari
      My Computer

  7. tjmack
    Posts : 3
    Win10 Pro
       #76

    Kari said:
    The drive ID letter is only needed when the running batch file to add custom recovery partition to boot menu. When done, you can remove the drive letter in Disk Management. Your custom "factory" recovery partition does not need a drive letter, nor does it need to be shown in File Explorer.

    Kari
    I messed up somewhere but not sure where.

    I can't get the Recovery partition to work whenever I hide it from File Explorer using the Remove letter method within Disk Management. Whenever I do and reboot into Recovery to run its Wndows Installation, right after its "Setup is starting..." screen I get, "A media driver that your computer needs is missing" error. And whenever I make the partition visible again by putting a drive letter back, and then try the Recovery partition, it works.

    I think its how I copied the Windows installation contained within the original ISO that has left some sort of broken file reference behind, but not sure.

    Anyone got any other ideas?

    Thanks for the tutorial, anyway.
      My Computer


  8. leonaheidern
    Posts : 2
    Windows 10 Profesional 1803
       #77

    Hi I tried this out on my acer A515-52G laptop with a custom upgraded samsung ssd on Windows 10 Professional build 1803.

    I booted up from the windows 10 install usb drive created from the windows media creation tool using x64 bit option. When I reached the region install screen I could not press shift + F10 to make the command prompt appear so I hit repair your computer-->Troubleshoot-->Command Prompt and did the dism capture-image from there.

    I kept getting no suitable windows system image available after i created my image from the method above. The recovery files came from the iso created from the Windows Media Creation Tool and I selected x64 for the processor before I created the iso. I deleted the install.esd from the sources folder and replaced with my custom captured install.wim

    If i use the install.esd from the iso the windows installs itself fine.

    Could anyone guide me on how to get things working?

    Thanks in advance.
      My Computer

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

    leonaheidern said:
    I could not press shift + F10 to make the command prompt appear
    In some laptops, you must press SHIFT + Fn + F10.


    leonaheidern said:
    I kept getting no suitable windows system image available after i created my image from the method above. The recovery files came from the iso created from the Windows Media Creation Tool and I selected x64 for the processor before I created the iso. I deleted the install.esd from the sources folder and replaced with my custom captured install.wim
    If Windows Setup dos not find any image, it means that it (WIM file) is corrupted, not captured correctly.

    Kari
      My Computer

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

    tjmack said:
    I can't get the Recovery partition to work whenever I hide it from File Explorer using the Remove letter method within Disk Management. Whenever I do and reboot into Recovery to run its Wndows Installation, right after its "Setup is starting..." screen I get, "A media driver that your computer needs is missing" error. And whenever I make the partition visible again by putting a drive letter back, and then try the Recovery partition, it works.
    I cannot explain why this happens. The fact that when recovery partition has a drive ID letter, it works, that tells that it is made correctly.

    I really have no idea. Maybe formatting the recovery partition and rebuilding it from scratch?

    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:48.
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