Factory recovery - Create a Custom Recovery Partition  

Page 6 of 6 FirstFirst ... 456
  1. Kari's Avatar
    Posts : 15,140
    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,140
    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 : 213
    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.    1 Week 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


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