1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    1) Mount the source image
    2) Prepare the removal list <Bin\\Lists\RemovePkgsList.txt>, you can get the template for Windows 11 list from <Bin\\Lists\ToolkitHelper_Templates> folder.
    3) Use the Remove -> Remove Windows Component using Package List -> Remove Windows Component using Package List (ToolKitHelper Method)
    4) Save the source.
     
  3. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    And could you share the List that you use? :good3:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Well here's the list for Windows 11 v22H2

    Code:
    EdgeChromium
    EdgeWebView
    InternetExplorer
    FirstLogonAnimation
    GameExplorer
    LockScreenBackground
    ScreenSavers
    SoundThemes
    SpeechRecognition
    Wallpapers
    WindowsMediaPlayer
    WindowsPhotoViewer
    WindowsThemes
    WindowsTIFFIFilter
    WinSAT
    OfflineFiles
    OpenSSH
    RemoteDesktopClient
    RemoteDifferentialCompression
    SimpleTCPIPServices
    TelnetClient
    TFTPClient
    WalletService
    WindowsMail
    AssignedAccess
    CEIP
    FaceRecognition
    KernelDebugging
    LocationService
    PicturePassword
    PinEnrollment
    UnifiedTelemetryClient
    WiFiNetworkManager
    WindowsErrorReporting
    WindowsInsiderHub
    MultiPointConnector
    OneDrive
    RemoteAssistance
    RemoteDesktopServer
    RemoteRegistry
    WorkFoldersClient
    AccessibilityTools
    DeviceLockdown
    EaseOfAccessCursors
    EaseOfAccessThemes
    EasyTransfer
    FileHistory
    Magnifier
    ManualSetup
    Narrator
    Notepad
    OnScreenKeyboard
    ProjFS
    SecurityCenter
    StepsRecorder
    StorageSpaces
    SystemRestore
    WindowsBackup
    WindowsFirewall
    WindowsSubsystemForLinux
    WindowsToGo
    WindowsUpdate
    Wordpad
    AADBrokerPlugin
    AccountsControl
    AddSuggestedFoldersToLibraryDialog
    AppResolverUX
    AssignedAccessLockApp
    AsyncTextService
    BioEnrollment
    CallingShellApp
    CapturePicker
    CBSPreview
    ContentDeliveryManager
    ClientCBS
    CloudExperienceHost
    CredDialogHost
    ECApp
    Edge
    EdgeDevToolsClient
    FileExplorer
    FilePicker
    LockApp
    MapControl
    NarratorQuickStart
    NcsiUwpApp
    OOBENetworkCaptivePortal
    OOBENetworkConnectionFlow
    ParentalControls
    PeopleExperienceHost
    PinningConfirmationDialog
    PrintDialog
    RetailDemoContent
    SecureAssessmentBrowser
    SettingSync
    ShellExperienceHost
    SkypeORTC
    SmartScreen
    StartMenuExperienceHost
    WebcamExperience
    WebView2SDK
    Win32WebViewHost
    WindowsDefender
    WindowsMixedReality
    WindowsReaderPDF
    WindowsStoreClient
    XboxClient
    XboxGameCallableUI
    XGpuEjectDialog
    Alarms
    BingNews
    BingWeather
    CalculatorApp
    Camera
    ClientWebExperience
    Clipchamp
    CommunicationsApps
    Cortana
    DesktopAppInstaller
    Family
    FeedbackHub
    GamingApp
    GetHelp
    Getstarted
    HEIFImageExtension
    HEVCVideoExtension
    Maps
    NotepadApp
    OfficeHub
    Paint
    People
    Photos
    PowerAutomateDesktop
    RawImageExtension
    QuickAssist
    ScreenSketch
    SolitaireCollection
    SoundRecorder
    StickyNotes
    StorePurchaseApp
    Terminal
    Todos
    VP9VideoExtensions
    WebMediaExtensions
    WebpImageExtension
    WindowsStoreApp
    XboxGameOverlay
    XboxGamingOverlay
    XboxIdentityProvider
    XboxSpeechToTextOverlay
    XboxTCUI
    YourPhone
    ZuneMusic
    ZuneVideo
    
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The next version of Toolkit will come with support for Compatibility settings for component removal which will provide the option to lock the components required for any particular function from being removed.

    Also the remove components menu will have a more better display of component name with detailed description, dependency and compatibility information for each components, There will be changes related to menu order too.
     
  6. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    My dear friend,

    You know that we all love you, and you should know that this is why you never leave anyone unanswered and always do your best for everyone.

    But still I have to tell you, you really know how to play the role of the true master, not because of your knowledge, but because of your character.

    The Whole must be very proud of you, because you represent it in an exemplary way.

    Kind Regards.
    @JeepWillys58
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    I would love to try the "Beta :beta: Version", I'm at your disposal.:welcome:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    Just a question about this list, will it cause any kind of compatibility issue or failure of some functionality if applied in full? If yes, what should be maintained so that no related problems occur?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    #25869 JeepWillys58, Jul 6, 2023
    Last edited: Jul 6, 2023
    My dear friend MSMG

    May I ask why the drivers folder must be duplicated for both Install.wim and WinPE instead of the same folder being used by both processes?

    First I was going to use the DriverPack drivers, but unzipped they come to 284GB!!!

    upload_2023-7-5_20-6-45.png

    Now I'm making an image with only the drivers used on the company's machines, but as there are many machines with different hardware my ToolKit folder as the drivers for the installer is almost 50GB in size and because of the need to duplicate the drivers folder (Install and WinPE) this will be doubled, is it possible to modify the script to use a single folder for both driver insertion steps as the drivers are the same for both steps?

    Thank you in advance.

    Kind Regards,

    @JeepWillys58
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    It's almost ready, sorting the menu order, will be available for testing soon.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes the list removes everything allowed by ToolkitHelper to demonstrate the the ToolKitHelper's capability.

    But this will also break some functionality for which the user needs to have alternatives to replace the broken functionality like removing StartMenuExperienceHost will remove the Start menu, ShellExperienceHost will break the taskbar fly-out applets.

    So I would recommend you to check the removal menu to know the component description and dependency before removing the components.

    Or, can wait for next release it will have component compatibility menu to protect the functionality.
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Not all drivers are applied to the WinPE right, The Toolkit uses DISM /Add-Driver command to scan a folder and add the drivers which won't allow you to select the drivers.

    Also the drivers for Windows 7/8 and Windows 10/11 are different.
     
  13. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    149
    158
    10
    @MSMG Testing the new MSMG Toolkit patch, I get a "dwm.exe" first login error when using only only the DISM component remove list (as advised for Windows 11, Image Version : 10.0.22000) removing only these components listed below:

    Code:
    ; Some packages may not exist in certain versions, architecture and editions.
    ; Change en-us to your language code.
    
    ## Drivers ##
    
    ; Wifi-Drivers-FOD
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package
    
    ; Ethernet-Clients-FOD
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package
    
    ; Windows Media Player
    Microsoft-Windows-MediaPlayback-OC-Package
    Microsoft-Windows-MediaPlayer-Package
    Microsoft-Windows-MediaPlayer-Package-Wrapper
    Microsoft-Windows-MediaPlayer-Payload-Package
    Microsoft-Windows-SQL-Lite-Package
    Microsoft-Windows-SQL-Lite-WOW64-Package
    Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package
    Microsoft-Windows-WMPNetworkSharingService-Opt-Package
    Microsoft-Windows-WMPNetworkSharingService-Opt-WOW64-Package
    Microsoft-Windows-WMPNetworkSharingService-Package
    Microsoft-Windows-WMPNetworkSharingService-WOW64-Package
    Microsoft-Windows-WPD-LegacyWmdmFeature-Feature-Package
    Microsoft-Windows-WPD-LegacyWmdmFeature-Feature-WOW64-Package
    
    ; Windows Photo Viewer
    Microsoft-Windows-PhotoBasic-Feature-Package
    Microsoft-Windows-PhotoBasic-Feature-WOW64-Package
    Microsoft-Windows-PhotoBasic-multimedia-Package
    Microsoft-Windows-PhotoBasic-merged-Package
    Microsoft-Windows-PhotoBasic-Package
    Microsoft-Windows-PhotoBasic-PictureTools-Package
    Microsoft-Windows-PhotoBasic-PictureTools-WOW64-Package
    Microsoft-Windows-PhotoBasic-WOW64-multimedia-Package
    Microsoft-Windows-PhotoBasic-WOW64-merged-Package
    Microsoft-Windows-PhotoBasic-WOW64-Package


    But when I ignore the warning and selectively remove those same components from the MSMG menu list and a whole lot more, Windows 11 setup boots fine. Also, any thoughts on how to remove "Hello Face" and still retain PC functionality for dynamic lock via mobile phone? I cannot access "Sign-in Options" from the Windows "System About" page for some reason, so I'm trying to pin down what Windows component I need to keep.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150

    Yep.

    Just a FYI note that may be useful for who read

    Sometimes is very desiderable to install win 7/8 drivers on Win 10/11. WiFI drivers for one.

    Most of them have the hosted network functionality removed (hot spot feature) that W10/11 mimic using the WIFI direct functionality.

    The point is that the former is usually hugely better, more bandwidth, more stability, easily controllable from a script or from the task scheduler, while the latter (if available) works only from the ugly setting menu, is unstable, has less bandwidth, it stops if internet becomes unavailable for some reasons and so on
     
  15. Robotnik247

    Robotnik247 MDL Junior Member

    Nov 21, 2012
    86
    13
    0
    Heya, I've been using Linux for some time but now I switched back, and with a 22621.1702 base I had Windows Defender come back after an update so I'm guessing it's no longer possible to permanently remove it?
     
  16. It will come back anyway if you use Windows Updates. If you want to completely ditch defender - you better remove WU component as well.
     
  17. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    149
    158
    10
    Does your MSMG "DVD" foler have setup.exe in it before you mount it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. ezgera

    ezgera MDL Novice

    Dec 25, 2019
    36
    2
    0
    it does
    i have used MSMG for a long time

    but this time setup.exe gets removed in the "start removing components" process
    i refresh the folder and suddenly its gone