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
    Do try the next version which will solve most of the current issues.

     
  2. jinvidia

    jinvidia MDL Member

    Joined:
    Aug 7, 2016
    Messages:
    180
    Likes Received:
    19
    Trophy Points:
    10
    #9202 jinvidia, Dec 29, 2018
    Last edited: Dec 29, 2018
    OMG i was thinking that version 8.8 was removed since the archive folder has all the versions except 8.8.
    Is version 8.8 working fine with windows 8.1 ?
     
  3. eevee

    eevee MDL Novice

    Joined:
    Dec 10, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi I was wonder what the effects of upgrading an MSMG created ISO would have (Using Windows Update)?
    EX. Upgrading 1803 to 1809. I have heard it would just install all the bloat back and have no other side effects.
    Others have said it would completely corrupt the installation i would just like some clarification on this.
     
  4. Krager

    Krager MDL Senior Member

    Joined:
    Jan 9, 2017
    Messages:
    396
    Likes Received:
    230
    Trophy Points:
    10
    Thanks, I will. This is the number one thread for me on this forum right now. The build itself is working well, haven't tried an install with the image it generates yet, but I will today probably. Hopefully will work well. Seems to build without issue though. Script posted below for anyone who wants to check it out, fully automates the process, runs from this shortcut, nsudo.exe -U:T -P:E build.cmd;

    Code:
    
    @echo off
    whoami >%tmp%\tempfile & set /p batchident=<%tmp%\tempfile & del %tmp%\tempfile
    if not "nt authority\system"=="%batchident%" echo. & echo ERROR: Run from shortcut to set environment & goto :end
    if not exist d:\temp\wim_offline md d:\temp\wim_offline
    if not exist d:\temp\install.wim echo. & echo ERROR: Missing d:\temp\install.wim & goto :end
    if not exist e:\sources echo. & echo ERROR: Win iso not mounted to e:\ & goto :end
    dism /mount-wim /wimfile:d:\temp\install.wim /index:1 /mountdir:d:\temp\wim_offline || goto :end
    echo. & echo * Removing AAD Broker Plugin                        & toolkithelper d:\temp\wim_offline AADBrokerPlugin
    echo. & echo * Removing Adobe Flash For Windows                  & toolkithelper d:\temp\wim_offline AdobeFlashForWindows
    echo. & echo * Removing Assigned Access                          & toolkithelper d:\temp\wim_offline AssignedAccess
    echo. & echo * Removing Assigned Access Lock App                 & toolkithelper d:\temp\wim_offline AssignedAccessLockApp
    echo. & echo * Removing Bio Enrollment App                       & toolkithelper d:\temp\wim_offline BioEnrollment
    echo. & echo * Removing Customer Experience Improvement Program  & toolkithelper d:\temp\wim_offline CEIP_SQM
    echo. & echo * Removing Content Delivery Manager                 & toolkithelper d:\temp\wim_offline ContentDeliveryManager
    echo. & echo * Removing Cortana                                  & toolkithelper d:\temp\wim_offline Cortana
    echo. & echo * Removing Device Lockdown (Embedded Experience)    & toolkithelper d:\temp\wim_offline DeviceLockdown
    echo. & echo * Removing Ease of Access Themes                    & toolkithelper d:\temp\wim_offline EaseOfAccessThemes
    echo. & echo * Removing Edge DevTools Client                     & toolkithelper d:\temp\wim_offline EdgeDevToolsClient
    echo. & echo * Removing First Logon Animation                    & toolkithelper d:\temp\wim_offline FirstLogonAnimation
    echo. & echo * Removing Home Group                               & toolkithelper d:\temp\wim_offline HomeGroup
    echo. & echo * Removing Internet Explorer                        & toolkithelper d:\temp\wim_offline InternetExplorer
    echo. & echo * Removing Kernel Debugging                         & toolkithelper d:\temp\wim_offline KernelDebugging
    echo. & echo * Removing Lockscreen App                           & toolkithelper d:\temp\wim_offline LockApp
    echo. & echo * Removing Maps Control                             & toolkithelper d:\temp\wim_offline MapsControl
    echo. & echo * Removing MultiPoint Connector                     & toolkithelper d:\temp\wim_offline MultiPointConnector
    echo. & echo * Removing Paint                                    & toolkithelper d:\temp\wim_offline Paint
    echo. & echo * Removing Parental Controls App                    & toolkithelper d:\temp\wim_offline ParentalControls
    echo. & echo * Removing People Experience Host                   & toolkithelper d:\temp\wim_offline PeopleExperienceHost
    echo. & echo * Removing Quick Assist App                         & toolkithelper d:\temp\wim_offline QuickAssist
    echo. & echo * Removing Remote Assistance                        & toolkithelper d:\temp\wim_offline RemoteAssistance
    echo. & echo * Removing Retail Demo Content                      & toolkithelper d:\temp\wim_offline RetailDemoContent
    echo. & echo * Removing Setting Sync                             & toolkithelper d:\temp\wim_offline SettingSync
    echo. & echo * Removing Skype ORTC                               & toolkithelper d:\temp\wim_offline SkypeORTC
    echo. & echo * Removing SmartScreen App                          & toolkithelper d:\temp\wim_offline SmartScreen
    echo. & echo * Removing Unified Telemetry Client (Asimov)        & toolkithelper d:\temp\wim_offline UnifiedTelemetryClient
    echo. & echo * Removing Windows Defender App                     & toolkithelper d:\temp\wim_offline WindowsDefender
    echo. & echo * Removing Windows Error Reporting                  & toolkithelper d:\temp\wim_offline WindowsErrorReporting
    echo. & echo * Removing Windows Photo Viewer                     & toolkithelper d:\temp\wim_offline WindowsPhotoViewer
    echo. & echo * Removing Windows PDF Reader                       & toolkithelper d:\temp\wim_offline WindowsReaderPDF
    echo. & echo * Removing Windows To Go                            & toolkithelper d:\temp\wim_offline WindowsToGo
    echo. & echo * Removing Windows System Assessment Tool           & toolkithelper d:\temp\wim_offline WinSAT
    echo. & echo * Removing Windows Sybsystem For Linux              & toolkithelper d:\temp\wim_offline WindowsSubsystemForLinux
    echo. & echo * Removing Microsoft Xbox App                       & toolkithelper d:\temp\wim_offline XboxApp
    echo. & echo * Removing Xbox Game Callable UI                    & toolkithelper d:\temp\wim_offline XboxGameCallableUI
    dism /image:d:\temp\wim_offline /add-driver /driver:d:\home\comp\software\win10\build\drivers /recurse
    dism /image:d:\temp\wim_offline /add-package /packagepath:d:\home\comp\software\win10\updates\kb4470788_serv_stack_12-05-18_1809-x64.msu
    dism /image:d:\temp\wim_offline /add-package /packagepath:d:\home\comp\software\win10\updates\kb4471332_cumulative_12-11-18_1809-x64.msu
    dism /image:d:\temp\wim_offline /cleanup-image /startcomponentcleanup /resetbase
    dism /image:d:\temp\wim_offline /enable-feature /featurename:netfx3 /source:e:\sources\sxs
    echo. & echo Updating registry...
    reg load HKLM\temp D:\Temp\wim_offline\Windows\System32\config\SOFTWARE
    regedit /s hklm_offline.reg
    reg unload HKLM\temp
    echo done
    dism /unmount-wim /mountdir:d:\temp\wim_offline /commit
    ren d:\temp\install.wim install_src.wim
    dism /export-image /sourceimagefile:d:\temp\install_src.wim /sourceindex:1 /destinationimagefile:d:\temp\install.wim /compress:max
    del d:\temp\install_src.wim
    :end
    echo. & pause
    
     
  5. jinvidia

    jinvidia MDL Member

    Joined:
    Aug 7, 2016
    Messages:
    180
    Likes Received:
    19
    Trophy Points:
    10
    @MSMG - Sir, if I replace the toolkithelper.exe in the archive with the latest version in your link, will it bring any performance improvement ?.
    Is the latest version meant for all msmg versions ?
    Thanks
     
  6. ffs_

    ffs_ MDL Junior Member

    Joined:
    Sep 17, 2016
    Messages:
    74
    Likes Received:
    39
    Trophy Points:
    0
    It wouldn't if you serviced both images with ToolKit.
     
  7. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    v8.8 is left to be in the main folder to support W7-10 RS4.

    The updated ToolKitHelper.exe is for RS5 only.

     
  8. panthersdude2001

    panthersdude2001 MDL Novice

    Joined:
    Dec 29, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    0
    @MSMG , how do you get the DaRT iso into a tpk file? It says it cannot find the tpk file for the DaRT.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,561
    Likes Received:
    59,625
    Trophy Points:
    450
    Did you download the DaRT package for your windows edition? 7. 8 or 10, and put it in the correct place in the "Packs" folder?
     
  10. panthersdude2001

    panthersdude2001 MDL Novice

    Joined:
    Dec 29, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    0
    Yes I did, and it was in a iso format. and it was 10
     
  11. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,561
    Likes Received:
    59,625
    Trophy Points:
    450
  12. panthersdude2001

    panthersdude2001 MDL Novice

    Joined:
    Dec 29, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    0
    Thank you so much! That was the program I needed!
     
  13. jinvidia

    jinvidia MDL Member

    Joined:
    Aug 7, 2016
    Messages:
    180
    Likes Received:
    19
    Trophy Points:
    10
    Thanks a lot for making it clear Sir.:worthy:
     
  14. Krager

    Krager MDL Senior Member

    Joined:
    Jan 9, 2017
    Messages:
    396
    Likes Received:
    230
    Trophy Points:
    10
    Not going well for me with the images I'm modifying with toolkithelper.exe. Returning an error saying "setup cannot install windows on this computer" after the first reboot. Any suggestions? I'm using the latest toolkithelper binary posted in the official download link. Working on an an LTSC 2019 17763.1 image. I'll try some things and provide more details later.
     
  15. handesonmiller

    handesonmiller MDL Novice

    Joined:
    May 3, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    0
    its possible to inject dart6 in to vista x86/x64 boot.wim, install.wim or winre.wim?
    thanks from brazil (amazonia).
     
  16. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Yes when the components are removed in some order this occurs and I'm troubleshooting for the same with removing components stage by stage and installing the image to see if it works, Better wait for the newer version.

     
  17. sonnet

    sonnet MDL Novice

    Joined:
    Aug 23, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Does anybody know where I can find a list of the packages that can be removed by adding their name to the 'removepkgslist.text' file?

    Is there also a quick way to remove components in the '[1] Remove Windows components' by selecting all at once then ones you want to remove without having to go one by one?
     
  18. boyonthebus

    boyonthebus MDL Addicted

    Joined:
    Sep 16, 2018
    Messages:
    917
    Likes Received:
    573
    Trophy Points:
    30
    @MSMG You seriously need to reconsider your decision to not open-source toolkit.exe. Many people on this forum are very experienced coders like you, and would definitely be of service. Your life could be much simpler.
     
  19. Krager

    Krager MDL Senior Member

    Joined:
    Jan 9, 2017
    Messages:
    396
    Likes Received:
    230
    Trophy Points:
    10
    Thanks, yeah I've found there is some component or order causing the installation to bomb. I tried doing just a small number of components and it's fine, but I want to remove a good number of them. Problem is it's time consuming to troubleshoot, each iteration takes a while. Until it's resolved with a newer version I'm going to monkey with it and see what I can find. Really want to be able to remove all those components in a non-interactive manner.
     
  20. Krager

    Krager MDL Senior Member

    Joined:
    Jan 9, 2017
    Messages:
    396
    Likes Received:
    230
    Trophy Points:
    10
    Since you're working on the tookithelper binary, wonder if I could ask for a feature. Would it be possible to batch process all the components when calling the executable? Seems kind of inefficient to call the binary for every component. Seems like it has to initialize very time which slows things down quite a bit, but I don't know how it works so maybe it would only save some typing.