MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    It's the Cleanup image which is causing the SFC error and the Do more across devices with activity history missing might be due to the bug in the update, wait for the next CU and try-out.

     
  2. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Some shared packages might be breaking the Narrator, will do find out.

     
  3. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    The Toolkit uses the Image info from DISM /Get-WimInfo and when the mounted image is updated with a new update, until you commit the changes to the image the DISM will not update the Image info.

    The ToolkitHelper reads the Image info from the registry and so it gets the info instantly, now I have made changes to the Toolkit script to read the info from registry when updates are integrated.

     
  4. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    The ToolkitHelper checks for the existence of component folder/file name, if present it will continue with the removal but any new files/keys added by the update will be leftover.

     
  5. Feartamixg

    Feartamixg MDL Addicted

    Joined:
    May 15, 2016
    Messages:
    555
    Likes Received:
    423
    Trophy Points:
    30
    Should I skip Cleanup (6 > 1) step from my below method?
    Extract ISO (1 > 3)

    Select source (1 > 1) (also mount boot and recovery images)

    Integrate Win32 calculator (3 > 3 > C)

    Apply SSU and CU updates (3 > 4 > 2 > 1 > 4)

    Apply setup media update (3 > 4 > 2 > 2)

    Remove using RemovePkgsList.txt (4 > 3)
    GameExplorer
    MapControl
    OneDrive
    PeopleExperienceHost
    RetailDemoContent
    SecureAssessmentBrowser
    SkypeORTC
    WindowsMixedReality
    XboxGameCallableUI
    3DViewer
    AdvertisingXaml
    Alarms
    BingWeather
    Calculator
    Camera
    CommunicationsApps
    Cortana
    DesktopAppInstaller
    FeedbackHub
    GetHelp
    Getstarted
    HEIFImageExtension
    Maps
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    Paint3D
    People
    Photos
    ScreenSketch
    SkypeApp
    SolitaireCollection
    SoundRecorder
    StickyNotes
    VP9VideoExtensions
    WalletService
    WebMediaExtensions
    WebpImageExtensions
    WindowsStore
    XboxApp
    XboxIdentityProvider
    YourPhone
    ZuneMusic
    ZuneVideo

    Unpin all Start menu icons (5 > 6)

    Tweaks for Task View, App Downloads, Photo Viewer (5 > 8 > B/D/J)

    Cleanup (6 > 1)

    Apply changes to image (6 > 2 > Y)

    Rebuild (6 > 1)

    Convert WIM to ESD (2 > 4)

    Make ISO (7 > 1)
     
  6. rorewe4314

    rorewe4314 MDL Junior Member

    Joined:
    Jun 18, 2020
    Messages:
    70
    Likes Received:
    17
    Trophy Points:
    0
    Doubtful!
     
  7. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Yes the current method needs the ToolkitHelper to be updated for newer CU's if there are changes to the removed components in the new CU.

    Will check with the LTSC x64 build, may be resetbase is breaking the OS.

     
  8. rorewe4314

    rorewe4314 MDL Junior Member

    Joined:
    Jun 18, 2020
    Messages:
    70
    Likes Received:
    17
    Trophy Points:
    0
  9. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Yes the .NET Framework should be integrated after the image cleanup since it won't allow the clean if integrated earlier.

     
  10. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Yes do skip it until it gets fixed.

     
  11. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
    @MSMG

    If I am on 1809, how can I block the Updates to 1909. I'd like to receive only Updates Security and continue with version 1809..!!

    It is possible..??

    Thanks in advance..!!
     
  12. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    [G] Disable Automatic Windows Upgrade

    Code:
            Reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "0" /f
            Reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "1" /f
            Reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "1" /f
            Reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AUOptions" /t REG_DWORD /d "2" /f
    
     
  13. rorewe4314

    rorewe4314 MDL Junior Member

    Joined:
    Jun 18, 2020
    Messages:
    70
    Likes Received:
    17
    Trophy Points:
    0
    How do I add via the command line (batch file)?
     
  14. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
  15. Ace2

    Ace2 MDL Addicted

    Joined:
    Oct 10, 2014
    Messages:
    523
    Likes Received:
    320
    Trophy Points:
    30
  16. Yanta

    Yanta MDL Senior Member

    Joined:
    May 21, 2017
    Messages:
    279
    Likes Received:
    136
    Trophy Points:
    10
    Do you also need...

    Code:
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /v TargetReleaseVersion /t REG_DWORD /d 1
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /v TargetReleaseVersionInfo /t REG_SZ /d "1809"
    
    to stop upgrades to later versions?

    I have them set on all PCs here, but I use WSUS so I don't know if they work.
     
  17. valvoga

    valvoga MDL Novice

    Joined:
    Aug 19, 2014
    Messages:
    8
    Likes Received:
    5
    Trophy Points:
    0
    Hi there MSMG, first of all i would like to thank you for your amazing tool.....
    Maaan, i've been using your tool sinze 2017 and it's awesome
    MSMG Roooooooooooocks.............................
    I gotta say, i love you "not in a gay way"

    For the recent CU update for 1809, 1909, or 2004 (x64 version)
    Should I skip Cleanup (6 > 1) process to avoid getting sfc error or should i follow the instruction in the readme based on the windows version?

    Or

    Does the skip cleanup only applied for x86 version of windows 10?

    Thanks mate