1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Ok check and fix it.

     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Fixed it by removing double quotes in the statement if "%ImageServicePackBuild%" lss "418" and now it works.

    Just use the if %ImageServicePackBuild% lss 418, for numbers comparisons don't use double quotes like strings.

    Code:
    ===============================================================================
                      MSMG ToolKit - Removing Windows Components
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components#######################################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x64
        Image Version            : 10.0.18363.1049.0
        Image Edition            : Professional
        Image Default Language   : en-US
    
    -------------------------------------------------------------------------------
    ####Removing Windows Components################################################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Removing Windows Defender App Package...
    -------------------------------------------------------------------------------
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.3564.0
    
    Image Version: 10.0.18363.1049
    
    Component : WindowsDefender
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components#######################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
     
  3. jahike

    jahike MDL Novice

    Oct 30, 2017
    28
    5
    0
  4. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #16224 inTerActionVRI, Aug 28, 2020
    Last edited: Aug 28, 2020
    Code:
    :: Checking whether the selected Source OS is a Windows 10 v1809 Client Non-refreshed Image
    if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" equ "17763" if %ImageServicePackBuild% neq 1 (
       echo.ToolKit component removal only work with the below Source OS Images...
       echo.
       echo.Windows 10 v1809 ^(10.0.17763.1^) Source OS.
       goto :Stop
    )
    
    :: Checking whether the selected Source OS is a Windows 10 v1903 Client Edition
    if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" equ "18362" if %ImageServicePackBuild% lss 30 (
       echo.ToolKit component removal only work with the below Source OS Images...
       echo.
       echo.Windows 10 v1903 ^(10.0.18362.30^) Source OS.
       goto :Stop
    )
    
    :: Checking whether the selected Source OS is a Windows 10 v1909 Client Edition
    if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" equ "18363" if %ImageServicePackBuild% lss 418 (
       echo.ToolKit component removal only work with the below Source OS Images...
       echo.
       echo.Windows 10 v1909 ^(10.0.18363.418^) Source OS.
       goto :Stop
    )
    
    :: Checking whether the selected Source OS is a Windows 10 v2004 Client Edition
    if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" equ "19041" if %ImageServicePackBuild% lss 208 (
       echo.ToolKit component removal only work with the below Source OS Images...
       echo.
       echo.Windows 10 v2004 ^(10.0.19041.208^) Source OS.
       goto :Stop
    )
    
    :: Checking whether the selected Source OS is a Windows 10 v2009 Client Edition
    if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" equ "19042" if %ImageServicePackBuild% lss 208 (
       echo.ToolKit component removal only work with the below Source OS Images...
       echo.
       echo.Windows 10 v2009 ^(10.0.19042.208^) Source OS.
       goto :Stop
    )
    
    As suggested by @MSMG, new correction and Custom Toolkit v2 for today.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2020-08-28_v2 updated file in the post above.


    Now, with @MSMG suggestions, the removal menu doesn't show there options for ISO sources integrated with new cumulative or feature updates, is fixed.
    ex:
    18362.1016
    18363.1016

    Merged with new MSMG Toolkit 10.3

    Added: Show info in Source Menu when you have already selected your source.

    Merged with new Toolkit 10.2


    Some improvments:

    When you selected any option to remove all components and decided to return by answering "no" for some reason. You would always return to the Main Menu. In the Custom Toolkit when you answer "no" you are returned to the menu you were in.

    In previous Custom Toolkits I couldn't see a way to maintain the Original "Apply Tweaks Menu" without increasing the code size.

    But thanks to the changes that @MSMG made in the new version, it opened my eyes and I managed to put both menus. The original "Apply Tweaks Menu" back and the "Custom Apply Tweaks Menu".

    The problem was that when deciding to apply a tweak individually, fall into the system of applying all tweaks by answering questions. But now this is fixed.

    There was an error with an extra quote in the Edge removal lines, for some Custom Removal to make Specific Editions. First I thought about correcting it just by removing the extra quote. But I changed my mind and simply put it to remove the Edge directly on the command line to remove multiple components at once.

    I decided to make some changes mainly in the "Gamer Edition" (more components removed that can be added through the Windows Store), so I made changes in the other "Custom Editions" as well. But not in the "Accessibility Edition".

    I put some pauses in the custom integration steps "Integrate Custom Selection 8 7 6 5" so that you can see what happens.

    Fixed a registry error in my custom tweaks and added suggestions for use in the Windows Store, automatic installations in silent mode disabled. Autodownload - Update for installed apps enabled

    Code:
    ...
           if "%Component%" equ "PrivacyComponents" (
               %ToolKitHelper% "%InstallMount%\%%i" AssignedAccess;CEIP_SQM;FaceRecognition;KernelDebugging;LocationService;PicturePassword;PinEnrollment;UnifiedTelemetryClient;WiFiNetworkManager;WindowsInsiderHub
               if "%ImageBuild%" equ "17763" %ToolKitHelper% "%InstallMount%\%%i" WindowsErrorReporting
               if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "18363" %ToolKitHelper% "%InstallMount%\%%i" WindowsErrorReporting
               if "%ImageBuild%" equ "19041" %ToolKitHelper% "%InstallMount%\%%i" WindowsErrorReporting
               if "%ImageBuild%" equ "19042" %ToolKitHelper% "%InstallMount%\%%i" WindowsErrorReporting
           )
    )else(
           if "%Component%" equ "PrivacyComponents" (
               %ToolKitHelper% "%InstallMount%" AssignedAccess;CEIP_SQM;FaceRecognition;KernelDebugging;LocationService;PicturePassword;PinEnrollment;UnifiedTelemetryClient;WiFiNetworkManager;WindowsInsiderHub
               if "%ImageBuild%" equ "17763" %ToolKitHelper% "%InstallMount%" WindowsErrorReporting
               if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "18363" %ToolKitHelper% "%InstallMount%" WindowsErrorReporting
               if "%ImageBuild%" equ "19041" %ToolKitHelper% "%InstallMount%" WindowsErrorReporting
               if "%ImageBuild%" equ "19042" %ToolKitHelper% "%InstallMount%" WindowsErrorReporting
           )
    )
    

    Windows Error Reporting is needed for OOBE for v1903 / v1909 OS.
    This component has been reinserted and will pass again, according to specific conditions, to be automatically removed by the "Editions Custom Selection Removal Script" options available in CustomToolkit. Conditions prevent removal on versions v1903 / v1909.

    Only for:
    Remove All Privacy Components
    Accessibility Edition
    Lite Edition
    Xtreme Lite Edition
    Content Delivery Manager is needed for OOBE for v1809 / v1903 / v1909 / v2004 / v2009 OS.
    For this Component, if you want, just access the "Remove System Components Menu" to remove "Content Delivery Manager".

    I also made available a model of my AutoUnattend *.xml answer file with a ReadMe for those who want to play a little.

    Reported a problem in the question "Do you want to Enable Fraunhofer MP3 Professional Codec ? ['Y'es/'N'o] :" mentioned in the post "https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-796#post-1607819" by friend @roedel.

    Problem solved.

    As @MSMG said:
    Content Delivery Manager is needed for OOBE for v1809 / v1903 / v1909 / v2004 / v2009 OS.
    Windows Error Reporting is needed for OOBE for v1903 / v1909 OS.

    These components will no longer be automatically removed by the "Editions Custom Selection Removal Script" options available in CustomToolkit.

    If you want, just access the "Remove Privacy Components Menu" to remove "Windows Error Reporting" and "Remove System Components Menu" to remove "Content Delivery Manager".

    When I have an idea to edit the code I add commented lines as if they were reminders or a list of what to do.
    So, I removed some obsolete lines left behind.

    Also, I created a way to use the customized version and the original version of the Toolkit, without having to replace the original files.

    When you run Start.cmd, the Original Toolkit.cmd starts.
    When you run CustomStart.cmd, the CustomToolkit.cmd starts.

    In this file I also placed the original files, for those who had previously replaced them.

    Fixed the bug in the question about choosing the StorageDrive, when you answer "No". I kept asking for the letter and did not go to the Main Menu.

    Correcting the problem of saving the iso that I had set for my drive "I:", I decided to add an option to keep it as is or set another one (Optional for those who need to save their isos on some larger drive). Very simple. There is a moment when opening the toolkit that asks you to check <ENTER>. Well select Y or N. "N" will keep the ISO folder where it has always been - inside the Toolkit folder. Than select your drive.

    Fix Cortana App was not removed in 2004 H1 (only in the custom removal options I made available).

    In that apply tweaks menu by answering questions system, I added a question to the end to apply the integration of your Registry (*.reg) files.

    Removed some "pause" commands from the end of some processes in the Menus (Integrate Windows Features Menu - Integrate Windows Custom Features Menu - Remove Menu (when we select some of the Remove All Components) - Customize Menu) and replaced them with a question "Do you want to continue in that menu?"

    The part with menu options with custom component removal scripts has been retained.

    A huge change has made to apply Tweaks by answering Y (yes) or N (no) questions.

    The focus is on Menu 4 -> 2 and feel free to test.
    @mhussain , the part I promised is ready.
    follow 4, 2, A for Accessibility Edition
    at the end of the first part, you will be asked if you want to keep the Mixed Reality Pack, then ask if you want to keep the components for game functionality.
    just select Y or N.
    Back, in my menu is with the letter Q.

    In the initial menu, Exit, I also changed to the letter Q.

    Apply Custom Tweaks Menu is added. My Custom Tweaks List Available to Apply.


    Thnks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I wonder what will happen here?

    But today I decided to stop integrating cumulative updates and decided to start getting Feature Updates directly from uupdump.
    Maybe this situation with StickyNotes will be resolved. Since Cumulative only updates the base of the system. and the feature updates contains base and some additional updates.

    Thnx, man!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. jahike

    jahike MDL Novice

    Oct 30, 2017
    28
    5
    0
    How do you create/find the license.xml files? I just noticed that MPEG2VideoExtension is now 1.0.4.0, up from 1.0.22661.70, and I've already downloaded it from rg-adguard, but it's not showing an .xml file

    Also, this could maybe be because I used the .appx from your .18362 folder with the .xml from the .19041 folder, but even if I add integrate HEVC first and then remove only Windows Store, I can't see the thumbnail for videos. If I integrate HEVC and power it on and remove Windows Store through Powershell, then I can see thumbnail without any issue. Does it have to run at least once with Windows Store accessible in order to show thumbnails for HEVC, or could it be because of my MacGyver-solution mentioned above?

    Will re-test tomorrow when you've uploaded the new files, just to be sure.
     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    - Replaced the Windows 10 v2009 entries with Windows 10 v20H2

    - It's better to remove the minimum SPB requirement so that people can just integrate the latest CU to which the Toolkit has been updated and remove the components.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    The Microsoft releases Inbox Apps ISO for OEM's which contains the License, Appx and dependency files for each Windows 10 versions.

    Need to check if the latest License XML files can be used to integrate apps for older versions, if it works then make universal appx folder for all Windows versions.

     
  10. IvanMara

    IvanMara MDL Novice

    Apr 7, 2020
    3
    0
    0
    Hello! I want to automate the process of preparing the distribution Windows 10 LTSC v1809 10.0.17763.1. I want delete everything in step "[4] Remove", but leave: Paint and Snipping tool. How can I do this? What variants ?
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    1) copy the contents of <ToolKit\Bin\Lists\ToolKitHelper_Templates\RemovePkgsList_W10_LTSC_2019.txt> template file to <D:\Work\ToolKit\Bin\Lists\RemovePkgsList.txt> file.

    2) Edit RemovePkgsList.txt with notepad and remove the components which you don't want to be removed and save the file.

    3) Use the [4] Remove -> [4] Remove Windows Components using Package List menu to automate removing process.


     
  12. 正义羊

    正义羊 MDL Senior Member

    Feb 21, 2016
    260
    160
    10
    For Windows 10 v20H2, Build 19042.208 is disappear Build. In v1903, the same as disappear Build 18363.30 too. This is my main point.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,941
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. chev7

    chev7 MDL Novice

    Dec 7, 2019
    22
    2
    0
    #16238 chev7, Aug 30, 2020
    Last edited: Aug 30, 2020
    Good evening! Sorry for my English. Why am I adding a registry key to remove the service, it remains after the installation of the system and the registry key is not deleted!
     
  15. chev7

    chev7 MDL Novice

    Dec 7, 2019
    22
    2
    0
    #16239 chev7, Aug 30, 2020
    Last edited: Aug 30, 2020
    Im using Custom\Registry\w10\my.reg file(-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc) After installing Windows, the service remained corrupted and the registry key remained. im Deleted service WaaS. Its BIG PROBLEM for me! Thank you for help!
     
  16. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    786
    631
    30