MSMG ToolKit

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

  1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Removing some components offline breaks the OS and they can only be removed online, CloudExperienceHost is one of such type.

    Try as @AeonX told, if it works disabling using unattend.xml file

    Code:
    <FirstLogonCommands>
       <SynchronousCommand wcm:action="add">
          <CommandLine>schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable</CommandLine>
          <Description>Disabling CloudExperienceHost Task </Description>
          <Order>1</Order>
       </SynchronousCommand>
    </FirstLogonCommands>
    
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    AdvertisingXAML

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Make sure you have integrated the cu .172

    Import the below registry settings before component removal

    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "CurrentBuild"=18363
    "CurrentBuildNumber"=18363
    "ReleaseId"=1909
    "UBR"=dword:000002d0
    

    Import the below registry settings after component removal

    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "CurrentBuild"=19041
    "CurrentBuildNumber"=19041
    "ReleaseId"=2004
    "UBR"=dword:000000ac
    

    PS. I don't recommend this method since the component removal may differ for v2004, try at your own risk.


     
  4. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    import via ToolKit after mounting the image?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    #14585 windows builder, Mar 29, 2020
    Last edited: Mar 29, 2020
    here:
    HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo
    HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\AdvertisingInfo

    Enabled 0

    ???

    or how to return back correctly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Yes.

    Integrate AdvertisingXAML appx

     
  7. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    #14587 windows builder, Mar 29, 2020
    Last edited: Mar 29, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. LittlePro

    LittlePro MDL Senior Member

    Jan 19, 2017
    347
    119
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    #14589 windows builder, Mar 30, 2020
    Last edited: Mar 30, 2020
    Installed the package:

    2020-03-30 001.png

    2020-03-30 001.png

    but did not find the .xml file to install.
    Mail and Calendar applications still crash at startup.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. amnester

    amnester MDL Junior Member

    Nov 9, 2018
    53
    9
    0
    Hi. Mail and Calendar are linked to telemetry. If you delete telemetry, these apps will NOT work!
     
  11. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    do not write nonsense!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Is the source is W10 v1909?

    Advertising.Xaml is a dependency package for Weather, Windows Mail and Calendar App.
    It is installed along with the Weather or Windows Mail and Calendar App using the /DependencyPackage switch

     
  13. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    W10 v2004 build 19041.172

    How to solve a problem?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    and People app too :mad:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    I did everything as advised. Does not work.

    2020-03-30 001.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    #14596 windows builder, Mar 30, 2020
    Last edited: Mar 30, 2020
    I did everything as advised. Does not work.
    Menu item 5-7
    or 8-3-4
    Reg file integration does not change registry values.
    Had to be changed manually.
    But still, Toolkit defines the image as 19041.172.

    2020-03-30 001.png

    2020-03-30 0012.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Use it at your own risk, the component removal will differ for v2004, and I won't support if any component breaks using this method.

    Try the below method

    - Mount the image, load the image registry using [8] Load Image Registry

    - Import the below registry settings

    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "BuildLabEx"="18363.1.x86fre.vb_release.191206-1406"
    "CurrentBuild"="18363"
    "UBR"=dword:000002d0
    
    
    - Unload the image registry using [8] UnLoad Image Registry

    - Now remove the components

    - Load the image registry using [8] Load Image Registry

    - Import the below registry settings

    Code:
    
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "BuildLabEx"="19041.1.x86fre.vb_release.191206-1406"
    "CurrentBuild"="19041"
    "UBR"=dword:000000ac
    
    
    - Unload the image registry using [8] UnLoad Image Registry




     
  18. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    It works now:

    2020-03-31 001.png

    :):):)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,030
    1,328
    90
    For the sake of experiment, I removed AdvertisingXAML from the image (v2004 build 19041.172), but left the Mail, Calendar, People applications to check the dependency and whether they will start and work after the installation of the system. Installed a system and applications did not start. But then I updated them through the Store and they started to work. :)

    Also deleted the following packages:

    ToolKitHelper:SystemRestore
    ToolKitHelper:WindowsSubsystemForLinux
    ToolKitHelper:WindowsToGo
    ToolKitHelper:EdgeDevToolsClient
    ToolKitHelper:Edge
    ToolKitHelper:OneDrive
    ToolKitHelper:SkypeORTC
    ToolKitHelper:AdvertisingXaml
    ToolKitHelper:SkypeApp
    ToolKitHelper:WindowsMediaPlayer
    ToolKitHelper:HomeGroup
    ToolKitHelper:SecurityCenter
    ToolKitHelper:SmartScreen
    ToolKitHelper:WindowsDefender
    ToolKitHelper:OfficeHub
    ToolKitHelper:OfficeOneNote
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. #14600 Deleted member 1071488, Mar 31, 2020
    Last edited by a moderator: Mar 31, 2020