MSMG ToolKit

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

  1. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    107
    47
    10
  2. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    This at least reassures me that I haven't done something wrong - or I hope I haven't!
     
  3. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    298
    89
    10
    @MSMG

    I removed from 19042.488 using below list, but the Search doesn't work. Did I do something wrong..??

    Code:
    AdobeFlashForWindows
    InternetExplorer
    FirstLogonAnimation
    GameExplorer
    SnippingTool
    SpeechRecognition
    WindowsMediaPlayer
    WinSAT
    AssignedAccess
    CEIP_SQM
    FaceRecognition
    KernelDebugging
    LocationService
    PicturePassword
    PinEnrollment
    UnifiedTelemetryClient
    WiFiNetworkManager
    WindowsErrorReporting
    WindowsInsiderHub
    MultiPointConnector
    RemoteAssistance
    DeviceLockdown
    EaseOfAccessThemes
    EasyTransfer
    FileHistory
    Paint
    SecurityCenter
    StepsRecorder
    SystemRestore
    WindowsBackup
    WindowsFirewall
    WindowsSubsystemForLinux
    WindowsToGo
    Wordpad
    AADBrokerPlugin
    AssignedAccessLockApp
    BioEnrollment
    CallingShellApp
    CBSPreview
    ContentDeliveryManager
    ECApp
    EdgeDevToolsClient
    Edge
    FileExplorer
    LockApp
    MapControl
    NarratorQuickStart
    OneDrive
    ParentalControls
    PeopleExperienceHost
    QuickAssist
    RetailDemoContent
    SecureAssessmentBrowser
    SettingSync
    SkypeORTC
    SmartScreen
    Win32WebViewHost
    WindowsDefender
    WindowsReaderPDF
    AdvertisingXaml
    Cortana
    
     
  4. Andrey102

    Andrey102 MDL Novice

    Jun 9, 2020
    9
    0
    0
    Tell me how to import reg for Users into an image using ToolKit ?
    [HKEY _USERS\ ...]
    I copied the reg file to C:\Temp\ToolKit_v10.2\Custom\Registry\w10\x64
    But it does not plow the reg Users import, but plows the SOFTWARE and SYSTEM imports

    which key is correct, example:
    Windows Registry Editor Version 5.00
    ;Remove "View Task" button on the Window 10 taskbar
    [HKEY_USERS\Custom\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "ShowTaskViewButton"=dword:00000000
    or without Custom
    [HKEY_USERS\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "ShowTaskViewButton"=dword:00000000
     
  5. Kenafri

    Kenafri MDL Member

    Jul 22, 2014
    103
    49
    10
    Have a look at line 25507 [:Options] of last ToolKit.cmd file for Registry mapping

    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE]               -> [HKEY_LOCAL_MACHINE\SOFTWARE]
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Classes] -> [HKEY_CLASSES_ROOT]
    [HKEY_LOCAL_MACHINE\TK_SYSTEM]                    -> [HKEY_LOCAL_MACHINE\SYSTEM]
    [HKEY_LOCAL_MACHINE\TK_NTUSER]                     -> [HKEY_CURRENT_USER]
    [HKEY_LOCAL_MACHINE\TK_DEFAULT]                   -> [HKEY_USERS\.Default]
    
    ;)
     
  6. Andrey102

    Andrey102 MDL Novice

    Jun 9, 2020
    9
    0
    0
    #16346 Andrey102, Sep 8, 2020
    Last edited: Sep 9, 2020

    Tried [HKEY_LOCAL_MACHINE\TK_NTUSER\ ...] and [HKEY_CURRENT_USER\ ...] also doesn't plow.
    I only manually connected to the NTUSER registry from mount "users by default." Dat, applied registry and closed reg this worked registry.
    Why doesn't he want to use the registry in the ToolKit?

    Example User.reg file:
    Windows Registry Editor Version 5.00
    ;Displays a shortcut to my computer and my documents on the desktop
    [HKEY_LOCAL_MACHINE\TK_NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
    "59031a47-3f72-44a7-89c5-5595fe6b30ee"
    [HKEY_LOCAL_MACHINE\TK_NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
    "20D04FE0-3AEA-1069-A2D8-08002B30309D"

    ;Remove the View Task button on the Window 10 taskbar
    [HKEY_LOCAL_MACHINE\TK_NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "ShowTaskViewButton"-dword:00000001

    ;Default folder options "this computer" from Library Explorer
    [HKEY_LOCAL_MACHINE\TK_NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    "LaunchTo"-dword:00000001
     
  7. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30

    Attached Files:

  8. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    650
    423
    30
    @MSMG:

    After a couple of tests, I've finally found the issue with the x86 CU (august and september) failing to integrate in LTSC 1809.
    Steps to reproduce:

    1. Use a Spanish (es) image
    2. Remove Windows Defender with Toolkithelper method
    3. Integrate WHD updates into install.wim as usual (Flash, .Net CU, SSU, CU)
    4. Get an error when dism is integrating the x86 CU.

    When leaving defender out of the packagelist.txt, everything completes without error.
    Also, as I wrote earlier, the x64 image doesn't fail to integrate the CU when defender has been removed, only the x86 image.
    I hope you can look at it.

    Cheers.
     
  9. Kenafri

    Kenafri MDL Member

    Jul 22, 2014
    103
    49
    10
    Hi, Andrey102!

    Can u share your registry file (*.reg)?
     
  10. mhussain

    mhussain MDL Member

    Oct 1, 2012
    184
    50
    10
    hi there,
    content dilivery manager is required for out of box experience,
    what happens if it is removed?
    also what is wifi-sence?
    does removeing that component prevent the usage of your wifi-adaptor?
     
  11. mhussain

    mhussain MDL Member

    Oct 1, 2012
    184
    50
    10
    @MSMG,
    how do you locate components for removal?
    do you go through files/settings of windows 10 and the toolkit helper file removes spisific files/reg keys?
    manually?
    have been curious for along time.
     
  12. mhussain

    mhussain MDL Member

    Oct 1, 2012
    184
    50
    10
    @MSMG
    hi,
    would it be possible to remove windows storage sence?
    would it be possible to remove the disk defragment utility?
    would it be possible to remove the component dep, Data Execution Prevention?
     
  13. ocean1985

    ocean1985 MDL Novice

    Jan 26, 2016
    2
    0
    0
    Hello,
    When Windows is updated in the future, does the removed component get reinstalled?
     
  14. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    650
    423
    30
    From the readme:
    Cheers.
     
  15. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    If you remove "content delivery manager" you may be able to break something on the OOBE installation screens. But it is very good to disable some options so that bloat apps are not installed after the clean installation of Windows.

    Wi-Fi sense is related to that wi-fi sharing scheme. The function allows other people to log into your Wi-Fi network automatically, without needing the password. For security reasons, only your Outlook.com, Skype or Facebook contacts can enjoy this convenience.

    I don't know how to answer you about your other doubts.

    Yes. Currently I disable windows update and download the versions updated by UUP-Dump that already creates the updated ISO. I had no more problems related to the integration of updates. I started using it last week and it became my best option.
    Then, with the updated ISO, I customize with the Toolkit.
     
  16. RaiyvaN

    RaiyvaN MDL Senior Member

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

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

    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 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!
     
  17. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    When sfc /scannow detetcs error after using a tool like MSMG ToolKit, does it mean it considers removed built-in apps (I'm not talking about the important ones) as corrupted system files and reinstall it afterwards?I thought corrupted system files were other thing.
     
  18. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    298
    89
    10
    @MSMG

    If I disable Windows Defender (5 -> 8 -> E), it also disable SmartScreen..??

    If not, can you add disable SmartScreen on MSMG Toolkit..??

    Thanks in advance..!!
     
  19. boo123

    boo123 MDL Member

    Sep 20, 2013
    201
    23
    10