Create WIM from installed system

Discussion in 'Windows 10' started by tavrez, Apr 11, 2018.

  1. adric

    adric MDL Expert

    Jul 30, 2009
    1,255
    1,327
    60
    #61 adric, Dec 25, 2020
    Last edited: Dec 25, 2020
    Note:
    \Windows\*.log
    deletes the MSDTC.LOG in Winsxs which causes SFC to complain about file corruption. Is there any way to use the .ini to leave certain files alone that end up in the exclude filters to keep it from being deleted?
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,919
    340
    https://forums.mydigitallife.net/threads/create-wim-from-installed-system.76839/page-3#post-1568272

    Add it under this section, e.g. x86
    Code:
    [ExclusionException]
    \Windows\WinSxS\x86_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_ae3f62487b62fd48\MSDTC.LOG
    
     
  3. adric

    adric MDL Expert

    Jul 30, 2009
    1,255
    1,327
    60
    MSDTC.log seems to be the only log file found in winsxs so I used \Windows\winsxs\*.log
     
  4. adric

    adric MDL Expert

    Jul 30, 2009
    1,255
    1,327
    60
  5. MrTweek

    MrTweek MDL Junior Member

    Apr 13, 2010
    55
    19
    0
    Shoould be changed to this:

    Code:
    \Windows\ServiceProfiles\*\AppData\Local\FontCache-S-1-5-21-*.dat
    \Windows\ServiceProfiles\*\AppData\Local\FontCache\*
    \Windows\ServiceProfiles\*\AppData\Local\Temp\*
    
     
  6. AeonX

    AeonX MDL Addicted

    May 24, 2013
    793
    719
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. adric

    adric MDL Expert

    Jul 30, 2009
    1,255
    1,327
    60
  8. Bluerx

    Bluerx MDL Novice

    May 15, 2021
    4
    0
    0
    How create windows10PE with netframework 4.8?
     
  9. sonic9

    sonic9 MDL Member

    Aug 4, 2009
    151
    54
    10
    @abbodi1406

    \Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization\*
    Can be excluded
    1.5Go of Cache captured in .wim , i was thinking i've miss windows update cleanup task but after comparaison , i've found this folder ...[/spoiler]
     
  10. sonic9

    sonic9 MDL Member

    Aug 4, 2009
    151
    54
    10
    imagex cannot read wimscript.ini over a certain size, it read only first bits, i don't remember the limit.
     
  11. sonic9

    sonic9 MDL Member

    Aug 4, 2009
    151
    54
    10
    @abbodi1406
    I keep files below for existing systems, on fresh/audit systems I cannot reproduce the problem.
    Confirmed today on one system and had same problems with some previous systems.
    SYSTEM and/or SYSTEM regedit files are corrupt if these files are excluded , works fine if I keep.
    WinNTSetup say cannot open regedit files after apply, can be skipped but mainly windows cannot boot too it says SYSTEM or SOFTWARE are corrupt.

    Code:
    \Windows\System32\config\*.TM.blf
    \Windows\System32\config\*.regtrans-ms
    \Windows\System32\config\*.log*
    \Windows\System32\config\systemprofile\*.TM.blf
    \Windows\System32\config\systemprofile\*.regtrans-ms
    \Windows\System32\config\systemprofile\*.log*
    \Windows\System32\config\TxR\*.blf
    \Windows\System32\config\TxR\*.regtrans-ms