1. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    363
    10
    #17321 ingviowarr, Nov 10, 2020
    Last edited: Nov 11, 2020
    Finalized my LTSC tests:

    - Last WU (*.msu) files were applied flawlessly over live system in oflline mode
    - No apps returned back
    - No SFC errors at any stage: MSMG + removing System Apps -> ISO -> Setup -> Installing WU files

    Note: Additional removal of the CloudExperienceHost for the current User (live OS) hasn't been tested yet.

    I don't see any reason do not use LTSC.
    I don't see any reason to use a new builds (full of errors that should be fixed in the next century).
     

    Attached Files:

  2. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    363
    10
    #17322 ingviowarr, Nov 11, 2020
    Last edited: Nov 11, 2020
    Also updated my suggestion Screenshot for the rescent Windows builds.
    Description for CredDialogHost and notification how to remove Windows Hello completely were added.

    (I have more descriptions for Apps. If smb. need this, just say, I'll prepear for posting on English)
     
  3. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    Rather than starting from scratch I settled on restoring a a base image which has OS and drivers and nothing more. I'm getting too old to be climbing under desks to disconnect drives especially when I have to remove the GPU to get at one of the M.2 drives.

    • Backup current system (1x Image + 1x user data)
    • Restore base image
    • Update to 17763.1397
    • Manual install image created with toolkit that has Defender in it at patch level 1397
    • Run my post install script to put back all user data, apply tweaks and install programs.
    • Reinstall Office.
    • Test
    • Create a backup image

    Everything seems to be working fine.

    Thanks to @MSMG, @Ace2 and @Ingviowarr
     
  4. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    19041.1.191206-1406.VB_RELEASE_CLIENTCORE_OEMRET_X64FRE_EN-US from uup dump.

    1.
    Code:
    mounted install.wim
    sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Result:
    Microsoft Windows [Version 10.0.19042.572]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    Windows Resource Protection did not find any integrity violations.

    2.
    Code:
    dism /image:C:\mount /add-package /packagepath:C:\updates\windows10.0-kb4577266-x64.cab
    sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Result:
    Microsoft Windows [Version 10.0.19042.572]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism /image:C:\mount /add-package /packagepath:C:\updates\windows10.0-kb4577266-x64.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_KB4577266~31bf3856ad364e35~amd64~~19041.504.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    Windows Resource Protection did not find any integrity violations.

    3.
    Code:
    dism /image:C:\mount /add-package /packagepath:C:\updates\windows10.0-kb4579311-x64.cab
    sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Result:
    Microsoft Windows [Version 10.0.19042.572]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism /image:C:\mount /add-package /packagepath:C:\updates\windows10.0-kb4579311-x64.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.572.1.8
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    Windows Resource Protection did not find any integrity violations.

    4.
    Code:
    dism /image:C:\mount /add-package /packagepath:C:\updates\windows10.0-kb4562830-x64.cab
    sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Result:
    Microsoft Windows [Version 10.0.19042.572]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism /image:C:\mount /add-package /packagepath:C:\updates\windows10.0-kb4562830-x64.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19041.572
    
    Processing 1 of 1 - Adding package Package_for_KB4562830~31bf3856ad364e35~amd64~~10.0.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>sfc /verifyonly /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    There is a system repair pending which requires reboot to complete.  Restart
    Windows and run sfc again.

    5.
    Code:
    installed updated install.wim [untouched by ToolKitHelper]
    sfc /verifyonly
    dism /online /cleanup-image /startcomponentcleanup
    dism /online /cleanup-image /startcomponentcleanup /resetbase
    dism /online /cleanup-image /restorehealth
    SFC /SCANNOW
    
    Results:
    Microsoft Windows [Version 10.0.19042.572]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>sfc /verifyonly
    
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection did not find any integrity violations.
    
    C:\Windows\system32>dism /online /cleanup-image /startcomponentcleanup
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19042.572
    
    [=                          2.9%                           ]
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>dism /online /cleanup-image /startcomponentcleanup /resetbase
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19042.572
    
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>dism /online /cleanup-image /restorehealth
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.572
    
    Image Version: 10.0.19042.572
    
    [==========================100.0%==========================] The restore operation completed successfully.
    The operation completed successfully.
    
    C:\Windows\system32>SFC /SCANNOW
    
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.
    
    corrupt files= is owned twice or has its security set twice
     
  5. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    Rofl that comment.
    Not on topic (sorry) but can relate, I just hate it when that has to be done.

    Cheers.
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes you can use it for live systems, if for offline images then you need to modify the reg hives to mounted ones.

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    1. Add this line to setupcomplete.cmd, change 83.0.478.58 to the one in the wim image->\Program Files (x86)\Microsoft\Edge\Application\

    Code:
    C:\Program Files (x86)\Microsoft\Edge\Application\83.0.478.58\Installer\setup.exe --uninstall --system-level --verbose-logging --force-uninstall
    
    2.

    kb4577266 = ServicingSack
    kb4562830 = Enablement
    kb4579305 = WinPE
    kb4580364 = Cumulative

    3/4

    Updates will be staged to be installed not pending, only the Enablement package will create a pendign.xml which will not allow you to run the image cleanup, you can overcome this by skipping the edge Chromium integration when asked in WHD updates pack integration.

    Use a UUP/MSDN ISO instead of ESD and follow the step 2 and 3 you will end up with 19042.610 image without Edge chromium.

     
  8. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
  9. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
    Thanks.
    I apologize for not resizing the image.
     
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    That attempt to invert the position of the lines, code that I had commented on, was what broke the system of ordering the choices in an ascending way (Sorting2AscendindgOrder). Then the Formula stopped working.

    The work on Random Selection in any order of the indexes and removal of the unselected ones is done, @MSMG.

    My test file that follows is only working if the selection of the desired Image Indexes is already done in an ascending way.

    I sent you PM now.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. haremmon

    haremmon MDL Novice

    Aug 29, 2016
    20
    18
    0
    Anyone encountered this same issue and resolved it?

    Used toolkit v10.8 and Win10 20H2 - 19042.572.201009-1947

    Some updates were not installed:
    Following updates were not installed:
    Security Update for Windows (KB4586781)

    List of packages I removed through RemovePkgsList.txt file

    AdobeFlashForWindows
    EdgeChromium
    GameExplorer
    SpeechRecognition
    WindowsPhotoViewer
    WinSAT
    AssignedAccess
    CEIP_SQM
    FaceRecognition
    KernelDebugging
    PicturePassword
    PinEnrollment
    UnifiedTelemetryClient
    WiFiNetworkManager
    WindowsInsiderHub
    HomeGroup
    MultiPointConnector
    RemoteAssistance
    DeviceLockdown
    EaseOfAccessThemes
    EasyTransfer
    FileHistory
    StepsRecorder
    SystemRestore
    WindowsBackup
    WindowsFirewall
    WindowsSubsystemForLinux
    WindowsToGo
    AADBrokerPlugin
    AssignedAccessLockApp
    BioEnrollment
    CallingShellApp
    CBSPreview
    ContentDeliveryManager
    ECApp
    EdgeDevToolsClient
    Edge
    FileExplorer
    LockApp
    MapControl
    NarratorQuickStart
    OneDrive
    ParentalControls
    PeopleExperienceHost
    QuickAssist
    RetailDemoContent
    SecureAssessmentBrowser
    SettingSync
    SkypeORTC
    SmartScreen
    Win32WebViewHost
    WindowsMixedReality
    WindowsReaderPDF
    XboxGameCallableUI
    3DViewer
    Alarms
    BingWeather
    CommunicationsApps
    Cortana
    DesktopAppInstaller
    FeedbackHub
    GetHelp
    Getstarted
    HEIFImageExtension
    Maps
    Messaging
    MixedRealityPortal
    OfficeHub
    OneConnect
    Paint3D
    People
    Photos
    Print3D
    ScreenSketch
    SkypeApp
    SolitaireCollection
    SoundRecorder
    StickyNotes
    VP9VideoExtensions
    WalletService
    WebMediaExtensions
    WebpImageExtensions
    XboxApp
    XboxIdentityProvider
    YourPhone
    ZuneMusic
    ZuneVideo
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Will checkout.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes it's the Edge Chromium removal which is breaking the updates install, have fixed it in next version.

    You can copy these files/folder from original 19042.572 image

    Code:
    \Windows\WinSxS\amd64_microsoft-windows-e..-firsttimeinstaller_31bf3856ad364e35_10.0.19041.479_none_3117e2c9c60d5cfb
    
    to

    Code:
    \Windows\WinSxS
    

    Code:
    \Windows\WinSxS\amd64_microsoft-windows-u..argeting-edgestable_31bf3856ad364e35_10.0.19041.1_none_dccc7f28e6ed5d00.manifest
    \Windows\WinSxS\amd64_microsoft-windows-e..-firsttimeinstaller_31bf3856ad364e35_10.0.19041.479_none_3117e2c9c60d5cfb.manifest
    
    to

    Code:
    \Windows\WinSxS\Manifests
    

    Install the updates now.


     
  14. kosta26

    kosta26 MDL Junior Member

    Jan 1, 2019
    91
    5
    0
    Waiting for the new version. How are things on the .630 update, the same problem with cleaning the image?
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    .630 has no major changes with removed components, only one component which needed a change has been fixed and needs no further change with newer CU.

    Fixed the issue with .572 image which broke updates installation.

    Fixing the issue with removing installed Edge Chromium in ESD image.

    The cleanup issue and ghost SFC error is a Microsoft thing, hope the MS fixes it soon.

     
  16. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
    Hi @MSMG

    How do I convert from WIM to ESD..??

    I didn't find that option..!!

    Thanks in advance..!!
     
  17. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,613
    270
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...