Factory recovery - Create a Custom Recovery Partition  

Page 6 of 6 FirstFirst ... 456
  1. Kari's Avatar
    Posts : 15,235
    Windows 10 Pro
    Thread Starter
       30 Jul 2018 #50

    vgkfan83 said: View Post
    I have a lot of Software installed as well. I have 4 Adobe programs installed. Those 4 themselves use 7.4GB of storage.
    Yeah.

    Just to explain, I had one of those for me extremely rare "let's think about other users" moments (honestly, I am the most egocentric b***ard you've ever met!) and I were suddenly a bit worried about the size of your captured image.

    However, after reading your posts and seeing the size of your C: drive and seeing the size of captured image was / is within acceptable limits, I stopped worrying.

    Kari
      My ComputerSystem Spec

  2.    30 Jul 2018 #51

    Kari said: View Post
    Yeah.

    Just to explain, I had one of those for me extremely rare "let's think about other users" moments (honestly, I am the most egocentric b***ard you've ever met!) and I were suddenly a bit worried about the size of your captured image.

    However, after reading your posts and seeing the size of your C: drive and seeing the size of captured image was / is within acceptable limits, I stopped worrying.

    Kari
    It probably would've only been about 5-8GB without all the software installed. I just get tired of uninstalling/reinstalling crap every single time I have to do a fresh install. If you are the one that came up with this Tutorial, you are a godsend!
      My ComputersSystem Spec

  3.    04 Aug 2018 #52

    @Kari,


    I created a new install.wim file. I have not uninstalled anything from my previous creation, but added more software. The NEW install.wim is 15.9GB. . . The original is 23.9GB. . . What's the deal? LOL


    Could it be because I deleted the Windows.old folder a few days ago?
      My ComputersSystem Spec

  4. Kari's Avatar
    Posts : 15,235
    Windows 10 Pro
    Thread Starter
       05 Aug 2018 #53

    vgkfan83 said: View Post
    Could it be because I deleted the Windows.old folder a few days ago?
    Most probably.

    Tip   Tip
    Everything on drive C: will be included in captured install.wim file. Before capturing it for my custom recovery partition, I have a routine to make resulting WIM file as small as possible. Here's what I do on every machine, every time:
    • Completely empty user profile folders (Documents, Pictures, Videos, Music, do not touch AppData folder!), backing all personal data to an external disk.
    • Unlink OneDrive (tutorial), when unlinked delete everything in OneDrive folder.
    • Run full Disk Cleanup (tutorial, see Option Two) selecting absolutely everything there is to clean / remove.

    When WIM file is then captured, I'll link OneDrive again and copy backed up personal files back to user profile folders.

    Kari
      My ComputerSystem Spec


  5. Posts : 226
    Microsoft Windows 10 x64
       05 Aug 2018 #54

    There is a way to minimize the size of install.wim file by excluding some useless files
    read DISM Configuration List and WimScript.ini Files | Microsoft Docs

    Create a WimScript.ini file containing
    Code:
    [ExclusionList]
    \$ntfs.log
    \hiberfil.sys
    \pagefile.sys
    \swapfile.sys
    "\System Volume Information"
    \RECYCLER
    \$RECYCLE.BIN
    \Windows\CSC
    \$WINDOWS.*
    \Windows\SoftwareDistribution
    Any other exclusion is possible.
    You can even exclude some user profiles by adding \Users\<account_name> in the ExclusionList

    and run

    Code:
    dism /capture-image /imagefile:Z:\install.wim /capturedir:D:\ /ConfigFile:<path>\WimScript.ini /name:"Recovery" /compress:maximum
    Last edited by D4ni3l; 05 Aug 2018 at 05:48.
      My ComputerSystem Spec

  6.    4 Weeks Ago #55

    Hi, everybody,
    SIW2 said: View Post
    Yep. Kari's batch file sets a drive letter.
    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.
      My ComputerSystem Spec

  7.    2 Weeks Ago #56

    @Brink Can you create a recovery partition using a USB Flash Drive instead?
      My ComputersSystem Spec

  8. Brink's Avatar
    Posts : 34,327
    64-bit Windows 10 Pro build 18290
       2 Weeks Ago #57

    vgkfan83 said: View Post
    @Brink Can you create a recovery partition using a USB Flash Drive instead?

    Hello Jeremy,

    You could create a bootable USB recovery drive.

    Create Recovery Drive in Windows 10 | Tutorials
      My ComputersSystem Spec

  9. Kari's Avatar
    Posts : 15,235
    Windows 10 Pro
    Thread Starter
       2 Weeks Ago #58

    In addition to what Brink told above:

    If you create a recovery partition as told in this tutorial, containing full Windows install media, it must be formatted as NTFS because the custom install.wim file is usually over 4 GB, the limit on FAT32 partition.

    In that case, see this tutorial for how to prepare your USB Flash Drive: Create bootable USB installer if install.wim is greater than 4GB | Tutorials

    Kari
      My ComputerSystem Spec

  10.    4 Days Ago #59

    Hi everyone

    This looks like a nice method for creating a custom recovery partition.
    Only, I'm not entirely sure I got it right with this situation:
    I forget for a few months, after the windows version has changed, to update my recovery partition with new windows.iso and install.wim. With this method will I still be able to recreate my now outdated windows installation, and then after that update it ?
    One method I could imagine would be to keep a usb windows 10 standard installation media with the version of my present recovery partition. Then if the bad luck is out, I will first do a normal windows installation, followed by recovery from my partition. Would that work ?

    Thanks for the thread
      My ComputerSystem Spec


 
Page 6 of 6 FirstFirst ... 456

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
Hello everyone. I have a fairly new Dell laptop that I installed a SSD in after cloning the original HDD. Somehow the factory recovery partition was not copied to the SSD. I have tried twice to upgrade to W-10 and each time it has failed with...
Hello everyone, I would like to ask. How can I restore Windows to Factory reset with all Acer apps and drivers like recovery management, etc. I have Acer Aspire E5 with Windows 10 and I tried (for the first time when I had Recovery Management)...
Custom Recovery Partition in Installation and Upgrade
Hello, I have a fresh intalled Win-10 NVMe P50 with all necessary drivers etc. All factory partitions were deleted before installing Win-10. Was wondering how to create a Recovery Partition that would work like Lenovo factory system does...
So how would the home user do this if they wanted to create a recovery after their Windows 10 upgrade. I know for Windows 8 you could do the recimg thing to create the image file. I tried doing the commands listed in one of the thread to create the...
Installation & Upgrade Create Custom Recovery Image in Windows 10 in Tutorials
How to Create a Custom Recovery Image used to Refresh Windows 10 This tutorial no longer works starting with Windows 10 build 10130 released on May 29th 2015. The "C:\Windows\System32\recimg.exe" file has been removed in build 10130, and will...

Tags for this Thread

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:41.
Find Us