1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    #12401 MSMG, Sep 15, 2019
    Last edited: Sep 15, 2019
    (OP)
    Yes Will correct the issue in next build.

     
  2. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
    Thanks
     
  3. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    I have remove Insider Hub, but...
    Clipboard-1.jpg


    Did not integrate cumulative update and uninstall all applications and components. After installing the system, I completely denied access to the WinSxS folder and when we try to install the update we get an error:
    Clipboard-12.jpg
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    390
    114
    10
    You could make list generators so people can see what they have:



    Under [8] Tools

    Add [4] Generate Lists
    with individual options for each and the last option being All of them.

    [1] Features
    [2] Packages
    [3] Provisioned Apps
    [4] Drivers
    [5] Capabilities
    [6] All


    Code:
    Echo --------------------------------------------------------------------------------
    Echo "Listing Packages/Apps"
    Echo --------------------------------------------------------------------------------
    "%DISMX64% /Image:%MOUNT% /Get-Packages /Format:Table>"%BUILD%\10 Build\10 Features\Pre-Packages.txt"
    "%DISMX64% /Image:%MOUNT% /Get-Features /Format:Table>"%BUILD%\10 Build\10 Features\Pre-Features.txt"
    "%DISMX64% /Image:%MOUNT% /Get-ProvisionedAppxPackages /Format:Table>"%BUILD%\10 Build\10 Features\Pre-ProvisionedAppx.txt"
    "%DISMX64% /Image:%MOUNT% /Get-Drivers>"%BUILD%\10 Build\10 Features\Pre-Drivers.txt"
    "%DISMX64% /Image:%MOUNT% /Get-Capabilities  /Format:Table>"%BUILD%\10 Build\10 Features\Pre-Capabilities.txt"
    
     
  5. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    786
    631
    30
    Currently testing other things and removal of WindowsApps does not appear to work.
    ===============================================================================
    MSMG ToolKit - Remove Windows Components Using Package List
    ===============================================================================

    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------

    Image : Install.wim
    Image Index : 1
    Image Architecture : x86
    Image Version : 10.0.18362.30.0
    Image Edition : Enterprise
    Image Default Language : en-GB

    -------------------------------------------------------------------------------
    ####Removing Windows Components Using Package List#############################
    -------------------------------------------------------------------------------

    -------------------------------------------------------------------------------
    Removing WindowsApps Package...
    -------------------------------------------------------------------------------

    The specified package has already been removed...

    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------

    ===============================================================================
    I had hoped to remove Remove all metro apps (4 > 1 > 7 > 8) from my existing method by adding WindowsApps to RemovePkgsList.txt.
     
  6. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    Those are two different things. For metro apps, you should use RemoveAppsList.txt, not package list.

    Cheers.
     
  7. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    Having peeked around a bit in the appmanifest.

    Windows Camera:
    Code:
    <Dependencies>
        <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17134.0" MaxVersionTested="10.0.17663.0" />
        <PackageDependency Name="Microsoft.NET.Native.Framework.2.2" MinVersion="2.2.27011.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
        <PackageDependency Name="Microsoft.NET.Native.Runtime.2.2" MinVersion="2.2.27011.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
        <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.26706.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
      </Dependencies>
    Windows Alarms:
    Code:
    <Dependencies>
        <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17134.0" MaxVersionTested="10.0.17763.0"/>
        <PackageDependency Name="Microsoft.UI.Xaml.2.1" MinVersion="2.11904.5004.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
        <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.26706.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
      </Dependencies>
    Store:
    Code:
    <Dependencies>
        <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.14393.0" MaxVersionTested="10.0.17749.0"/>
        <TargetDeviceFamily Name="Windows.Holographic" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0"/>
        <PackageDependency Name="Microsoft.NET.Native.Framework.1.7" MinVersion="1.7.25531.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
        <PackageDependency Name="Microsoft.NET.Native.Runtime.1.7" MinVersion="1.7.25531.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
        <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.24123.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
      </Dependencies>
    DesktopAppInstaller:
    Code:
    <Dependencies>
        <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.14393.0" MaxVersionTested="10.0.18307.0"/>
        <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.25426.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
        <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.26706.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"/>
      </Dependencies>
    So, it seems some apps can be used even on 1607 (LTSB). Others can be used from 1803 onwards.
    And the Adguard site is right about offering a s**tload of dependencies.
    Strangly, I did include the dependencies for Windows Alarms and Clock, but it wouldn't work until I updated from Store.

    Cheers.
     
  8. biatche

    biatche MDL Addicted

    Nov 14, 2009
    573
    144
    30
    This issue -- critical? does it affect rs5 + offline image with cumulative updates? (Sorry, I don't understand it)
     
  9. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,613
    270
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Is it RS5 or RS6? did you used the required ServicePackBuild? and hope you didn't use NTLite along with Toolkit.

    Will check about the Windows Insiders Hub.


    I have already specified about the WinSXS, I need time to experiment.

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes I could, will be added in next build.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Will checkout, I did tested with v1809.1 and v1903.1.

    Did yo used ToolKitHelper:WindowsApps in the list.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    No he is doing correct, He is removing all apps using the ToolKitHelper.exe method.

     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes some apps do work on older OS, I will make the run time and dependency to be common for all OS by adding all the available latest rutimes and dependency files.

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    RS5 is safe, it's only for v1903.

     
  16. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    19H1, build 18362.30 x64 Pro en-us.
    did not use NTLite.
    integrated only three updates - SSU, Dotnet rollup, Flash. And Net3.5.
    I did it strictly according to your instructions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    786
    631
    30
    #12417 Feartamixg, Sep 16, 2019
    Last edited: Sep 16, 2019
    I had WindowsApps in RemoveAppsList.txt. After messing about and testing, I slowly learned that ToolKitHelper:WindowsApps should be in RemovePkgsList.txt.

    I must confess that I find editing these files very confusing.

    This is my old and current method:
    Extract ISO (1 > 3)

    Select source (1 > 1) (also mount boot and recovery images)

    Integrate Win32 calculator (3 > 3 > B)

    Cleanup (6 > 1)

    Remove all metro apps (4 > 1 > 7 > 8)

    Remove Connect, Onedrive, People, Skype, Store, Xbox, Game bar, Xbox ID (4 > 1 > 6 > E/N/P/T/Z/1/2/3)

    Apply SSU and CU updates (3 > 4 > 2 > 1 > 4)

    Apply setup media update (3 > 4 > 2 > 2)

    Tweaks for Task View, App Downloads, Photo Viewer (5 > 6 > B/D/J)

    Cleanup (6 > 1)

    Apply changes to image (6 > 2)

    Rebuild (6 > 1)

    Convert WIM to ESD (2 > 4)

    Make ISO (7 > 1)
    I suspect that perhaps I should move Remove all metro apps AFTER Remove Connect...etc?

    Also I have revised my removal and this what I intend to remove in my future method:
    Extract ISO (1 > 3)

    Select source (1 > 1) (also mount boot and recovery images)

    Integrate Win32 calculator (3 > 3 > B)

    Cleanup (6 > 1)

    Remove Game Explorer (4 > 1 > 2 > 2)

    Remove Connect, Map Control, Onedrive, People, Retail, Skype, Test, Mixed Reality, Store, Xbox, Game bar, Xbox ID (4 > 1 > 6 > E, L, N, P, R, T, V, Y, Z, 1, 2, 3)

    Remove all metro apps (4 > 1 > 7 > 8)

    Apply SSU and CU updates (3 > 4 > 2 > 1 > 4)

    Apply setup media update (3 > 4 > 2 > 2)

    Tweaks for Task View, App Downloads, Photo Viewer (5 > 6 > B/D/J)

    Cleanup (6 > 1)

    Apply changes to image (6 > 2)

    Rebuild (6 > 1)

    Convert WIM to ESD (2 > 4)

    Make ISO (7 > 1)
    First and most importantly, are there any potential issues in this method?

    Secondly, is there some way I condense the removal into lists to reduce my time spent waiting and inputting?
     
  18. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Remove Windows Apps using Apps List uses the DISM method to remove apps.

    Remove Windows Components using Package List can use DISM to remove components and also use ToolKitHelper to remove both Apps and components based on the entries in the RemovePkgsList.txt.

    You just need to add the ToolKitHelper entries in the RemovePkgsList.txt and just forget the RemoveAppsList.txt

    Removing the components in any order shouldn't have any issues although I have only tested the removal in the order of the menu given in the Toolkit.

    As per you steps I think the below entries are just sufficient to be present in the RemovePkgsList.txt, add the the below entries to RemovePkgsList.txt and then only use the Remove Windows Components using Package List instead of Remove Windows Components.

    Code:
    ToolKitHelper:GameExplorer
    ToolKitHelper:MapControl
    ToolKitHelper:OneDrive
    ToolKitHelper:PeopleExperienceHost
    ToolKitHelper:PPIProjection
    ToolKitHelper:RetailDemoContent
    ToolKitHelper:SkypeORTC
    ToolKitHelper:SecureAssessmentBrowser
    ToolKitHelper:WindowsMixedReality
    ToolKitHelper:XboxGameCallableUI
    ToolKitHelper:WindowsApps