MSMG ToolKit

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

  1. #14621 Deleted member 1071488, Apr 3, 2020
    Last edited by a moderator: Apr 3, 2020
    Brother @MSMG do you have a preset of DisableFeaturesList.txt so that it will be edited as not required & pasted to directory %~dp0\Bin\Lists
    as i have use Optimise-offline previously no any app went back via any way . but some features like search & emozi panel was not working thatswhy i switched to your project .

    or user have to use a bat script that will disable not required features after fresh install ie :

    DISM /online /disable-feature /featurename:WorkFolders-Client
    DISM /online /disable-feature /featurename:MicrosoftWindowsPowerShellV2
    DISM /online /disable-feature /featurename:MicrosoftWindowsPowerShellV2Root
    DISM /online /disable-feature /featurename:SmbDirect
    DISM /online /disable-feature /featurename:MSRDC-Infrastructure
    DISM /online /disable-feature /featurename:printing-XPSServices-Features
    DISM /online /disable-feature /featurename:WCF-TCP-PortSharing45

    Thanks & Regards :)
     
  2. Konuss

    Konuss MDL Novice

    Dec 1, 2017
    9
    3
    0
    Hello, at the very beginning I apologize for the translation from Google. I have such a problem. After slight modifications to the build system -.172 exactly when installing the system after adding the Microsoft account when the step of adding PIN. It doesn't show up to the window with the boxes. He jumps out but is invisible in the background. Only the ALT + TAB key combination helps at this time. Always to the end because the window is still not visible, but you can add a PIN and go to the end of the step. Someone may have a similar situation and knows the solution to what is caused or what may cause a conflict. Thank you very much for your help!
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Most of the components do get restored, some fully and some partially, only the Windows Apps don't get restored.

     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    The features list differ for each OS, you better get the list by the below command

    Code:
    Dism /Image:Mount\Install /Get-Features /Format:Table
    
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Since you are referring to W10 v2004 and the component removal has not been added yet, may I know what changes you have done to the installation image and using which Tool?

     
  6. Got this txt as answer :
    -------------------------------------------- | -----------------------------
    Feature Name | State
    -------------------------------------------- | -----------------------------
    Printing-XPSServices-Features | Disabled
    MSRDC-Infrastructure | Disabled
    TelnetClient | Disabled
    TFTP | Disabled
    TIFFIFilter | Disabled
    LegacyComponents | Disabled
    DirectPlay | Disabled
    SimpleTCP | Disabled
    NetFx4Extended-ASPNET45 | Disabled
    WCF-HTTP-Activation45 | Disabled
    WCF-TCP-Activation45 | Disabled
    WCF-Pipe-Activation45 | Disabled
    WCF-MSMQ-Activation45 | Disabled
    WCF-TCP-PortSharing45 | Disabled
    IIS-WebServerRole | Disabled
    IIS-WebServer | Disabled
    IIS-CommonHttpFeatures | Disabled
    IIS-HttpErrors | Disabled
    IIS-HttpRedirect | Disabled
    IIS-ApplicationDevelopment | Disabled
    IIS-NetFxExtensibility | Disabled
    IIS-NetFxExtensibility45 | Disabled
    IIS-HealthAndDiagnostics | Disabled
    IIS-HttpLogging | Disabled
    IIS-LoggingLibraries | Disabled
    IIS-RequestMonitor | Disabled
    IIS-HttpTracing | Disabled
    IIS-Security | Disabled
    IIS-URLAuthorization | Disabled
    IIS-RequestFiltering | Disabled
    IIS-IPSecurity | Disabled
    IIS-Performance | Disabled
    IIS-HttpCompressionDynamic | Disabled
    IIS-WebServerManagementTools | Disabled
    IIS-ManagementScriptingTools | Disabled
    IIS-IIS6ManagementCompatibility | Disabled
    IIS-Metabase | Disabled
    WAS-WindowsActivationService | Disabled
    WAS-ProcessModel | Disabled
    WAS-NetFxEnvironment | Disabled
    WAS-ConfigurationAPI | Disabled
    IIS-HostableWebCore | Disabled
    WCF-HTTP-Activation | Disabled
    WCF-NonHTTP-Activation | Disabled
    IIS-StaticContent | Disabled
    IIS-DefaultDocument | Disabled
    IIS-DirectoryBrowsing | Disabled
    IIS-WebDAV | Disabled
    IIS-WebSockets | Disabled
    IIS-ApplicationInit | Disabled
    IIS-ASPNET | Disabled
    IIS-ASPNET45 | Disabled
    IIS-ASP | Disabled
    IIS-CGI | Disabled
    IIS-ISAPIExtensions | Disabled
    IIS-ISAPIFilter | Disabled
    IIS-ServerSideIncludes | Disabled
    IIS-CustomLogging | Disabled
    IIS-BasicAuthentication | Disabled
    IIS-HttpCompressionStatic | Disabled
    IIS-ManagementConsole | Disabled
    IIS-ManagementService | Disabled
    IIS-WMICompatibility | Disabled
    IIS-LegacyScripts | Disabled
    IIS-LegacySnapIn | Disabled
    IIS-FTPServer | Disabled
    IIS-FTPSvc | Disabled
    IIS-FTPExtensibility | Disabled
    MSMQ-Container | Disabled
    MSMQ-DCOMProxy | Disabled
    MSMQ-Server | Disabled
    MSMQ-ADIntegration | Disabled
    MSMQ-HTTP | Disabled
    MSMQ-Multicast | Disabled
    MSMQ-Triggers | Disabled
    IIS-CertProvider | Disabled
    IIS-WindowsAuthentication | Disabled
    IIS-DigestAuthentication | Disabled
    IIS-ClientCertificateMappingAuthentication | Disabled
    IIS-IISCertificateMappingAuthentication | Disabled
    IIS-ODBCLogging | Disabled
    NetFx3 | Disabled
    SMB1Protocol-Deprecation | Disabled
    MediaPlayback | Disabled
    DataCenterBridging | Disabled
    ServicesForNFS-ClientOnly | Disabled
    ClientForNFS-Infrastructure | Disabled
    NFS-Administration | Disabled
    SmbDirect | Disabled
    HostGuardian | Disabled
    MultiPoint-Connector | Disabled
    MultiPoint-Connector-Services | Disabled
    MultiPoint-Tools | Disabled
    Printing-Foundation-Features | Disabled
    FaxServicesClientPackage | Disabled
    Printing-Foundation-InternetPrinting-Client | Disabled
    Printing-Foundation-LPDPrintService | Disabled
    Printing-Foundation-LPRPortMonitor | Disabled
    Windows-Identity-Foundation | Disabled
    Client-EmbeddedBootExp | Disabled
    Client-EmbeddedLogon | Disabled
    Client-KeyboardFilter | Disabled
    Client-UnifiedWriteFilter | Disabled
    AppServerClient | Disabled
    Client-DeviceLockdown | Disabled
    Client-EmbeddedShellLauncher | Disabled
    SMB1Protocol | Disabled
    SMB1Protocol-Client | Disabled
    SMB1Protocol-Server | Disabled
    Windows-Defender-Default-Definitions | Disabled
    WorkFolders-Client | Disabled
    MicrosoftWindowsPowerShellV2Root | Disabled
    MicrosoftWindowsPowerShellV2 | Disabled
    Microsoft-Windows-Subsystem-Linux | Disabled
    Client-ProjFS | Disabled
    DirectoryServices-ADAM-Client | Disabled
    Containers | Disabled
    HypervisorPlatform | Disabled
    VirtualMachinePlatform | Disabled
    Containers-DisposableClientVM | Disabled
    Microsoft-Hyper-V-All | Disabled
    Microsoft-Hyper-V | Disabled
    Microsoft-Hyper-V-Tools-All | Disabled
    Microsoft-Hyper-V-Management-PowerShell | Disabled
    Microsoft-Hyper-V-Hypervisor | Disabled
    Microsoft-Hyper-V-Services | Disabled
    Microsoft-Hyper-V-Management-Clients | Disabled
    Windows-Defender-ApplicationGuard | Disabled

    All Features Shown Disabled :eek:
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    You need to copy the Feature Names from the list to the DisableFeaturesList.txt

    Use the below command to get the list entries for easier editing

    Code:
    Dism /Image:Mount\Install /Get-Features | findstr "Feature Name"
    
    Replace the text "Feature Name : " to BLANK in notepad and copy the entries.

    PS. don't enter the " or "

     
  8. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    #14629 windows builder, Apr 3, 2020
    Last edited: Apr 4, 2020
    I made an image based on the 2004 version (19041.172) with several components and applications cut out.
    Installed the system, updated via Windows Update and delayed the receipt of future updates until January 2, 2024 :)

    2020-04-03 001.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Exactly like this :
    will test it tmrw morning.

    Thanks & Regards :)
     

    Attached Files:

  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,567
    59,634
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. InstantAli3n

    InstantAli3n MDL Junior Member

    Dec 17, 2014
    92
    71
    0
    #14634 InstantAli3n, Apr 4, 2020
    Last edited: Apr 4, 2020
    Meanwhile I cannot update my image with the CU as it fails every time. Stuck on 18363.449. There must be a way to manually repair it, but all attempts have failed. Although I didn't try mounting my image offline to attempt repair like that. Running too low on motivation for that...

    I guess I will wait for 2004 update, I won't use component removal if it means they will return with each CU. App removal and disabling components gives a stable clean result. Although you can't disable a lot of the components with MSMG, only remove. Obviously some things can't be disabled, but I'm sure there are some more that can be to avoid the "restore on CU" problem.

    I hope at some point a feature is added to skip setup questions and select local install. Anything to streamline the install process. Especially when I cannot supervise the install (and some noob leaves the boxes ticked and puts in a microsoft account because they don't listen to instructions)!
     
  13. xwing1000

    xwing1000 MDL Novice

    Oct 14, 2017
    6
    4
    0
    Interesting.
    Do you try:
    - Other autounattend.xml file?
    - Do not use SetupComplete.cmd ?
    - Put to iso file boot.wim from older version ?

    Pozdrawiam i zdrowia zycze :)
     
  14. LittlePro

    LittlePro MDL Senior Member

    Jan 19, 2017
    347
    119
    10
    1. Have full control over updates using That or That

    2. Use DISM commands to repair WU for eg.
    Code:
    DISM /Online /Cleanup-Image /ScanHealth
    Code:
    DISM /Online /Cleanup-Image /RestoreHealth
    3. Use Windows 10 Enterprise LTSC 2019 to get regular updates without returning removed components.

    Thanks. ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    - Try install the update using .msu or .cab file with DISM

    - Do integrate the latest CU and remove the components and then try in-place upgrade.

    Yes even for v2004 expect the Windows App all other removed components will be returned back.

    Try using unattend.xml to skip the setup questions and to use local account.


     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    #14638 MSMG, Apr 4, 2020
    Last edited: Apr 4, 2020
    (OP)
    Updated the ToolKit to v9.7

    Highlights:


    Windows 10 10.0.19592.1000 ADK Tools
    Windows 10 v1909 (v10.0.18363.753 ) removal support.
    Windows 10 v2004 (v10.0.19041.172 ) Windows Apps removal support.

    v9.7
    + Updated ToolKit's Bin folder with Windows 10 20H1 Insider Preview WADK (v10.0.19592.1000) Tools.
    + Fixed bugs in the Integrate Windows Features Menu choice items.
    + Updated the Feature "Integrate WHD Updates" to Reflect the WHD Hotfix Repository Update List.
    + Updated the Feature "Remove Windows Component" to support Windows 10 Client v1909 (v10.0.18363.753) Source OS.
    + Updated the Feature "Remove Windows Component" to support removing Windows Apps for Windows 10 Client v2004 (v10.0.19041.172) Source OS.
    + Fixed Typo Errors and Optimized ToolKit Code (Thanks to MDL Member Kenafri).

    Note: I have moved the Store, Xbox and Xbox Identity Provider Apps to Windows Apps section and split Windows Apps category as Windows Apps-1 and Windows Apps-2.

    Removing All Windows Apps in Windows Apps-1 menu will also remove the apps in Windows Apps-2 too.
     
  17. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30
    @MSMG
    Thank you again for your hard work. This will help with my boredom later, as I can test with latest 1909 and perhaps 20H1.