1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    You can't integrate the full Defender packages since some are merged with other packages.

    You can use the [4] ->[4] Remove Components using Package List method to remove selected components.

     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Working on it, have added support for removing Windows Apps for v2004 and being testing it, it will be available very soon.

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Many applications do use Internet Explorer or it's components, do retain the IE and try if it works.

    WebView is related to Edge HTML and WebView2 is related to Edge Chromium

     
  4. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jahike

    jahike MDL Novice

    Oct 30, 2017
    27
    3
    0
    Instead of me spending hours removing different components, trying and failing, may I ask which components are needed for Sticky Notes to function?

    EDIT: Nevermind, I loaded it up and it says "Depends on: Windows Store", which is a shame really, because I always remove it and have no need for it. Guess it's over to Google Keep for me then.
     
  6. Cortana & EDGE get installed again after updated os from 18363.592 to 18363.752 online . Both Apps were removed via toolkit using remove package list.
    any option in script so that no any app went back afterwards.

    2. any option to disable features from wim via toolkit with a preset file so that it could be edited & saved somewhere on toolkit directory.
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    1) Due to Microsoft's change in CU package format starting from v1903 the removed components do return back when updates are installed manually or through the Windows Update, still a fix is being worked out.

    Windows Apps won't get restored only the normal components and system apps do get returned.

    2) [5] Customize -> Disable Features using features list, use this method to disable the features, do add the features names in the <Bin\Lists\DisableFeaturesList.txt> file.


     
  8. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    @MSMG Do you have a list of components that can be removed in 1903/1909 and that do not return when an update is installed? I believe that all System Apps have this behavior so can any components outside them be safely removed? For System Apps it is possible to prevent them from being deployed by removing a registry key. I would like to remove some components that insist on being reactivated after I disable such as System Restore for example.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    You might be right. Not everything can be disabled completely without removing. Some things insist on being reactivated as System Restore or run in the background as SmartScreen. Maybe I also missed something necessary to completely disable some things. But it is tedious to hunt down all things to disable since Windows 10 is very bloated compared to Windows 7. Even Windows 7 by default comes with a lot of unnecessary stuff enabled. Removing with MSMG Toolkit or NTLite is much more practical as they have already had the hard work of hunting for these things.

    But my point in my post was that it should be possible to optimize the OS without breaking the main features and for that you may have to disable components instead of removing them. And the only advantage of removing them would then be gain in disk space but I have noticed that some components in Windows 10 cannot simply be disabled.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. LittlePro

    LittlePro MDL Senior Member

    Jan 19, 2017
    389
    138
    10
    #14610 LittlePro, Apr 3, 2020
    Last edited: Apr 3, 2020
    As per earlier posts :

    If one tries to remove a component / app that M$ don't want you remove, It will probably come back with a new CU. And its not always about M$ wanting you to remove it or not. Sometimes the component is really deep integrated. So, the hard cored things will come back & only the provisional packages & apps will not come back. System Apps will always be coming back.

    The good thing is : OP Sir has plans to make it possible to run toolkit on live system / OS, So that it can be used directly to remove the returned apps after every CU.

    I think a rather killer approach is not good. It should be very clear what we gain from it.

    For a newbie like me, It will always be good to remove components directly from the command prompt menu instead of using removal lists. As it gives a handy information about dependencies. Its not the broken system & only a broken functionality due to removal of dependency / dependencies.

    Thanks. ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. #14611 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 :)
     
  12. Konuss

    Konuss MDL Novice

    Dec 1, 2017
    13
    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!
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Most of the components do get restored, some fully and some partially, only the Windows Apps don't get restored.

     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    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
    
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    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?

     
  16. 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:
     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    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 "

     
  18. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    #14619 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...
    Exactly like this :
    will test it tmrw morning.

    Thanks & Regards :)
     

    Attached Files: