1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Code:
    MSMG ToolKit Commandline Helper
    Version: 1.0.1512.0
    
    Usage: ToolKitHelper.exe <path_to_offline_image> <component_name>
    


     
  2. kosta26

    kosta26 MDL Junior Member

    Jan 1, 2019
    91
    5
    0
    #9982 kosta26, Mar 24, 2019
    Last edited: Mar 24, 2019
    Understand nothing. How to call and how to make it work?
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      105.9 KB
      Views:
      74
    • 2.jpg
      2.jpg
      File size:
      77.1 KB
      Views:
      73
    • 3.jpg
      3.jpg
      File size:
      86 KB
      Views:
      72
  3. 正义羊

    正义羊 MDL Senior Member

    Feb 21, 2016
    258
    152
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. kosta26

    kosta26 MDL Junior Member

    Jan 1, 2019
    91
    5
    0
    Unsupported Windows OS/Build/Language
    17763.379. Russian image.
     

    Attached Files:

    • 4.jpg
      4.jpg
      File size:
      45.6 KB
      Views:
      46
  5. Krager

    Krager MDL Senior Member

    Jan 9, 2017
    396
    233
    10
    #9985 Krager, Mar 24, 2019
    Last edited: Mar 24, 2019
    Very simple to use ToolKitHelper.exe to remove components from a script, have to compliment MSMG for making it that way.

    First you need privileges elevated above Admin. This is needed for registry modifications. You can open a command shell elevated to System like this "nSudo.exe -U:T -P:E cmd". Run your script containing calls to ToolKitHelper.exe from there.

    Within the script you make calls to ToolKitHelper.exe. Say your image is mounted to C:\mount and your script is in the same directory as the ToolKitHelper binary. To remove OneDrive, for example, it would look like this; ToolKitHelper.exe C:\mount OneDrive.

    To get a list of removable components type ToolKitHelper.exe C:\mount with the image mounted as above. Depends on the version but you may need to add a question mark on the end there. Don't know how he set it up for 9.2.

    A really nice feature of ToolKitHelper.exe is it stands alone. So you can throw nSudo.exe, ToolKitHelper.exe, and your script into some preferred location and run it all in a portable fashion from there, really slick.

    Also you can call your script with nSudo by replacing "cmd" with your script name. That runs the script directly with the required privs.
     
  6. kosta26

    kosta26 MDL Junior Member

    Jan 1, 2019
    91
    5
    0
    Unsupported Windows OS/Build/Language. 17763, pro, x64, RU.
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    - Mount the image using the ToolKit
    - Open a NSudo Command prompt
    - Type tkremove.cmd and press Enter key

    Just realized I forgot to modify the if condition checking for Image language in the ToolKitHelper menu, but the component will get removed when the component name is specified.

    Code:
    C:\Toolkit>Bin\ToolKitHelper.exe Mount\Install /?
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.1512.0
    
    Image Version: 10.0.17763.1
    
    Valid Component Names:
    
    Internet
    ========
    
      AdobeFlashForWindows                  -  Adobe Flash For Windows
      InternetExplorer                      -  Internet Explorer
    
    Multimedia
    ==========
    
      FirstLogonAnimation                   -  First Logon Animation
      GameExplorer                          -  Game Explorer
      SnippingTool                          -  Snipping Tool
      WindowsMediaPlayer                    -  Windows Media Player
      WindowsPhotoViewer                    -  Windows Photo Viewer
      WinSAT                                -  Windows System Assessment Tool
    
    Privacy
    =======
    
      AssignedAccess                        -  Assigned Access
      CEIP_SQM                              -  Customer Experience Improvement Program (CEIP)
      FaceRecognition                       -  Face Recognition
      KernelDebugging                       -  Kernel Debugging | Depends on: WindowsErrorReporting
      LocationService                       -  Location Service
      UnifiedTelemetryClient                -  Unified Telemetry Client (Asimov) | Depends on: WindowsErrorReporting
      WindowsErrorReporting                 -  Windows Error Reporting
    
    Remoting
    ========
    
      HomeGroup                             -  HomeGroup
      MultiPointConnector                   -  MultiPoint Connector
      RemoteAssistance                      -  Remote Assistance
    
    System
    ======
    
      DeviceLockdown                        -  Device Lockdown (Embedded Experience)
      EaseOfAccessThemes                    -  Ease of Access Themes
      Paint                                 -  Paint
      SystemRestore                         -  System Restore
      WindowsSubsystemForLinux              -  Windows Sybsystem For Linux
      WindowsToGo                           -  Windows To Go
    
    System Apps
    ===========
    
      AADBrokerPlugin                       -  Azure Active Directory AppX Broker Plugin
      AssignedAccessLockApp                 -  Assigned Access Lock App | Depends on: AssignedAccess
      BioEnrollment                         -  Bio Enrollment App
      ContentDeliveryManager                -  Content Delivery Manager
      Cortana                               -  Cortana, StartMenu & Settings Search App
      EdgeDevToolsClient                    -  Edge Developer Tools Client | Depends on: Edge
      Edge                                  -  Edge Browser App
      FileExplorer                          -  File Explorer App
      LockApp                               -  Lockscreen App
      MapControl                            -  Map Control
      OneDrive                              -  OneDrive Desktop Client
      ParentalControls                      -  Parental Controls App
      PeopleExperienceHost                  -  People Bar
      PPIProjection                         -  Connect App
      QuickAssist                           -  Quick Assist App
      RetailDemoContent                     -  Retail Demo Content
      SecureAssessmentBrowser               -  Take Test App
      SettingSync                           -  Setting Sync
      SkypeORTC                             -  Skype ORTC
      SmartScreen                           -  SmartScreen App
      WindowsDefender                       -  Windows Defender App
      WindowsMixedReality                   -  Windows Mixed Reality
      WindowsReaderPDF                      -  Windows Reader (PDF) | Depends on: Edge
      XboxGameCallableUI                    -  Xbox Game Callable UI
    
    Windows Apps
    ============
    
      3DViewer                              -  Mixed Reality Viewer App | Depends on: WindowsMixedReality
      AdvertisingXaml                       -  Advertising Xaml
      Alarms                                -  Alarms & Clock App
      BingWeather                           -  Weather App | Depends on: AdvertisingXaml
      Calculator                            -  Calculator App
      Camera                                -  Camera App
      CommunicationsApps                    -  Windows Calendar & Mail App | Depends on: AdvertisingXaml
      DesktopAppInstaller                   -  Desktop App Installer
      FeedbackHub                           -  Feedback Hub App
      GetHelp                               -  Get Help App
      Getstarted                            -  Tips App
      HEIFImageExtension                    -  High Efficiency Image File (HEIF) format Plugin
      Maps                                  -  Maps App | Depends on: MapControl
      Messaging                             -  Messaging App
      MixedRealityPortal                    -  Mixed Reality Portal App | Depends on: WindowsMixedReality
      OfficeHub                             -  My Office App
      OfficeOneNote                         -  OneNote App
      OneConnect                            -  Mobile Plans App
      Paint3D                               -  Paint 3D App
      People                                -  People App | Depends on: PeopleExperienceHost
      Photos                                -  Photos App
      Print3D                               -  Print 3D App
      ScreenSketch                          -  Screen Sketch App
      SkypeApp                              -  Skype App
      SolitaireCollection                   -  Solitaire Collection App | Depends on: XboxGameCallableUI
      SoundRecorder                         -  Voice Recorder App
      StickyNotes                           -  Sticky Notes App
      VP9VideoExtensions                    -  Google's VP9 WebM Video Codec Plugin
      WalletService                         -  Microsoft Pay App
      WebMediaExtensions                    -  Web Media format Plugin
      WebpImageExtensions                   -  WebP Image format Plugin
      WindowsStore                          -  Microsoft Store App
      XboxApp                               -  Microsoft Xbox App | Depends on: XboxGameCallableUI
      XboxIdentityProvider                  -  Xbox Identity Provider | Depends on: XboxApp
      YourPhone                             -  Your Phone App
      ZuneMusic                             -  Groove Music App
      ZuneVideo                             -  Films & TV App
    
    Group Commands
    ==============
    
      Internet                              -  All Internet Components
      Multimedia                            -  All Multimedia Components
      Privacy                               -  All Privacy Components
      Remoting                              -  All Remoting Components
      System                                -  All System Components
      SystemApps                            -  All System Apps
      WindowsApps                           -  All Windows Apps
      AllComponents                         -  All Components
    
    C:\Toolkit>
    
    Will fix the menu in the next release.

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The component removal for Windows 7 - Windows 10 RS4 has been removed temporarily starting from v8.9, so please do use the older version v8.8 until it's restored back.

    I had put a message to display the same but the if condition failed in the code, I have corrected it in the next build.

     
  9. kosta26

    kosta26 MDL Junior Member

    Jan 1, 2019
    91
    5
    0
    So there is no way to remove, and wait for fixes?
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    No you can remove it's just the ToolKitHelper menu need to be fixed.

    Just type the component name as specified above it gets removed.

     
  11. biatche

    biatche MDL Addicted

    Nov 14, 2009
    573
    144
    30
    Woops, yeah, for some reason, i completely ignored the word "Mount".. which would make sense for it to be the path.
     
  12. ranheta

    ranheta MDL Novice

    Feb 1, 2018
    4
    0
    0
    Good afternoon, I would like to ask for help. It would be possible to tell me how to rename an iso of 8.1 from core to home single language.
     
  13. robymetallaro

    robymetallaro MDL Junior Member

    Aug 17, 2016
    72
    2
    0
    MSMG ToolKit v9.2 works well with Windows 10 Enterprise LTSC RDS5 1809 x64Bit ? I should only remove Windows Features & Search and Windows Defender, I wanted to know if it is stable.
     
  14. kosta26

    kosta26 MDL Junior Member

    Jan 1, 2019
    91
    5
    0
    Can I somehow integrate win32 calculator through .cmd? Analog removal components using ToolHelper.
     
  15. Padre_Pedro

    Padre_Pedro MDL Member

    Mar 8, 2014
    102
    92
    10
    MSMG - 500 mb difference between images (integration of updates in version 9.1 and 9.2!).
    I advise use the old version to integrate updates.
     
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,530
    450
    Can you explain what you actually mean? Updates integration is done by simple dism /add-packages commands, in all MSMG versions.
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,530
    450
    Simple updates integration MSMG Toolkit 9.2
    Code:
    ===============================================================================
                   MSMG ToolKit - Select Source from <DVD> folder
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Selecting Source Images####################################################
    -------------------------------------------------------------------------------
    
    Reading Image Information...
    
    ===============================================================================
    | Index | Arch | Name
    ===============================================================================
    |   1   | x86  | Windows 10 Home
    ===============================================================================
    
    Enter the Image Index # : 1
    
    Do you want to mount Windows Setup Boot Image ? ['Y'es/'N'o] : N
    
    Do you want to mount Windows Recovery Image ? ['Y'es/'N'o] : Y
    
    -------------------------------------------------------------------------------
    ####Source Image Information###################################################
    -------------------------------------------------------------------------------
    
        Image                    :  Install.wim
        Image Index No           :  1
        Image Name               :  Windows 10 Home
        Image Description        :  Windows 10 Home
        Image Architecture       :  x86
        Image Version            :  10.0.17763
        Image Service Pack Build :  1
        Image Service Pack Level :  0
        Image Build              :  17763
        Image Edition            :  Core
        Image Flag               :  Core
        Image Installation Type  :  Client
        Image Default Language   :  en-US
    
    -------------------------------------------------------------------------------
    ####Mounting Source Images#####################################################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Mounting [Install.wim, Index : 1] Image at <\Mount\Install>...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Mounting [WinRE.wim, Index : 1] Image at <\Mount\WinRE>...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Selecting & Mounting Source Images################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    Code:
    ===============================================================================
                       MSMG ToolKit - Integrate Windows Updates
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Integrating Windows Updates#######################################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x86
        Image Version            : 10.0.17763.1.0
        Image Edition            : Core
        Image Default Language   : en-US
    
    -------------------------------------------------------------------------------
    ####Processing Windows Updates Packages########################################
    -------------------------------------------------------------------------------
    
    Creating Windows Updates Packages Temporary folder...
    
    Extracting .CAB Package files to Temporary folder...
    
    Finished Extracting .CAB Package files to Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Integrating Windows Updates################################################
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Image Version: 10.0.17763.1
    
    Processing 1 of 5 - Adding package Package_for_KB4480056~31bf3856ad364e35~x86~~10.0.1.2305
    [==========================100.0%==========================]
    Processing 2 of 5 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~x86~~10.0.1.2353
    [==========================100.0%==========================]
    Processing 3 of 5 - Adding package Package_for_KB4489907~31bf3856ad364e35~x86~~10.0.1.0
    [==========================100.0%==========================]
    Processing 4 of 5 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~17763.402.1.1
    [==========================100.0%==========================]
    Processing 5 of 5 - Adding package Package_for_KB4493510~31bf3856ad364e35~x86~~17763.402.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Generating Windows Updates Integration LOG Files###########################
    -------------------------------------------------------------------------------
    
    Writing Windows Updates Integration Log file...
    
    -------------------------------------------------------------------------------
    ####Cleaning Up Temporary Files & Folders######################################
    -------------------------------------------------------------------------------
    
    Cleaning Up Windows Updates Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Finished Integrating Windows Updates#######################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    This doesn't update the winre.wim.

    Code:
    ===============================================================================
             MSMG ToolKit - Apply & Save Changes to the Source Images
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Applying & Saving Changes to Source Images########################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting Source [WinRE.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Re-Building Source [WinRE.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting Source [Install.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Applying & Saving Changes to Source Images########################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    Install.wim filesize (before rebuilding): 3.44 GB (3,698,136,542 bytes)

    Code:
    ===============================================================================
                          MSMG ToolKit - Re-Build Source Images
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Re-Building Source Images#########################################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Re-Building Source [Boot.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Re-Building Source [Install.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Re-Building Source Images#########################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    Install.wim filesize (after rebuilding): 2.98 GB (3,206,167,882 bytes)

    Install.wim filesize (after rebuilding and wimlib-imagex optimize): 2.95 GB (3,174,677,735 bytes)
     
  18. biatche

    biatche MDL Addicted

    Nov 14, 2009
    573
    144
    30
    so what in specific isnt working with 9.2 + x64?
     
  19. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    762
    556
    30
    @Padre_Pedro:
    Something on your side, there is no such difference when integrating updates with MSMG toolkit 9.2.

    Cheers.
     
  20. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60