MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,206
    7,533
    210
    thank you so much again great Master :):worthy::hug2:
     
  2. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30

    Attached Files:

  3. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    298
    89
    10
  4. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    298
    89
    10
    #16626 zero cool root, Oct 2, 2020
    Last edited: Oct 2, 2020
    @MSMG

    Works fine for me. Thank you so much..!!
     
  5. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    I'm not sure I understand. I thought ToolKit always supported en-gb?
     
  6. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    650
    423
    30
    Yes, that's correct. I think MSMG means he will test for the issue with a localized (en-gb) image.
    Just as the issue I'm having at the moment, it may well be related to language resources in the es-es image.

    Cheers.
     
  7. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2020-10-02 updated file in the link above.


    Merged with new MSMG Toolkit 10.6 and 10.7 Beta

    The files "CustomStart.cmd" to launch "CustomToolkit.cmd" and "Star.cmd" to launch MSMG Official "Toolkit.cmd" have always been made available in the CustomToolkit package. So that you can simply extract and start using.
    Now I renamed the Toolkit 10.7 Beta file to "Toolkit_Beta.cmd" and included a launcher for it.
    Included "CustomStart_Beta.cmd" to launch "CustomToolkit_Beta.cmd" and "Star_Beta.cmd" to launch MSMG Official "Toolkit_Beta.cmd". Simple and intuitive.

    Some minor changes: Enabling the installation of the Windows driver from the WU and in the Windows Explorer Settings, in the selection of custom settings, set the "Minimized State Tablet Off" mode to "0". In this case the bar will have the pin fixed in Windows Explorer (this will disable automatic bar hiding).

    Improved all Inserted Conditions
    Code:
    ...
           if "%Component%" equ "PrivacyComponents" (
               %ToolKitHelper% "%InstallMount%\%%i" AssignedAccess;CEIP_SQM;FaceRecognition;KernelDebugging;LocationService;PicturePassword;PinEnrollment;UnifiedTelemetryClient;WiFiNetworkManager;WindowsInsiderHub
               if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19042" if "%ImageBuild%" neq "18362" if "%ImageBuild%" neq "18363" %ToolKitHelper% "%InstallMount%\%%i" WindowsErrorReporting
           )
    )else(
           if "%Component%" equ "PrivacyComponents" (
               %ToolKitHelper% "%InstallMount%" AssignedAccess;CEIP_SQM;FaceRecognition;KernelDebugging;LocationService;PicturePassword;PinEnrollment;UnifiedTelemetryClient;WiFiNetworkManager;WindowsInsiderHub
               if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19042" if "%ImageBuild%" neq "18362" if "%ImageBuild%" neq "18363" %ToolKitHelper% "%InstallMount%" WindowsErrorReporting
           )
    )
    
    OLD EXAMPLE of Inserted Conditions are in CHANGELOG 2020-07-17

    Added "Block and UnBlock Automatic Edge Chromium-based Delivery" to Apply Tweaks Menu

    The "Block Automatic Edge Chromium-based Delivery" option was also inserted in the "Apply Custom Tweaks Selection" option. If you want to test Custom Tweaks and want to keep the possibility of receiving the update for Edge Chromium, just apply the option of "Unblock Automatic Edge Chromium-based Delivery" later. What the "Apply Custom Tweaks Selection" option does is described in the download post.

    Merged with new MSMG Toolkit 10.5

    I facilitated the steps in the menu [6] Apply.
    When it finish a step, it goes back to Menu "[6] Apply". Only when you finish the Rebuild Step that goes back to the Main Menu.

    Some aesthetic changes were made just to display the message "Mounting Image Registry ..." and "Un-Mounting Image Registry".

    Fixed the Menus that had the options reversed.

    Since I am doing this, I have already been reviewing the Custom Menus and I saw that after @MSMG added PowerShell7 to the menu, I forgot to change the information about which items are Integrated in the Custom Option. So, I also added PowerShell7 to be integrated into the "Integrate Custom Selection ..." options
    Code:
    ===============================================================================
                    MSMG ToolKit - Integrate Windows Features Menu
    ===============================================================================
    
      [A]   Microsoft .NET Framework 3.5
      [B]   Microsoft Edge Chromium Browser
      [C]   Microsoft Win32 Calculator
      [D]   Windows Accessibility Braille
      [E]   Windows Data Deduplication
      [F]   Windows Media Feature Pack
      [G]   Windows Portable Devices
      [H]   Windows PowerShell 7.0
      [I]   Open Secure Shell ^(SSH^) Client ^& Server
      [J]   Microsoft Default Metro Apps
      [K]   Microsoft Office Desktop UWP Apps
      [L]   Microsoft DaRT 10.0 Tools
      [M]   Microsoft DirectX 9.0c
      [N]   Microsoft Games
      [O]   Windows Sidebar
      [P]   Microsoft Visual C++ Runtime
    
      [T]   Integrate Custom Selection M N P C H
      [U]   Integrate Custom Selection M   P C H
      [V]   Integrate Custom Selection   N P C H
      [W]   Integrate Custom Selection     P C H
      [Y]   Integrate Custom Selection   N   C H
      [Z]   Integrate Custom Selection       C H
    
      [X]   Go Back
    
    ===============================================================================
    
    Enter Your Choice :
    

    Merged with new MSMG Toolkit 10.4

    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 / v20H2 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 / v20H2 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!
     
  8. 正义羊

    正义羊 MDL Member

    Feb 21, 2016
    115
    52
    10
    @MSMG ,In ToolKit v10.6 line 21845 to 21850:
    Code:
    ::-------------------------------------------------------------------------------------------
    
    ::-------------------------------------------------------------------------------------------
    ::-------------------------------------------------------------------------------------------
    :: Function to Disable Windows Features Using Features List
    ::-------------------------------------------------------------------------------------------
    :DisableFeatures
    The content of line 21848 is obviously redundant.It should be removed.
     
  9. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    #16631 RaiyvaN, Oct 3, 2020
    Last edited: Nov 11, 2020
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2020-10-03 updated file in the link above.

    I myself thought that, with 4 files to start the 4 toolkits, it was a little confusing... So, I decided to remove "Start.cmd", "Start_Beta.cmd", "CustomStart.cmd" and "CustomStart_Beta.cmd". So, in today's package, I put the file "GenericStart_LauncherMenu.cmd". I think that way, it gets better.

    Merged with new MSMG Toolkit 10.6 and 10.7 Beta

    The files "CustomStart.cmd" to launch "CustomToolkit.cmd" and "Star.cmd" to launch MSMG Official "Toolkit.cmd" have always been made available in the CustomToolkit package. So that you can simply extract and start using.
    Now I renamed the Toolkit 10.7 Beta file to "Toolkit_Beta.cmd" and included a launcher for it.
    Included "CustomStart_Beta.cmd" to launch "CustomToolkit_Beta.cmd" and "Star_Beta.cmd" to launch MSMG Official "Toolkit_Beta.cmd". Simple and intuitive.


    Thnks!
     
  10. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    107
    47
    10
    #16632 Igor147, Oct 4, 2020
    Last edited: Oct 4, 2020
    19042.546.200926-1809.20H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_RU-RU
    Used the Pro edition
    No matter how I tried, I can't do the cleaning ...
    Actions:
    1) 8>1>C (Delete)
    2) 1>([1] Select Source from <DVD> Folder)
    3) Remove Windows Components Using Package List
    EdgeChromium
    SecurityCenter
    StepsRecorder
    EdgeDevToolsClient
    Edge
    OneDrive
    SmartScreen
    WindowsDefender
    WindowsReaderPDF
    3DViewer
    AdvertisingXaml
    Alarms
    BingWeather
    Camera
    CommunicationsApps
    Cortana
    FeedbackHub
    GetHelp
    Getstarted
    Maps
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    Paint3D
    People
    ScreenSketch
    SkypeApp
    SoundRecorder
    StickyNotes
    WalletService
    XboxApp
    XboxIdentityProvider
    YourPhone
    4) Cleanup Source Images
    ...
    2020-10-04_015546.png
    --------------------------------------------------------------------------------------------
    If you do this:
    1) 8>1>C (Delete)
    2) 1>([1] Select Source from <DVD> Folder)
    3) Integrate [H] Extensions - HEIF, HEVC, MPEG2, VP9, Web, Webp Extensions
    4) Integrate Microsoft Games
    5) Remove Windows Components Using Package List
    EdgeChromium
    SecurityCenter
    StepsRecorder
    EdgeDevToolsClient
    Edge
    OneDrive
    SmartScreen
    WindowsDefender
    WindowsReaderPDF
    3DViewer
    AdvertisingXaml
    Alarms
    BingWeather
    Camera
    CommunicationsApps
    Cortana
    FeedbackHub
    GetHelp
    Getstarted
    Maps
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    Paint3D
    People
    ScreenSketch
    SkypeApp
    SoundRecorder
    StickyNotes
    WalletService
    XboxApp
    XboxIdentityProvider
    YourPhone
    6) Disable Windows Features Using Features List
    WindowsMediaPlayer
    Internet-Explorer-Optional-amd64
    WorkFolders-Client
    7) Cleanup Source Images
    It turns out this error...
    2020-10-04_005728.png


    SFC violations do not seem to cause
     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,561
    59,622
    450
    @Igor147 something sets the pending flag. When it's set, cleanup can't be ran.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    In v19042 you can't perform Cleanup due to Edge Chromium, The ToolKitHelper can remove Edge Chromium and it just removes the entries from pending.xml and not the pending.xml itself.

    Having a pending.xml present the Cleanup won't happen.

     
  13. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    107
    47
    10
    Why, when I don't even touch Edge Chromium, then cleaning is also impossible?
     
  14. megaborg

    megaborg MDL Novice

    Nov 14, 2009
    10
    2
    0
    But first voice in removepkglist i can see is edgechromium......
     
  15. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    107
    47
    10
    I have removed edgechromium from the list and the cleaning does not happen
     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    #16638 MSMG, Oct 4, 2020
    Last edited: Oct 4, 2020
    (OP)
    Adding W10 v19042 Enablement package adds Edge Chromium installer as a first run task and creates the pending.xml file which makes the cleanup not possible.

    I will add a workaround in the next release for people using Toolkit to integrate updates to 19041 image to skip integrating Edge Chromium while adding the W10 v19042 Enablement package.

     
  17. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    107
    47
    10
    #16639 Igor147, Oct 4, 2020
    Last edited: Oct 4, 2020
    Performed without clearing and no SFC violations detected.
    And if cleaning is done on the installed system, there are violations (Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase)
    Thanks. I'll wait for a fix ...
     
  18. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    314
    270
    10
    #16640 ingviowarr, Oct 4, 2020
    Last edited: Oct 8, 2020