Code: MSMG ToolKit Commandline Helper Version: 1.0.1512.0 Usage: ToolKitHelper.exe <path_to_offline_image> <component_name>
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.
- 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.
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.
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.
Woops, yeah, for some reason, i completely ignored the word "Mount".. which would make sense for it to be the path.
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.
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.
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.
Can you explain what you actually mean? Updates integration is done by simple dism /add-packages commands, in all MSMG versions.
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)
@Padre_Pedro: Something on your side, there is no such difference when integrating updates with MSMG toolkit 9.2. Cheers.