MSMG ToolKit

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

  1. boo123

    boo123 MDL Member

    Sep 20, 2013
    201
    23
    10
    sfc /scannow show errors.

    Using LTSC 2019 1809 17763.1 iso -> 17763,1432

    I followed all the steps according to the readme.

    1.Integrated win32 calc
    2. clean up source images
    3. remove all window components
    4. integrate windows updates using option 4 (boot, install, etc)
    5. integrate window custom features
    6. customized the image
    7. installed .net framework 3.5 features.

    list of components used to remove

    Code:
    InternetExplorer
    FirstLogonAnimation
    GameExplorer
    SpeechRecognition
    WindowsMediaPlayer
    WinSAT
    AssignedAccess
    CEIP_SQM
    FaceRecognition
    KernelDebugging
    LocationService
    PicturePassword
    PinEnrollment
    UnifiedTelemetryClient
    WiFiNetworkManager
    WindowsErrorReporting
    WindowsInsiderHub
    HomeGroup
    MultiPointConnector
    RemoteAssistance
    DeviceLockdown
    EaseOfAccessThemes
    EasyTransfer
    SecurityCenter
    StepsRecorder
    SystemRestore
    WindowsBackup
    WindowsSubsystemForLinux
    WindowsToGo
    Wordpad
    AADBrokerPlugin
    AssignedAccessLockApp
    BioEnrollment
    CBSPreview
    ContentDeliveryManager
    ECApp
    EdgeDevToolsClient
    MapControl
    NarratorQuickStart
    OneDrive
    ParentalControls
    PeopleExperienceHost
    PPIProjection
    RetailDemoContent
    SecureAssessmentBrowser
    SettingSync
    SkypeORTC
    SmartScreen
    Win32WebViewHost
    WindowsDefender
    WindowsMixedReality
    WindowsReaderPDF
    XboxGameCallableUI
    3DViewer
    AdvertisingXaml
    Alarms
    BingWeather
    Camera
    CommunicationsApps
    DesktopAppInstaller
    FeedbackHub
    GetHelp
    Getstarted
    HEIFImageExtension
    Maps
    Messaging
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    OneConnect
    Paint3D
    People
    Print3D
    ScreenSketch
    SkypeApp
    SolitaireCollection
    SoundRecorder
    StickyNotes
    VP9VideoExtensions
    WalletService
    WebMediaExtensions
    WebpImageExtensions
    WindowsStore
    XboxApp
    XboxIdentityProvider
    YourPhone
    ZuneMusic
    ZuneVideo
    
     
  2. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    650
    423
    30
    Why do you integrate win32 calc?
    This is LTSC, you don't need that.
    It is probably the reason you are getting SFC errors.

    Cheers.
     
  3. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,209
    7,533
    210
    ^
    yep win32 calc is native on LTSC
     
  4. boo123

    boo123 MDL Member

    Sep 20, 2013
    201
    23
    10
    Does LTSC have Microsoft Edge Chromium Browser?

    I need it for netflix because firefox / chrome doesnt run anything higher than 720p. Lol
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,633
    450
    No, it doesn't.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    Hey guys, he tried to integrate the "Edge Classic Browser" and due to the inversion of the lines in the code he ended up integrating the "Win32 Calc". But from the images he posted he had the "Edge Chromium Browser" folder to integrate. Only that.
     
  7. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    650
    423
    30
    He explicitly said he was integrating win32 calc.
    If he wants Edge Chromium, he can either integrate it or use offline installer from MS.

    Cheers.
     
  8. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
  9. RaiyvaN

    RaiyvaN MDL Senior Member

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

    Sent an 2020-09-03 updated file in the post above.


    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 Selected ..." 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 Media Feature Pack
      [F]   Windows Portable Devices
      [G]   Windows PowerShell 7.0
      [H]   Open Secure Shell (SSH) Client & Server
      [I]   Microsoft Default Metro Apps
      [J]   Microsoft Office Desktop UWP Apps
      [K]   Microsoft DaRT 10.0 Tools
      [L]   Microsoft DirectX 9.0c
      [M]   Microsoft Games
      [N]   Windows Sidebar
      [O]   Microsoft Visual C++ Runtime
    
      [S]   Integrate Custom Selected L M O C G
      [Z]   Integrate Custom Selected L   O C G
    
      [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 / 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!
     
  10. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    Just to be sure, WinPE updates should be copied to <WHD\w10\<Architecture>\WinPE> and not to the <WHD\w10\<Architecture>\SetupMedia>, right?
     
  11. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,209
    7,533
    210
    @MSMG I just have to thank you for the Toolkit V10.04 it is just spectacular, fast as lightning without any problem I am using the Windows 10 2004 version that was sensational I am very impressed with this OS and all this thanks to you so one more once again thank you very much great companion in this wonderful forum that is the MDL :worthy::tankyou:
     
  12. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30

    Attached Files:

  13. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
  14. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    No the image is built exactly using the files and method described in my post. No files were added/removed/changed from what I have posted.
     
  15. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    I was editing my post and you already responded. I added more details. Please F5 and read again ;)!
     
  16. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    No problem and I do appreciate your help. I shall wait for @MSMG to reply but I suspect that perhaps ToolKitHelper.exe needs a small tweak to enable support for the new Cumulative Update. I hope that by finding this problem early, I can help others avoid the same problem and to diagnose it.

    In the meantime, I will use my 19041.450 image built without any updates. Perhaps I will also test to see if I can run Windows Update on this image.
     
  17. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    Tested using image built as described in this post, with no SSU and CU updates integrated:
    No errors encountered after applying the KB4571744 update, bringing the OS version to 19041.488. VirtualBox_w10 x64_05_09_2020_14_59_04.png VirtualBox_w10 x64_05_09_2020_15_19_47.png VirtualBox_w10 x64_05_09_2020_15_20_03.png
     
  18. mhussain

    mhussain MDL Member

    Oct 1, 2012
    184
    50
    10
    @MSMG
    would it be possible to add windows updates component removal to the toolkit?
    :)
    Majid
     
  19. boo123

    boo123 MDL Member

    Sep 20, 2013
    201
    23
    10
    #16339 boo123, Sep 5, 2020
    Last edited: Sep 6, 2020
    edit: new post
     
  20. boo123

    boo123 MDL Member

    Sep 20, 2013
    201
    23
    10
    @MSMG

    I accidentally removed the photo app in the component removal option. I assume that this component is vital for restoring Windows Photo Viewer. How do I restore this app back to my PC without having to do a clean install over again?

    These are the list of components removed from Windows 10 1809 LTSC 2019.

    Code:
    InternetExplorer
    FirstLogonAnimation
    GameExplorer
    SpeechRecognition
    WindowsMediaPlayer
    WindowsPhotoViewer
    WinSAT
    AssignedAccess
    CEIP_SQM
    FaceRecognition
    KernelDebugging
    LocationService
    PicturePassword
    PinEnrollment
    UnifiedTelemetryClient
    WiFiNetworkManager
    WindowsErrorReporting
    WindowsInsiderHub
    MultiPointConnector
    RemoteAssistance
    DeviceLockdown
    EaseOfAccessThemes
    EasyTransfer
    FileHistory
    SecurityCenter
    StepsRecorder
    SystemRestore
    WindowsBackup
    WindowsSubsystemForLinux
    WindowsToGo
    Wordpad
    AADBrokerPlugin
    AssignedAccessLockApp
    BioEnrollment
    CBSPreview
    ContentDeliveryManager
    ECApp
    EdgeDevToolsClient
    MapControl
    NarratorQuickStart
    OneDrive
    ParentalControls
    PeopleExperienceHost
    PPIProjection
    RetailDemoContent
    SecureAssessmentBrowser
    SettingSync
    SkypeORTC
    SmartScreen
    Win32WebViewHost
    WindowsDefender
    WindowsMixedReality
    WindowsReaderPDF
    XboxGameCallableUI
    3DViewer
    AdvertisingXaml
    Alarms
    BingWeather
    Camera
    CommunicationsApps
    DesktopAppInstaller
    FeedbackHub
    GetHelp
    Getstarted
    HEIFImageExtension
    Maps
    Messaging
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    OneConnect
    Paint3D
    People
    Photos
    Print3D
    ScreenSketch
    SkypeApp
    SolitaireCollection
    SoundRecorder
    StickyNotes
    VP9VideoExtensions
    WalletService
    WebMediaExtensions
    WebpImageExtensions
    WindowsStore
    XboxApp
    XboxIdentityProvider
    YourPhone
    ZuneMusic
    ZuneVideo