1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #22301 inTerActionVRI, Mar 17, 2022
    Last edited: Mar 27, 2022
    @MSMG,

    I am one of the people who always enables NetFX35.

    But through enable features it doesn't work because it is mandatory to specify the .cab package.
    In this case, to avoid the pending on using cleanup source, I think it would be interesting to put IntNetFX35 to be called when finding it in the enable features list as "NetFX3".
    I am also making a universal list, with the conditions of some features for each build.
    This idea came up today when I was testing the final merge and forgot to put the correct list for Windows 11.

    When comparing the lists:
    I saw that from build 17763 to 18363 are the same lists.
    I saw that from build 19041 to 19044 are the same lists.
    And, another for builds equal or above 22000.

    The differences are below.

    I also replaced the line jumps (comments) that start with ; to jump when they start with #. To get the pattern you proposed with the component lists.

    Disable Features
    Code:
               :: Getting Selected Image Index Edition
               call :GetImageEdition "%InstallWim%", %%i >nul
               echo.
               if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================
               if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================
               echo.
               echo.Image Edition   : "!ImageEdition!"
               echo.
               echo.
    
               for /f "eol=# tokens=*" %%z in ('type "%DisableFeaturesList%" 2^>nul') do (
                   if "%ImageBuild%" geq "17763" (
                       if /i "%%z" neq "Microsoft-Windows-Client-EmbeddedExp-Package" if /i "%%z" neq "Microsoft-Windows-NetFx3-OC-Package" if /i "%%z" neq "Microsoft-Windows-NetFx3-WCF-OC-Package" if /i "%%z" neq "Microsoft-Windows-NetFx4-US-OC-Package" if /i "%%z" neq "Microsoft-Windows-NetFx4-WCF-US-OC-Package" if /i "%%z" neq "FaxServicesClientPackage" if /i "%%z" neq "Internet-Explorer-Optional-amd64" if /i "%%z" neq "Windows-Defender-ApplicationGuard" if /i "%%z" neq "SmbDirect" if /i "%%z" neq "ServicesForNFS-ClientOnly" if /i "%%z" neq "ClientForNFS-Infrastructure" if /i "%%z" neq "NFS-Administration" if /i "%%z" neq "Microsoft-Hyper-V" if /i "%%z" neq "Microsoft-Hyper-V-All" if /i "%%z" neq "Microsoft-Hyper-V-Hypervisor" if /i "%%z" neq "Microsoft-Hyper-V-Management-Clients" if /i "%%z" neq "Microsoft-Hyper-V-Management-PowerShell" if /i "%%z" neq "Microsoft-Hyper-V-Services" if /i "%%z" neq "Microsoft-Hyper-V-Tools-All" if /i "%%z" neq "Containers-DisposableClientVM" if /i "%%z" neq "Containers" if /i "%%z" neq "Containers-HNS" if /i "%%z" neq "Containers-SDN" (
                           call :DisableFeature "%InstallMount%\%%i" %%z
                       )
                       if "%ImageBuild%" lss "21996" (
                           if "%ImageBuild%" lss "19041" (
                               if /i "%%z" equ "Microsoft-Windows-Client-EmbeddedExp-Package" call :DisableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx3-OC-Package" call :DisableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx3-WCF-OC-Package" call :DisableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx4-US-OC-Package" call :DisableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx4-WCF-US-OC-Package" call :DisableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "FaxServicesClientPackage" call :DisableFeature "%InstallMount%\%%i" %%z
                           )
                           if "%ImageArchitecture%" neq "x86" if "%ImageArchitecture%" neq "arm" if "%ImageArchitecture%" neq "arm64" (
                               if /i "%%z" equ "Internet-Explorer-Optional-amd64" call :DisableFeature "%InstallMount%\%%i" %%z
                           )
                       )
                       if /i "!ImageEdition!" neq "Core" if /i "!ImageEdition!" neq "CoreN" if /i "!ImageEdition!" neq "CoreSingleLanguage" (
                           if /i "%%z" equ "Windows-Defender-ApplicationGuard" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "SmbDirect" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "ServicesForNFS-ClientOnly" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "ClientForNFS-Infrastructure" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "NFS-Administration" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-All" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Hypervisor" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Management-Clients" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Management-PowerShell" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Services" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Tools-All" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Containers-DisposableClientVM" call :DisableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Containers" call :DisableFeature "%InstallMount%\%%i" %%z
                           if "%ImageBuild%" geq "21996" (
                               if /i "%%z" equ "Containers-HNS" call :DisableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Containers-SDN" call :DisableFeature "%InstallMount%\%%i" %%z
                           )
                       )
                   )
               )
           )
       )
    
    Enable Features
    Here, when I find "NetFX3" in the list, I first call :CleanupSource and then :IntNetFX35 (which already has the code ready to integrate the .cab that is in the source DVD(Toolkit) or InstallMedia(CustomToolkit) folder and enables the functionality.
    Code:
               :: Getting Selected Image Index Edition
               call :GetImageEdition "%InstallWim%", %%i >nul
               echo.
               if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================
               if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================
               echo.
               echo.Image Edition   : "!ImageEdition!"
               echo.
               echo.
    
               for /f "eol=# tokens=*" %%z in ('type "%EnableFeaturesList%" 2^>nul') do (
                   if "%ImageBuild%" geq "17763" (
                       if /i "%%z" neq "NetFX3" if /i "%%z" neq "Microsoft-Windows-Client-EmbeddedExp-Package" if /i "%%z" neq "Microsoft-Windows-NetFx3-OC-Package" if /i "%%z" neq "Microsoft-Windows-NetFx3-WCF-OC-Package" if /i "%%z" neq "Microsoft-Windows-NetFx4-US-OC-Package" if /i "%%z" neq "Microsoft-Windows-NetFx4-WCF-US-OC-Package" if /i "%%z" neq "FaxServicesClientPackage" if /i "%%z" neq "Internet-Explorer-Optional-amd64" if /i "%%z" neq "Windows-Defender-ApplicationGuard" if /i "%%z" neq "SmbDirect" if /i "%%z" neq "ServicesForNFS-ClientOnly" if /i "%%z" neq "ClientForNFS-Infrastructure" if /i "%%z" neq "NFS-Administration" if /i "%%z" neq "Microsoft-Hyper-V" if /i "%%z" neq "Microsoft-Hyper-V-All" if /i "%%z" neq "Microsoft-Hyper-V-Hypervisor" if /i "%%z" neq "Microsoft-Hyper-V-Management-Clients" if /i "%%z" neq "Microsoft-Hyper-V-Management-PowerShell" if /i "%%z" neq "Microsoft-Hyper-V-Services" if /i "%%z" neq "Microsoft-Hyper-V-Tools-All" if /i "%%z" neq "Containers-DisposableClientVM" if /i "%%z" neq "Containers" if /i "%%z" neq "Containers-HNS" if /i "%%z" neq "Containers-SDN" (
                           call :EnableFeature "%InstallMount%\%%i" %%z
                       )
                       if "%ImageBuild%" lss "21996" (
                           if "%ImageBuild%" lss "19041" (
                               if /i "%%z" equ "Microsoft-Windows-Client-EmbeddedExp-Package" call :EnableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx3-OC-Package" call :EnableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx3-WCF-OC-Package" call :EnableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx4-US-OC-Package" call :EnableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Microsoft-Windows-NetFx4-WCF-US-OC-Package" call :EnableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "FaxServicesClientPackage" call :EnableFeature "%InstallMount%\%%i" %%z
                           )
                           if "%ImageArchitecture%" neq "x86" if "%ImageArchitecture%" neq "arm" if "%ImageArchitecture%" neq "arm64" (
                               if /i "%%z" equ "Internet-Explorer-Optional-amd64" call :EnableFeature "%InstallMount%\%%i" %%z
                           )
                       )
                       if /i "!ImageEdition!" neq "Core" if /i "!ImageEdition!" neq "CoreN" if /i "!ImageEdition!" neq "CoreSingleLanguage" (
                           if /i "%%z" equ "Windows-Defender-ApplicationGuard" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "SmbDirect" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "ServicesForNFS-ClientOnly" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "ClientForNFS-Infrastructure" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "NFS-Administration" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-All" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Hypervisor" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Management-Clients" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Management-PowerShell" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Services" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Microsoft-Hyper-V-Tools-All" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Containers-DisposableClientVM" call :EnableFeature "%InstallMount%\%%i" %%z
                           if /i "%%z" equ "Containers" call :EnableFeature "%InstallMount%\%%i" %%z
                           if "%ImageBuild%" geq "21996" (
                               if /i "%%z" equ "Containers-HNS" call :EnableFeature "%InstallMount%\%%i" %%z
                               if /i "%%z" equ "Containers-SDN" call :EnableFeature "%InstallMount%\%%i" %%z
                           )
                       )
                   )
               )
           )
       )
       for /f "eol=# tokens=*" %%z in ('type "%EnableFeaturesList%" 2^>nul') do (
           if "%ImageBuild%" geq "17763" (
               if /i "%%z" equ "NetFX3" (
                   choice /C:NY /N /M "Do you want to Cleanup Source ? ['Y'es/'N'o] : "
                   if errorlevel 2 call :CleanupSource
                   call :IntNetFX35
               )
           )
       )
    
    Code:
    ::-------------------------------------------------------------------------------------------
    :: Function to disable a feature inside a Image
    :: Input Parameters [ %~1 : Image Mount Path, %~2 : Feature Name ]
    ::-------------------------------------------------------------------------------------------
    :DisableFeature
    
    %DISM% /Image:"%~1" /Get-FeatureInfo /FeatureName:%~2 | findstr /c:"State : Disabled" >nul
    if errorlevel 1 (
       echo.-------------------------------------------------------------------------------
       echo.Disabling Windows Feature - [%~2]...
       echo.-------------------------------------------------------------------------------
       %DISM% /Image:%~1 /Disable-Feature /FeatureName:%~2
    ) else (
       echo.Windows Feature - [%~2] has already been disabled.
    )
    echo.
    echo.
    
    goto :EOF
    ::-------------------------------------------------------------------------------------------
    
    ::-------------------------------------------------------------------------------------------
    :: Function to enable a feature inside a Image
    :: Input Parameters [ %~1 : Image Mount Path, %~2 : Feature Name ]
    ::-------------------------------------------------------------------------------------------
    :EnableFeature
    
    %DISM% /Image:"%~1" /Get-FeatureInfo /FeatureName:%~2 | findstr /c:"State : Enabled" >nul
    if errorlevel 1 (
       echo.-------------------------------------------------------------------------------
       echo.Enabling Windows Feature - [%~2]...
       echo.-------------------------------------------------------------------------------
       %DISM% /Image:%~1 /Enable-Feature /FeatureName:%~2
    ) else (
       echo.Windows Feature - [%~2] has already been enabled.
    )
    echo.
    echo.
    
    goto :EOF
    ::-------------------------------------------------------------------------------------------
    
    Added the check whether the Feature is already disabled or enabled.


    And finally...

    Change the position of the Disable and Enable Features options to the final Customize Menu positions, indicating that they should be considered as final Customizations.


    EDIT:

    Adding this to Windows 11 Bypass Hardware Requirements for install.wim, not boot.wim.
    Disable New Watermark Message: "System requirements not met. Go to Settings to learn more."
    Code:
                       rem Disable New Watermark Message: "System requirements not met. Go to Settings to learn more."
                       rem Default REG_DWORD value is "1"
                       reg.exe add "HKLM\TK_NTUSER\Control Panel\UnsupportedHardwareNotificationCache" /v "SV1" /t REG_DWORD /d "0" /f >nul 2>&1
                       reg.exe add "HKLM\TK_NTUSER\Control Panel\UnsupportedHardwareNotificationCache" /v "SV2" /t REG_DWORD /d "0" /f >nul 2>&1
                       reg.exe add "HKLM\TK_DEFAULT\Control Panel\UnsupportedHardwareNotificationCache" /v "SV1" /t REG_DWORD /d "0" /f >nul 2>&1
                       reg.exe add "HKLM\TK_DEFAULT\Control Panel\UnsupportedHardwareNotificationCache" /v "SV2" /t REG_DWORD /d "0" /f >nul 2>&1
    
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Control Panel\UnsupportedHardwareNotificationCache]
    "SV1"=dword:00000000
    "SV2"=dword:00000000
    
    I tried here, but it didn't work with REG_DWORD "2". Works with REG_DWORD "0" for "SV1" and "SV2".
     
  2. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    #22302 GeorgePirkl, Mar 18, 2022
    Last edited: Mar 18, 2022
    im just currious with what new custom and original toolkit come next
     
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Be curious. That's good!
    It is what led me and many others to learn more about programming and scripting.

    The Custom Toolkit is a way, at the time of merge of my mods with the latest MSMG release, to help him, in hunting for small bugs, suggesting some optimization and for learning. So I share it with you.
    The Custom will always come after the Toolkit, since it is based on it.

    There have been times when I had problems so annoying that the Custom came after 2 versions of the Toolkit.
    Maybe this is one of those times.

    I already did the merge, but I'm doing the tests, since I decided to implement other details.

    If everything goes well, I will release it.
    Otherwise, depending on what problems I find here, I will postpone.

    Keep in mind. The MSMG Toolkit is the Official. I only help when I can.
     
  4. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    simply congrats good friend :worthy::hug2:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    Yeah i know custom toolkit its a fork depending on root project aka msmg with somethin extra (somethink like a mozilla and librewolf for example)
     
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #22307 inTerActionVRI, Mar 19, 2022
    Last edited: Mar 19, 2022
    @MSMG,

    if "%ImageFlag%" neq "Core" if "%ImageFlag%" neq "CoreN" if "%ImageFlag%" neq "CoreSingleLanguage" set "C_AssignedAccessLockApp=-"
    This may not work properly, because whenever an Index Core* is present, the empty variable ImageFlag, will be set permanently with the respective Image Edition. So for other Indexes of other Edition names it will not be possible to remove the component.

    Same thing for:
    equ "EnterpriseS"
    equ "EnterpriseSN"

    In short, we have to put a
    call :GetImageEdition "%InstallWim%", %%i >nul
    inside the ToolkitHelper loop
    and create the removal list variable inside the loop.

    will look like this:
    Code:
    cls
    echo.===============================================================================
    echo.                  MSMG ToolKit - Removing Windows Components
    echo.===============================================================================
    echo.
    
    :: Getting Install Image Index Architecture
    call :GetImageArchitecture "%InstallWim%", %DefaultIndexNo% >nul
    
    set /A ComponentsCount=0
    for %%i in (C_AdobeFlashForWindows,C_EdgeChromium,C_InternetExplorer,C_FirstLogonAnimation,C_GameExplorer,C_SnippingTool,C_SpeechRecognition,C_WindowsMediaPlayer,C_WindowsPhotoViewer,C_WindowsTIFFIFilter,C_WinSAT,C_OfflineFiles,C_OpenSSH,C_RemoteDesktopClient,C_RemoteDifferentialCompression,C_SimpleTCPIPServices,C_TelnetClient,C_TFTPClient,C_AssignedAccess,C_CEIP,C_FaceRecognition,C_KernelDebugging,C_LocationService,C_PicturePassword,C_PinEnrollment,C_UnifiedTelemetryClient,C_WiFiNetworkManager,C_WindowsErrorReporting,C_WindowsInsiderHub,C_HomeGroup,C_MultiPointConnector,C_OneDrive,C_RemoteAssistance,C_RemoteDesktopServer,C_RemoteRegistry,C_WorkFoldersClient,C_Calculator,C_DeviceLockdown,C_EaseOfAccessThemes,C_EasyTransfer,C_FileHistory,C_ManualSetup,C_Notepad,C_Paint,C_ProjFS,C_SecurityCenter,C_StepsRecorder,C_StorageSpaces,C_SystemRestore,C_WindowsBackup,C_WindowsFirewall,C_WindowsSubsystemForLinux,C_WindowsToGo,C_Wordpad,C_AADBrokerPlugin,C_AccountsControl,C_AddSuggestedFoldersToLibraryDialog,C_AppResolverUX,C_AssignedAccessLockApp,C_AsyncTextService,C_BioEnrollment,C_CallingShellApp,C_CapturePicker,C_CBSPreview,C_ContentDeliveryManager,C_Cortana,C_CredDialogHost,C_ECApp,C_Edge,C_EdgeDevToolsClient,C_FileExplorer,C_FilePicker,C_LockApp,C_MapControl,C_NarratorQuickStart,C_NcsiUwpApp,C_OOBENetworkCaptivePortal,C_OOBENetworkConnectionFlow,C_ParentalControls,C_PeopleExperienceHost,C_PinningConfirmationDialog,C_PrintDialog,C_PPIProjection,C_QuickAssist,C_RetailDemoContent,C_SearchApp,C_SecureAssessmentBrowser,C_SettingSync,C_SkypeORTC,C_SmartScreen,C_Win32WebViewHost,C_WindowsDefender,C_WindowsMixedReality,C_WindowsReaderPDF,C_WindowsStoreClient,C_XboxClient,C_XboxGameCallableUI,C_XGpuEjectDialog,C_3DViewer,C_AdvertisingXaml,C_Alarms,C_BingNews,C_BingWeather,C_CalculatorApp,C_Camera,C_ClientWebExperience,C_CommunicationsApps,C_DesktopAppInstaller,C_FeedbackHub,C_GamingApp,C_GetHelp,C_Getstarted,C_HEIFImageExtension,C_Maps,C_Messaging,C_MixedRealityPortal,C_NotepadApp,C_OfficeHub,C_OfficeOneNote,C_OneConnect,C_Paint3D,C_People,C_Photos,C_PowerAutomateDesktop,C_Print3D,C_ScreenSketch,C_ServicesStoreEngagement,C_SkypeApp,C_SolitaireCollection,C_SoundRecorder,C_StickyNotes,C_StorePurchaseApp,C_Terminal,C_Todos,C_VP9VideoExtensions,C_WalletService,C_WebMediaExtensions,C_WebpImageExtension,C_WindowsStoreApp,C_XboxApp,C_XboxGameOverlay,C_XboxGamingOverlay,C_XboxIdentityProvider,C_XboxSpeechToTextOverlay,C_XboxTCUI,C_YourPhone,C_ZuneMusic,C_ZuneVideo) do (
       if "%%i" neq "C_ManualSetup" if "%%i" neq "C_WindowsFirewall" if "!%%i!" equ "-" (
           set /A ComponentsCount+=1
       )
    )
    
    if !ComponentsCount! equ 0 if "!C_ManualSetup!" equ "+" (
       echo.No Windows Components have been selected for removal...
       goto :Stop
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Starting Removing Windows Components#######################################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.    Image                    : Install.wim
    echo.    Image Index              : %ImageIndexNo%
    echo.    Image Architecture       : %ImageArchitecture%
    echo.    Image Version            : %ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Removing Windows Components################################################
    echo.-------------------------------------------------------------------------------
    
    if !ComponentsCount! gtr 0 (
       for %%i in (%DefaultIndexNo%) do (
           if exist "%InstallMount%\%%i" (
               :: Getting Image Index Edition
               call :GetImageEdition "%InstallWim%", %%i >nul
               echo.
               if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================
               if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================
               echo.
               echo.Image Edition   : "!ImageEdition!"
               echo.
               echo.
    
               :: Check if the selected component can be removed for this Image Edition
               for %%j in (AssignedAccessLockApp,Calculator,PPIProjection,Edge,OneDrive,SecureAssessmentBrowser,AdvertisingXaml,Alarms,CalculatorApp,Camera,VP9VideoExtensions,HEIFImageExtension,WebMediaExtensions,WebpImageExtension,DesktopAppInstaller,FeedbackHub,GetHelp,ZuneMusic,ZuneVideo,Maps,Messaging,WalletService,MixedRealityPortal,3DViewer,OneConnect,OfficeHub,BingNews,NotepadApp,OfficeOneNote,Paint3D,People,Photos,PowerAutomateDesktop,Print3D,ServicesStoreEngagement,SkypeApp,ScreenSketch,SolitaireCollection,StickyNotes,StorePurchaseApp,Terminal,Getstarted,Todos,SoundRecorder,BingWeather,ClientWebExperience,CommunicationsApps,WindowsStoreApp,XboxApp,GamingApp,XboxGamingOverlay,XboxGameOverlay,XboxIdentityProvider,XboxSpeechToTextOverlay,XboxTCUI,YourPhone) do (
                   if "!C_%%j!" equ "-" (
                       if "%%j" equ "AssignedAccessLockApp" (
                           if "!ImageEdition!" equ "Core" set "R_%%j=1"
                           if "!ImageEdition!" equ "CoreN" set "R_%%j=1"
                           if "!ImageEdition!" equ "CoreSingleLanguage" set "R_%%j=1"
                       )
                       if "%%j" equ "Calculator" (
                           if "!ImageEdition!" neq "EnterpriseS" set "R_%%j=1"
                           if "!ImageEdition!" neq "EnterpriseSN" set "R_%%j=1"
                       )
                       if "%%j" neq "AssignedAccessLockApp" if "%%j" neq "Calculator" (
                           if "!ImageEdition!" equ "EnterpriseS" set "R_%%j=1"
                           if "!ImageEdition!" equ "EnterpriseSN" set "R_%%j=1"
                       )
                   )
               )
    
               :: Creating the "Components List" Variable for the ToolkitHelper to start removal.
               set Components=
               for %%j in (AdobeFlashForWindows,EdgeChromium,InternetExplorer,FirstLogonAnimation,GameExplorer,SnippingTool,SpeechRecognition,WindowsMediaPlayer,WindowsPhotoViewer,WindowsTIFFIFilter,WinSAT,OfflineFiles,OpenSSH,RemoteDesktopClient,RemoteDifferentialCompression,SimpleTCPIPServices,TelnetClient,TFTPClient,AssignedAccess,CEIP,FaceRecognition,KernelDebugging,LocationService,PicturePassword,PinEnrollment,UnifiedTelemetryClient,WiFiNetworkManager,WindowsErrorReporting,WindowsInsiderHub,HomeGroup,MultiPointConnector,OneDrive,RemoteAssistance,RemoteDesktopServer,RemoteRegistry,WorkFoldersClient,Calculator,DeviceLockdown,EaseOfAccessThemes,EasyTransfer,FileHistory,ManualSetup,Notepad,Paint,ProjFS,SecurityCenter,StepsRecorder,StorageSpaces,SystemRestore,WindowsBackup,WindowsFirewall,WindowsSubsystemForLinux,WindowsToGo,Wordpad,AADBrokerPlugin,AccountsControl,AddSuggestedFoldersToLibraryDialog,AppResolverUX,AssignedAccessLockApp,AsyncTextService,BioEnrollment,CallingShellApp,CapturePicker,CBSPreview,ContentDeliveryManager,Cortana,CredDialogHost,ECApp,Edge,EdgeDevToolsClient,FileExplorer,FilePicker,LockApp,MapControl,NarratorQuickStart,NcsiUwpApp,OOBENetworkCaptivePortal,OOBENetworkConnectionFlow,ParentalControls,PeopleExperienceHost,PinningConfirmationDialog,PrintDialog,PPIProjection,QuickAssist,RetailDemoContent,SearchApp,SecureAssessmentBrowser,SettingSync,SkypeORTC,SmartScreen,Win32WebViewHost,WindowsDefender,WindowsMixedReality,WindowsReaderPDF,WindowsStoreClient,XboxClient,XboxGameCallableUI,XGpuEjectDialog,3DViewer,AdvertisingXaml,Alarms,BingNews,BingWeather,CalculatorApp,Camera,ClientWebExperience,CommunicationsApps,DesktopAppInstaller,FeedbackHub,GamingApp,GetHelp,Getstarted,HEIFImageExtension,Maps,Messaging,MixedRealityPortal,NotepadApp,OfficeHub,OfficeOneNote,OneConnect,Paint3D,People,Photos,PowerAutomateDesktop,Print3D,ScreenSketch,ServicesStoreEngagement,SkypeApp,SolitaireCollection,SoundRecorder,StickyNotes,StorePurchaseApp,Terminal,Todos,VP9VideoExtensions,WalletService,WebMediaExtensions,WebpImageExtension,WindowsStoreApp,XboxApp,XboxGameOverlay,XboxGamingOverlay,XboxIdentityProvider,XboxSpeechToTextOverlay,XboxTCUI,YourPhone,ZuneMusic,ZuneVideo) do (
                   if "%%j" neq "ManualSetup" if "%%j" neq "WindowsFirewall" if "!C_%%j!" equ "-" if "!R_%%j!" neq "1" (
                       set "Components=!Components!;%%j"
                   )
               )
               set "Components=!Components:~1!"
    
               :: Removing Windows Components
               echo.-------------------------------------------------------------------------------
               echo.Removing the Chosen Component^(s^) Package^(s^)...
               echo.-------------------------------------------------------------------------------
               echo.
               %ToolKitHelper% "%InstallMount%\%%i" "%Components%"
    
               if "%C_EdgeChromium%" equ "-" (
                   call :RemoveFolder "%InstallMount%\%%i\ProgramFiles\Microsoft\EdgeUpdate"
                   if "%ImageArchitecture%" neq "x86" if "%ImageArchitecture%" neq "arm" call :RemoveFolder "%InstallMount%\%%i\ProgramFiles(x86)\Microsoft\EdgeUpdate"
               )
    
               :: Restore User Option for Next Loop
               for %%j in (AssignedAccessLockApp,Calculator,PPIProjection,Edge,OneDrive,SecureAssessmentBrowser,AdvertisingXaml,Alarms,CalculatorApp,Camera,VP9VideoExtensions,HEIFImageExtension,WebMediaExtensions,WebpImageExtension,DesktopAppInstaller,FeedbackHub,GetHelp,ZuneMusic,ZuneVideo,Maps,Messaging,WalletService,MixedRealityPortal,3DViewer,OneConnect,OfficeHub,BingNews,NotepadApp,OfficeOneNote,Paint3D,People,Photos,PowerAutomateDesktop,Print3D,ServicesStoreEngagement,SkypeApp,ScreenSketch,SolitaireCollection,StickyNotes,StorePurchaseApp,Terminal,Getstarted,Todos,SoundRecorder,BingWeather,ClientWebExperience,CommunicationsApps,WindowsStoreApp,XboxApp,GamingApp,XboxGamingOverlay,XboxGameOverlay,XboxIdentityProvider,XboxSpeechToTextOverlay,XboxTCUI,YourPhone) do (
                   if "!C_%%j!" equ "-" if "!R_%%j!" equ "1" (
                       set "R_%%j=0"
                   )
               )
    
               echo.
           )
       )
    )
    
    if "%C_ManualSetup%" equ "-" (
       echo.
       %ToolKitHelper% "%InstallMount%\%DefaultIndexNo%" "ManualSetup"
       echo.
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Finished Removing Windows Components#######################################
    echo.-------------------------------------------------------------------------------
    
    :Stop
    
    EDIT: I just remembered the addition of the Win32 Calculator Component, and remembered that these conditions should also apply for all components in the Remove Windows Apps Menu.
    So, it is now fixed.
     
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    I did a test without overwriting the Components variable.
    So in the Core Edition loop all components except "AssignedAccessLockApp" were added.
    Since the variable was not deleted, in the Professional Edition loop all components were added again, along with the Core components.
    Thus, it is visible that all components were removed In the Core sequence, and then in the Professional Edition loop, the sequence of already removed components and the removal of the "AssignedAccessLockApp" Component appears.
    Code:
    ===============================================================================
                      MSMG Toolkit - Removing Windows Components
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components#######################################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1;2
        Image Architecture       : x64
        Image Version            : 10.0.19044.1618.0
    
    -------------------------------------------------------------------------------
    ####Removing Windows Components################################################
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    Image Edition   : "Core"
    
    
    -------------------------------------------------------------------------------
    Removing the Chosen Component(s) Package(s)...
    -------------------------------------------------------------------------------
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.5832.0
    
    Image Version: 10.0.19044.1618
    
    
    Component : EdgeChromium
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : InternetExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FirstLogonAnimation
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GameExplorer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SnippingTool
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SpeechRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMediaPlayer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsPhotoViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WinSAT
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsTIFFIFilter
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfflineFiles
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OpenSSH
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteDesktopClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteDifferentialCompression
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SimpleTCPIPServices
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : TelnetClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : TFTPClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AssignedAccess, not found...
    
    Component : CEIP
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FaceRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : KernelDebugging
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LocationService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PicturePassword
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PinEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : UnifiedTelemetryClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WiFiNetworkManager
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsErrorReporting
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsInsiderHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HomeGroup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OneDrive
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MultiPointConnector
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteAssistance
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteDesktopServer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteRegistry
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WorkFoldersClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DeviceLockdown
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EaseOfAccessThemes
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EasyTransfer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileHistory
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Notepad
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ProjFS
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SecurityCenter
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StepsRecorder
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StorageSpaces
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SystemRestore
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsBackup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsFirewall
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsSubsystemForLinux
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Wordpad
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Cortana
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AccountsControl
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AddSuggestedFoldersToLibraryDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AppResolverUX
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AsyncTextService
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AADBrokerPlugin
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CallingShellApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CBSPreview
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CapturePicker
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CredDialogHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Edge
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EdgeDevToolsClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsReaderPDF
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ECApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FilePicker
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LockApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MapControl
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XGpuEjectDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : NarratorQuickStart
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : NcsiUwpApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OOBENetworkCaptivePortal
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OOBENetworkConnectionFlow
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ParentalControls
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PeopleExperienceHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    
    Component : PrintDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : QuickAssist
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RetailDemoContent
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SearchApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SettingSync
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeORTC
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SmartScreen
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    
    Component : Win32WebViewHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsDefender
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BioEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMixedReality
    
    Removing Package files...
    Modifying Package Registry...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStoreClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameCallableUI
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AdvertisingXaml
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Alarms
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CalculatorApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Camera
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : VP9VideoExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HEIFImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebMediaExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebpImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DesktopAppInstaller
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FeedbackHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GetHelp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneMusic
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneVideo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Maps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WalletService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MixedRealityPortal
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : 3DViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeOneNote
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint3D
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : People
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Photos
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ServicesStoreEngagement
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ScreenSketch
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SolitaireCollection
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StickyNotes
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StorePurchaseApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Getstarted
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SoundRecorder
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BingWeather
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CommunicationsApps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStoreApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGamingOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxIdentityProvider
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxSpeechToTextOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxTCUI
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : YourPhone
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    
    ===========================[Install.wim, Index : 2]============================
    
    Image Edition   : "Professional"
    
    
    -------------------------------------------------------------------------------
    Removing the Chosen Component(s) Package(s)...
    -------------------------------------------------------------------------------
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.5832.0
    
    Image Version: 10.0.19044.1618
    
    
    Component : EdgeChromium
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : InternetExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FirstLogonAnimation
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GameExplorer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SnippingTool
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SpeechRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMediaPlayer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsPhotoViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WinSAT
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsTIFFIFilter
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfflineFiles
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OpenSSH
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteDesktopClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteDifferentialCompression
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SimpleTCPIPServices
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : TelnetClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : TFTPClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AssignedAccess
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CEIP
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FaceRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : KernelDebugging
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LocationService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PicturePassword
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PinEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : UnifiedTelemetryClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WiFiNetworkManager
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsErrorReporting
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsInsiderHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HomeGroup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OneDrive
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MultiPointConnector
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteAssistance
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteDesktopServer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteRegistry
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WorkFoldersClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DeviceLockdown
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EaseOfAccessThemes
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EasyTransfer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileHistory
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Notepad
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ProjFS
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SecurityCenter
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StepsRecorder
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StorageSpaces
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SystemRestore
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsBackup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsFirewall
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsSubsystemForLinux
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Wordpad
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Cortana
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AccountsControl
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AddSuggestedFoldersToLibraryDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AppResolverUX
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AsyncTextService
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AADBrokerPlugin
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CallingShellApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CBSPreview
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CapturePicker
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CredDialogHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Edge
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EdgeDevToolsClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsReaderPDF
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ECApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FilePicker
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LockApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MapControl
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XGpuEjectDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : NarratorQuickStart
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : NcsiUwpApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OOBENetworkCaptivePortal
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OOBENetworkConnectionFlow
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ParentalControls
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PeopleExperienceHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    
    Component : PrintDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : QuickAssist
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RetailDemoContent
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SearchApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SettingSync
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeORTC
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SmartScreen
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SecureAssessmentBrowser
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Win32WebViewHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsDefender
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BioEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMixedReality
    
    Removing Package files...
    Modifying Package Registry...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStoreClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameCallableUI
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AdvertisingXaml
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Alarms
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CalculatorApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Camera
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : VP9VideoExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HEIFImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebMediaExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebpImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DesktopAppInstaller
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FeedbackHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GetHelp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneMusic
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneVideo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Maps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WalletService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MixedRealityPortal
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : 3DViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeOneNote
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint3D
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : People
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Photos
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ServicesStoreEngagement
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ScreenSketch
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SolitaireCollection
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StickyNotes
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StorePurchaseApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Getstarted
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SoundRecorder
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BingWeather
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CommunicationsApps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStoreApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGamingOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxIdentityProvider
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxSpeechToTextOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxTCUI
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : YourPhone
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    
    Component : EdgeChromium, not found...
    
    Component : InternetExplorer, not found...
    
    Component : FirstLogonAnimation, not found...
    
    Component : GameExplorer, not found...
    
    Component : SnippingTool, not found...
    
    Component : SpeechRecognition, not found...
    
    Component : WindowsMediaPlayer, not found...
    
    Component : WindowsPhotoViewer, not found...
    
    Component : WinSAT, not found...
    
    Component : WindowsTIFFIFilter, not found...
    
    Component : OfflineFiles, not found...
    
    Component : OpenSSH, not found...
    
    Component : RemoteDesktopClient, not found...
    
    Component : RemoteDifferentialCompression, not found...
    
    Component : SimpleTCPIPServices, not found...
    
    Component : TelnetClient, not found...
    
    Component : TFTPClient, not found...
    
    Component : AssignedAccess, not found...
    
    Component : CEIP, not found...
    
    Component : FaceRecognition, not found...
    
    Component : KernelDebugging, not found...
    
    Component : LocationService, not found...
    
    Component : PicturePassword, not found...
    
    Component : PinEnrollment, not found...
    
    Component : UnifiedTelemetryClient, not found...
    
    Component : WiFiNetworkManager, not found...
    
    Component : WindowsErrorReporting, not found...
    
    Component : WindowsInsiderHub, not found...
    
    Component : HomeGroup, not found...
    
    Component : OneDrive, not found...
    
    Component : MultiPointConnector, not found...
    
    Component : RemoteAssistance, not found...
    
    Component : RemoteDesktopServer, not found...
    
    Component : RemoteRegistry, not found...
    
    Component : WorkFoldersClient, not found...
    
    Component : DeviceLockdown, not found...
    
    Component : EaseOfAccessThemes, not found...
    
    Component : EasyTransfer, not found...
    
    Component : FileHistory, not found...
    
    Component : Notepad, not found...
    
    Component : ProjFS, not found...
    
    Component : SecurityCenter, not found...
    
    Component : StepsRecorder, not found...
    
    Component : StorageSpaces, not found...
    
    Component : SystemRestore, not found...
    
    Component : WindowsBackup, not found...
    
    Component : WindowsFirewall, not found...
    
    Component : WindowsSubsystemForLinux, not found...
    
    Component : Wordpad, not found...
    
    Component : Paint, not found...
    
    Component : Cortana, not found...
    
    Component : AccountsControl, not found...
    
    Component : AddSuggestedFoldersToLibraryDialog, not found...
    
    Component : AppResolverUX, not found...
    
    Component : AssignedAccessLockApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AsyncTextService, not found...
    
    Component : AADBrokerPlugin, not found...
    
    Component : CallingShellApp, not found...
    
    Component : CBSPreview, not found...
    
    Component : CapturePicker, not found...
    
    Component : CredDialogHost, not found...
    
    Component : Edge, not found...
    
    Component : EdgeDevToolsClient, not found...
    
    Component : WindowsReaderPDF, not found...
    
    Component : ECApp, not found...
    
    Component : FileExplorer, not found...
    
    Component : FilePicker, not found...
    
    Component : LockApp, not found...
    
    Component : MapControl, not found...
    
    Component : XGpuEjectDialog, not found...
    
    Component : NarratorQuickStart, not found...
    
    Component : NcsiUwpApp, not found...
    
    Component : OOBENetworkCaptivePortal, not found...
    
    Component : OOBENetworkConnectionFlow, not found...
    
    Component : ParentalControls, not found...
    
    Component : PeopleExperienceHost, not found...
    
    
    Component : PrintDialog, not found...
    
    Component : QuickAssist, not found...
    
    Component : RetailDemoContent, not found...
    
    Component : SearchApp, not found...
    
    Component : SettingSync, not found...
    
    Component : SkypeORTC, not found...
    
    Component : SmartScreen, not found...
    
    Component : SecureAssessmentBrowser, not found...
    
    Component : Win32WebViewHost, not found...
    
    Component : WindowsDefender, not found...
    
    Component : BioEnrollment, not found...
    
    Component : WindowsMixedReality, not found...
    
    Component : WindowsStoreClient, not found...
    
    Component : XboxClient, not found...
    
    Component : XboxGameCallableUI, not found...
    
    Component : AdvertisingXaml, not found...
    
    Component : Alarms, not found...
    
    Component : CalculatorApp, not found...
    
    Component : Camera, not found...
    
    Component : VP9VideoExtensions, not found...
    
    Component : HEIFImageExtension, not found...
    
    Component : WebMediaExtensions, not found...
    
    Component : WebpImageExtension, not found...
    
    Component : DesktopAppInstaller, not found...
    
    Component : FeedbackHub, not found...
    
    Component : GetHelp, not found...
    
    Component : ZuneMusic, not found...
    
    Component : ZuneVideo, not found...
    
    Component : Maps, not found...
    
    Component : WalletService, not found...
    
    Component : MixedRealityPortal, not found...
    
    Component : 3DViewer, not found...
    
    Component : OfficeHub, not found...
    
    Component : OfficeOneNote, not found...
    
    Component : Paint3D, not found...
    
    Component : People, not found...
    
    Component : Photos, not found...
    
    Component : ServicesStoreEngagement, not found...
    
    Component : SkypeApp, not found...
    
    Component : ScreenSketch, not found...
    
    Component : SolitaireCollection, not found...
    
    Component : StickyNotes, not found...
    
    Component : StorePurchaseApp, not found...
    
    Component : Getstarted, not found...
    
    Component : SoundRecorder, not found...
    
    Component : BingWeather, not found...
    
    Component : CommunicationsApps, not found...
    
    Component : WindowsStoreApp, not found...
    
    Component : XboxApp, not found...
    
    Component : XboxGamingOverlay, not found...
    
    Component : XboxGameOverlay, not found...
    
    Component : XboxIdentityProvider, not found...
    
    Component : XboxSpeechToTextOverlay, not found...
    
    Component : XboxTCUI, not found...
    
    Component : YourPhone, not found...
    
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.5832.0
    
    Image Version: 10.0.19044.1618
    
    Component : ManualSetup
    
    Removing Package files...
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components#######################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
     
  8. GreenGremlin

    GreenGremlin MDL Novice

    Jul 4, 2010
    23
    16
    0
    I was trying to integrate NetFX48 to Windows 10 Enterprise LTSC 2019. Used the original MS KB as suggested by Toolkit version 12.1.
    The integration went fine, but installation of Cumulative Update for .NET Framework fails with error 0x80092004.
    The same error appears wether it is Windows Update process, or KB integration using Toolkit, or manual patch installation.
    Is there any working method to integrate NetFX48 with updates working?
     
  9. MatePonczas

    MatePonczas MDL Novice

    Nov 21, 2015
    36
    10
    0
    Hi all.
    First of all, I would like to sorry for misunderstanding.
    I have two questions:
    1. Can some one write down all language pack dependencies which must be pasted to all appropriate folders, like da rt, winre, etc? I mean language packs file names. Maybe the required dependencies list is available somewhere, but, unfortunately, I didn't found any of it anywhere.
    2. I would like to change whole language pack on windows 11 23000, but at the windows kernel / core / system level. Telling core / system / kernel level I mean the windows upgrade language. For instance, I have two languages installed: swedish and polish. Swedish is set as default language, but toolkit displays my windows architecture as PL-PL. So what can I do to remove completely polish language pack if I have installed Windows 10 from the polish ISO and then upgraded the Windows 10 copy to windows 11 using polish windows 11 setup? I would like to remove polish and upgrade windows from the swedish setup.
    Sorry for a very long post, but I couldn't explain it in any other, understandable way.
     
  10. shyamsundarsoni

    shyamsundarsoni MDL Novice

    Jan 15, 2012
    16
    13
    0
    Hello MSMG,
    Thanks for Updated Version 12.1
    While working with Toolkit Script for Windows Server 2022, I come across some typing mistakes, which may not be, but let you make sure about them.
    1) on line 3467, we have,
    if "%SelectedSourceOS%" neq "w7" if "%SelectedSourceOS%" neq "w81" if "%ImageInstallationType:~,6%" neq "Server"
    the marked neq should be replaced by equ for testing cab files for Server
    2) on line 3484, we have,
    if "%SelectedSourceOS%" neq "w7" if "%SelectedSourceOS%" neq "w81" if "%ImageInstallationType:~,6%" neq "Server" if not exist "%BootMount%\2\Windows\servicing\Packages\WinPE-Setup-Package~31bf3856ad364e35~%PackageArchitecture%~~%PackageVersion%.%PackageServicePackBuild%.cab"
    the marked if should not be there,
    3) online 7371, we must correct -Server- word with -Client- for OpenSSH package

    4) Microsoft.RawImageExtension_8wekyb3d8bbwe.xml is not present in Toolkit's Bin\AppLicense folder.

    Please have a look & do the needful. Thanks for your kind support.
     
  11. GreenGremlin

    GreenGremlin MDL Novice

    Jul 4, 2010
    23
    16
    0
    Thanks for your advice. Have you tried it yourself?
    As far as I can see, there are no any special packs for Windows 10.
     
  12. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Very nice your bug hunting.

    About this license: the variable for this and some others, are in the code, but since there is currently no oem license available, the installation is being done with /SkipLicense.

    If you look for /SkipLicense, in the code you will see what the other components are.
     
  13. RafhaCorreia

    RafhaCorreia MDL Novice

    Aug 14, 2015
    16
    4
    0
    #22316 RafhaCorreia, Mar 20, 2022
    Last edited: Mar 21, 2022
    I tested it with Toolkit_v12.1 toolkit, it completes successfully but shows an error after installing windows enabling mediaplayer and photoviewer skin metro

    ----EDIT 1----

    In the Toolkit_v12.0 version it works normally for the same .iso
    So 12.1 has this problem??

    ----EDIT 2----

    The file I downloaded I don't remember the source was in error. I downloaded it again from another source (zero cool root) and it worked just fine. Excuse me. Thanks.
     
  14. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    About the Skins, nothing has changed for the new version. That is not what would be causing you problems.
    It must be the removal of some extra component that you decided to remove in 12.1.

    There must be a way to do it via tweaks, but I have never found it.
    Only, after installation, or during the end of the installation via SetupComplete.cmd.
    you will have to add a bcdedit command for F8 safe mod.

    Enable F8
    Code:
    BDCEdit.exe /set {default} bootmenupolicy legacy
    
    Restore to default/standard
    Code:
    BDCEdit.exe /set {default} bootmenupolicy standard
    
     
  15. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    Its maybe stupid to ask but how was test of custom toolkit ? Will be still unlocked to any windows version ( last one i was use to modiffe insidee iso last give me remove option to 22449 ... will be possible give it try with 22h2 ... thank you for answer /response
     
  16. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    @MSMG

    Are there "EnterpriseS" and "EnterpriseSN" Editions for the "18362" and "18363" builds?

    If yes. Are the "Edge", "OneDrive" and "SecureAssessmentBrowser" components present in the "EnterpriseS" and "EnterpriseSN" Editions for the mentioned builds?

    These are interesting examples, which caught my attention when doing the automatic menu generation scheme, because as conditions that prevent a removal attempt for these Editions are not applied for builds "18362" and "18363".
    Is this correct?
     
  17. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #22320 inTerActionVRI, Mar 22, 2022
    Last edited: Mar 22, 2022
    Yes, considering unsupported builds, I leave that unlocked by default in Custom, so everyone can use the removal menus.
    Remembering that the recommendation is "this is for testing only."

    MSMG leaves, for builds not supported by ToolkitHelper, the menus locked and the lists unlocked. And the recommendation is to use the removal list per DISM command list. Considering unsupported builds in the Toolkit, the ToolkitHelper list is also for testing only.

    I will add a Warning for Builds and Service Pack Builds above the supported ones. So people use at their own risk, or for testing purposes and, aware of the facts. Also withhold Service Pack Builds from the image before a WHD update so that this Warning will not appear in the removal menu.

    I am on a journey to find out which reg tweak is breaking W11 wifi, sound, battery and calendar taskbar icons left click function.
    After that I release Custom.