MSMG ToolKit

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

  1. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,757
    1,488
    60
    #21801 (\_/)^(\_/), Dec 8, 2021
    Last edited: Dec 8, 2021
    Created AIO win10 Current Installed Online OS packages Removal Script. working great at my side from 10586 till latest 1904x but the way MSMG toolkit removes leftovers too is awesome . still recommend users not to use my packages removal script but to Use MSMG toolkit on offline Image which does the job flawlessly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dead0

    dead0 MDL Novice

    Jan 15, 2010
    49
    1
    0
    if anyone uses defender application guard in w10 enterprise ltsc 2021, removing remotedesktopclient & remotedesktopserver will break it
     
  3. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    574
    763
    30
    @MSMG,
    Someone had reported a bug from the InboxApps AppLicense.
    Microsoft Default Inbox Apps .xml files are missing...

    Please copy the missing files to <Packs\Apps\w10> folder...

    This will occur for anyone who has never downloaded the licenses or already deleted them from the .\Packs\Apps\w81 folder, .\Packs\Apps\w10 or .\Packs\Apps\w11.

    In order to be able to integrate the Inbox Apps, simply delete the following block of the toolkit code,
    Code:
    if not exist "%Apps%\*.xml" (
       echo.Microsoft Default Inbox Apps .xml files are missing...
       echo.
       echo.Please copy the missing files to ^<Packs\Apps\%SelectedSourceOS%^> folder...
       echo.
       goto :Stop
    )
    
    or replace by the suggested below.
    Code:
    if not exist "%AppLicense%\*.xml" (
       echo.Microsoft Default Inbox Apps .xml License files are missing...
       echo.
       echo.Please copy the missing files to ^<Bin\AppLicense^> folder...
       echo.
       goto :Stop
    )
    
     
  4. iskakfatoni

    iskakfatoni MDL Novice

    Mar 19, 2010
    12
    1
    0
    Nice trick , thx you...
     
  5. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    574
    763
    30
  6. iskakfatoni

    iskakfatoni MDL Novice

    Mar 19, 2010
    12
    1
    0
    But it's normal on other version (Windows 8.1)... But okey i'll try your solution...
     
  7. 正义羊

    正义羊 MDL Member

    Feb 21, 2016
    152
    76
    10
    #21808 正义羊, Dec 9, 2021
    Last edited: Dec 9, 2021
    @MSMG , In toolkit 12.0 between lines 18163 and 18175:
    Code:
    echo.-------------------------------------------------------------------------------
    echo.####Starting Remove Windows Apps Using Apps List###############################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.
    echo.    映像文件名称             :Install.wim
    echo.    映像索引                 :%ImageIndexNo%
    echo.    映像体系结构             :%ImageArchitecture%
    echo.    映像版本                 :%ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Removing Windows Apps Using Apps List######################################
    echo.-------------------------------------------------------------------------------
    It should be like:
    Code:
    echo.-------------------------------------------------------------------------------
    echo.####Starting Remove Windows Apps Using Apps List###############################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.    映像文件名称             :Install.wim
    echo.    映像索引                 :%ImageIndexNo%
    echo.    映像体系结构             :%ImageArchitecture%
    echo.    映像版本                 :%ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Removing Windows Apps Using Apps List######################################
    echo.-------------------------------------------------------------------------------
    Pay attention under line "echo.####Starting Remove Windows Apps Using Apps List###############################".

    It has an extra line of white space that shouldn't exist
     
  8. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    574
    763
    30
    Hoping you can solve.

    Yes, your Windows 8.1 files are allocated elsewhere in HD.
    It is very likely that there are windows 7 files that you are working, corrupted or in some HD area that has a problem. Check the hash from your official ISOS.
     
  9. Ace2

    Ace2 MDL Addicted

    Oct 10, 2014
    621
    477
    30
    Offline commands:

    capability.cmd
    Code:
    @echo off
    
    set mountdir=C:\mount
    
    setlocal EnableExtensions EnableDelayedExpansion
    
    for %%c in (
       DirectX.Configuration.Database~~~~0.0.1.0
       Hello.Face.18967~~~~0.0.1.0
       Hello.Face.Migration.18967~~~~0.0.1.0
       Language.Handwriting~~~en-US~0.0.1.0
       Language.OCR~~~en-US~0.0.1.0
       Language.Speech~~~en-US~0.0.1.0
       Language.TextToSpeech~~~en-US~0.0.1.0
       Language.Basic~~~en-US~0.0.1.0
       MathRecognizer~~~~0.0.1.0
       OneCoreUAP.OneSync~~~~0.0.1.0
       OpenSSH.Client~~~~0.0.1.0
       Print.Fax.Scan~~~~0.0.1.0
       Print.Management.Console~~~~0.0.1.0
       Windows.Client.ShellComponents~~~~0.0.1.0
    ) do (
       dism /image:%mountdir% /remove-capability /CapabilityName:%%c
    )
       dism /image:%mountdir% /get-capabilities /format:table | find "Installed" | more
    )
       pause
    
    features.cmd
    Code:
    @echo off
    
    set mountdir=C:\mount
    
    setlocal EnableExtensions EnableDelayedExpansion
    
    for %%f in (
       LegacyComponents
       DirectPlay
    ) do (
       dism /image:%mountdir% /enable-feature /featurename:%%f
    )
    
    for %%f in (
       Printing-PrintToPDFServices-Features
       Printing-XPSServices-Features
       WCF-Services45
       WCF-TCP-PortSharing45
       MediaPlayback
       WindowsMediaPlayer
       SmbDirect
       Windows-Defender-Default-Definitions
       SearchEngine-Client-Package
       MSRDC-Infrastructure
       WorkFolders-Client
       Printing-Foundation-Features
       Printing-Foundation-InternetPrinting-Client
       MicrosoftWindowsPowerShellV2Root
       MicrosoftWindowsPowerShellV2
       NetFx4-AdvSrvs
       Internet-Explorer-Optional-amd64
    ) do (
       dism /image:%mountdir% /disable-feature /featurename:%%f
    )
       dism /image:%mountdir% /get-features /format:table | find "Enabled" | more
    )
       pause
    
    install_wim_tweak.cmd
    Code:
    @echo off
    
    cd /d "%~dp0"
    
    set mountdir=C:\mount
    
    setlocal EnableExtensions EnableDelayedExpansion
    
    for %%p in (
       Microsoft-Windows-FodMetadata-Package
       Microsoft-Windows-MediaPlayer-Package
    ) do (
       install_wim_tweak.exe /p %mountdir% /c %%p /r
    )
       pause
    )
       del SOFTWAREBKP
    
     
  10. Jingzin

    Jingzin MDL Novice

    Nov 10, 2021
    44
    19
    0
    Does anyone know what shouldn't i delete in msmg toolkit to get snipping tool working?
     
  11. inTerActionVRI

    inTerActionVRI MDL Addicted

    Sep 23, 2009
    574
    763
    30
    Should be without closing parentheses:
    Code:
    dism /image:%mountdir% /get-capabilities /format:table | find "Installed" | more
    pause
    

    Should be without closing parentheses:
    Code:
    dism /image:%mountdir% /get-features /format:table | find "Enabled" | more
    pause
    

    Should be without closing parentheses:
    Code:
    pause
    del SOFTWAREBKP
    

    I know that by being small scripts, this extra closure parentheses will not be problems, but may be, if they are used in the middle of a more complex code.

    Only closing the "do command block" should be with parentheses.

    Thnx for the very good contribution!
     
  12. Jingzin

    Jingzin MDL Novice

    Nov 10, 2021
    44
    19
    0
    OK i think I found it it's called screen sketch
     
  13. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    327
    124
    10
    I think it's SnippingTool..!!
     
  14. solare

    solare MDL Novice

    Jul 15, 2020
    16
    0
    0
    Could you please provide the download link of MSMG again? It seems to have failed. Thank you very much!
     
  15. mofez

    mofez MDL Novice

    Dec 1, 2017
    9
    1
    0
    How can I (re)install XboxGameCallableUI ?
     
  16. solare

    solare MDL Novice

    Jul 15, 2020
    16
    0
    0
    @Outcast ,can you reupload this archive? Thank you.
     
  17. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    230
    32
    10
    #21820 jinvidia, Dec 11, 2021
    Last edited: Dec 11, 2021
    You mean snipping tool in start menu or screen snip in quick actions ?

    If you meant the screen snip in quick actions, then I am also facing the same issue. Starting from v11.6 I am not able to make the screen snip in quick actions work. Recently I serviced LTSC 2021 with v12.0 and I am facing sfc violation and the aforesaid screen snip issue.

    @MSMG and other members, kindly give me a solution for this. Thanks in advance.