1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    The PowerShell or DISM command will only remove the files from Program Files\WindowsApps, the ToolkitHelper removes from both Program Files\WindowsApps and the Windows\System32.

     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes search is retained when the Cortana is removed, just remove the Cortana App.

     
  3. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    use /spoiler
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    This is what happens when more than one way is provided to use the Tool, people mix-up all the methods.

     
  5. Errorist

    Errorist MDL Novice

    May 8, 2016
    5
    0
    0
    @MSMG: Don't want to be rude, but any updates on the GUI yet? A few weeks ago you spoiled that we could expect a new thread about it soon.
     
  6. tekniker_2

    tekniker_2 MDL Novice

    Aug 3, 2009
    5
    0
    0
    #15806 tekniker_2, Jul 3, 2020
    Last edited: Jul 3, 2020
    I have done a lot of trials for 3 days ... I have tried every way that can be applied ... How can I remove the applications even though I have deleted the lines of the code? We are trying to learn here ... Not learned without mistakes, right?

    :: System Components
    if "%Component%" equ "DeviceLockdown" call :RemoveWindowsComponent "%InstallMount%\%%i", "Device Lockdown [Embedded Experience]", "DeviceLockdown"
    if "%Component%" equ "EaseOfAccessThemes" call :RemoveWindowsComponent "%InstallMount%\%%i", "Ease Of Access Themes", "EaseOfAccessThemes"
    if "%Component%" equ "EasyTransfer" call :RemoveWindowsComponent "%InstallMount%\%%i", "Easy Transfer", "EasyTransfer"
    if "%Component%" equ "FileHistory" call :RemoveWindowsComponent "%InstallMount%\%%i", "File History", "FileHistory"
    if "%Component%" equ "ManualSetup" call :RemoveWindowsManualSetup
    if "%Component%" equ "Paint" call :RemoveWindowsComponent "%InstallMount%\%%i", "Microsoft Paint", "Paint"
    if "%Component%" equ "SecurityCenter" call :RemoveWindowsComponent "%InstallMount%\%%i", "Security Center", "SecurityCenter"
    if "%Component%" equ "StepsRecorder" call :RemoveWindowsComponent "%InstallMount%\%%i", "Steps Recorder", "StepsRecorder"
    if "%Component%" equ "SystemRestore" call :RemoveWindowsComponent "%InstallMount%\%%i", "System Restore", "SystemRestore"
    if "%Component%" equ "WindowsBackup" call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Backup", "WindowsBackup"
    if "%Component%" equ "WindowsSubsystemForLinux" call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Subsystem For Linux", "WindowsSubsystemForLinux"
    if "%Component%" equ "WindowsToGo" call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows To Go", "WindowsToGo"
    if "%Component%" equ "Wordpad" call :RemoveWindowsComponent "%InstallMount%\%%i", "Wordpad", "Wordpad"
    ............................................................................................

    :: System Components
    if "%Component%" equ "DeviceLockdown" call :RemoveWindowsComponent "%InstallMount%\%%i", "Device Lockdown [Embedded Experience]", "DeviceLockdown"
    if "%Component%" equ "EaseOfAccessThemes" call :RemoveWindowsComponent "%InstallMount%\%%i", "Ease Of Access Themes", "EaseOfAccessThemes"
    if "%Component%" equ "EasyTransfer" call :RemoveWindowsComponent "%InstallMount%\%%i", "Easy Transfer", "EasyTransfer"
    if "%Component%" equ "FileHistory" call :RemoveWindowsComponent "%InstallMount%\%%i", "File History", "FileHistory"
    if "%Component%" equ "SecurityCenter" call :RemoveWindowsComponent "%InstallMount%\%%i", "Security Center", "SecurityCenter"
    if "%Component%" equ "StepsRecorder" call :RemoveWindowsComponent "%InstallMount%\%%i", "Steps Recorder", "StepsRecorder"
    if "%Component%" equ "Wordpad" call :RemoveWindowsComponent "%InstallMount%\%%i", "Wordpad", "Wordpad"

    ####Removing Windows Components################################################
    -------------------------------------------------------------------------------

    -------------------------------------------------------------------------------
    Removing System Components Package...
    -------------------------------------------------------------------------------

    MSMG ToolKit Commandline Helper
    Version: 1.0.3348.0

    Image Version: 10.0.19042.330

    Component : DeviceLockdown

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : EaseOfAccessThemes

    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : EasyTransfer

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : FileHistory

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : Paint

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : SecurityCenter

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : StepsRecorder

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : SystemRestore

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : WindowsBackup

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : WindowsSubsystemForLinux

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : WindowsToGo

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    Component : Wordpad

    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...

    The operation completed successfully.

    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components#######################################
    -------------------------------------------------------------------------------

    ===============================================================================
     
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Considering the fact that these new versions from 2018 are left without a calculator after removing the windowsapps, it may be interesting to keep the Windows Store. You have to remember to integrate WinCalc32 or download WinCalc32, if you need to.

    So...
    @MSMG,
    And, how about these for Looks Like LTSC? Should they be removed?
    Code:
    WindowsMixedReality
    XboxGameCallableUI
    
    If I want to maintain the functionality of the store which windows apps should be kept?
    Only these?
    Code:
    AdvertisingXaml
    WindowsStore
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #15808 inTerActionVRI, Jul 3, 2020
    Last edited: Jul 4, 2020
    I'm sorry, man! But you were not in the right part of the code. And, I didn't point out the right part. My mistake.

    In these, if you modify by commenting the lines you break the removal operation by individual selection.
    :: Internet Components
    :: Multimedia Components
    :: Privacy Components
    :: Remoting Components
    :: System Components
    :: System Components
    :: System Apps
    :: Windows Apps

    In these you can modify: they are the parties responsible for removing all components at once.

    Code:
           if "%Component%" equ "SystemApps" (
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Azure Active Directory AppX Broker Plugin", "AADBrokerPlugin"
               rem if "%ImageFlag%" neq "Core" if "%ImageFlag%" neq "CoreN" if "%ImageFlag%" neq "CoreSingleEdition" call :RemoveWindowsComponent "%InstallMount%\%%i", "Assigned Access Lock App", "AssignedAccessLockApp"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Bio Enrollment App", "BioEnrollment"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Camera Barcode Scanner", "CBSPreview"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Content Delivery Manager", "ContentDeliveryManager"
               rem if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" call :RemoveWindowsComponent "%InstallMount%\%%i", "Cortana, StartMenu and Settings Search App", "Cortana"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Eye Control App", "ECApp"
               rem if "%ImageFlag%" neq "EnterpriseS" if "%ImageFlag%" neq "EnterpriseSN" if "%ImageFlag%" neq "EnterpriseS" if "%ImageFlag%" neq "EnterpriseSN" call :RemoveWindowsComponent "%InstallMount%\%%i", "Edge Browser App", "Edge"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Edge Developer Tools Client", "EdgeDevToolsClient"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "File Explorer App", "FileExplorer"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Lockscreen App", "LockApp"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Map Control", "MapControl"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Narrator QuickStart", "NarratorQuickStart"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "OneDrive Desktop Client", "OneDrive"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Parental Controls App", "ParentalControls"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "People Experience Host", "PeopleExperienceHost"
               rem if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" if "%ImageFlag%" neq "Core" if "%ImageFlag%" neq "CoreN" if "%ImageFlag%" neq "CoreSingleEdition" if "%ImageFlag%" neq "EnterpriseS" if "%ImageFlag%" neq "EnterpriseSN" call :RemoveWindowsComponent "%InstallMount%\%%i", "Connect App", "PPIProjection"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Quick Assist App", "QuickAssist"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Retail Demo Content", "RetailDemoContent"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Take Test App", "SecureAssessmentBrowser"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Setting Sync", "SettingSync"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Skype ORTC", "SkypeORTC"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "SmartScreen App", "SmartScreen"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Win32 WebView Host", "Win32WebViewHost"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Defender App", "WindowsDefender"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Mixed Reality", "WindowsMixedReality"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Reader [PDF]", "WindowsReaderPDF"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Xbox Game Callable UI", "XboxGameCallableUI"
           )
    
           if "%Component%" equ "WindowsApps" (
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Mixed Reality Viewer App", "3DViewer"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Advertising Xaml", "AdvertisingXaml"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Alarms and Clock App", "Alarms"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Weather App", "BingWeather"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Calculator App", "Calculator"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Camera App", "Camera"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Mail App", "CommunicationsApps"
               rem if "%ImageBuild%" equ "19041" call :RemoveWindowsComponent "%InstallMount%\%%i", "Cortana App", "Cortana"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Desktop App Installer", "DesktopAppInstaller"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Feedback Hub App", "FeedbackHub"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Get Help App", "GetHelp"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Tips App", "Getstarted"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "High Efficiency Image File Codec Plugin", "HEIFImageExtension"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Maps App", "Maps"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Messaging App", "Messaging"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Mixed Reality Portal App", "MixedRealityPortal"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "My Office App", "OfficeHub"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "OneNote App", "OfficeOneNote"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Mobile Plans App", "OneConnect"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Paint 3D App", "Paint3D"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "People App", "People"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Photos App", "Photos"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Print 3D App", "Print3D"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Screen Sketch App", "ScreenSketch"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Skype App", "SkypeApp"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Solitaire Collection App", "SolitaireCollection"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Voice Recorder App", "SoundRecorder"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Sticky Notes App", "StickyNotes"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Google's VP9 WebM Video Codec Plugin", "VP9VideoExtensions"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Microsoft Pay App", "WalletService"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Web Media Extension Plugin", "WebMediaExtensions"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Webp Image Extension Plugin", "WebpImageExtensions"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Store App", "WindowsStore"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Xbox App", "XboxApp"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Xbox Identity Provider", "XboxIdentityProvider"
               rem call :RemoveWindowsComponent "%InstallMount%\%%i", "Your Phone App", "YourPhone"
               call :RemoveWindowsComponent "%InstallMount%\%%i", "Groove Music App", "ZuneMusic"
               if "%ImageBuild%" leq "18363" call :RemoveWindowsComponent "%InstallMount%\%%i", "Films and TV App", "ZuneVideo"
               if "%ImageBuild%" equ "19041" call :RemoveWindowsComponent "%InstallMount%\%%i", "Movies and TV App", "ZuneVideo"
           )
    
    Code:
           if "%Component%" equ "SystemApps" (
               rem call :RemoveWindowsComponent "%InstallMount%", "Azure Active Directory AppX Broker Plugin", "AADBrokerPlugin"
               rem if "%ImageFlag%" neq "Core" if "%ImageFlag%" neq "CoreN" if "%ImageFlag%" neq "CoreSingleEdition" call :RemoveWindowsComponent "%InstallMount%", "Assigned Access Lock App", "AssignedAccessLockApp"
               rem call :RemoveWindowsComponent "%InstallMount%", "Bio Enrollment App", "BioEnrollment"
               rem call :RemoveWindowsComponent "%InstallMount%", "Camera Barcode Scanner", "CBSPreview"
               call :RemoveWindowsComponent "%InstallMount%", "Content Delivery Manager", "ContentDeliveryManager"
               rem if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" call :RemoveWindowsComponent "%InstallMount%", "Cortana, StartMenu and Settings Search App", "Cortana"
               call :RemoveWindowsComponent "%InstallMount%", "Eye Control App", "ECApp"
               rem if "%ImageFlag%" neq "EnterpriseS" if "%ImageFlag%" neq "EnterpriseSN" if "%ImageFlag%" neq "EnterpriseS" if "%ImageFlag%" neq "EnterpriseSN" call :RemoveWindowsComponent "%InstallMount%", "Edge Browser App", "Edge"
               call :RemoveWindowsComponent "%InstallMount%", "Edge Developer Tools Client", "EdgeDevToolsClient"
               rem call :RemoveWindowsComponent "%InstallMount%", "File Explorer App", "FileExplorer"
               rem call :RemoveWindowsComponent "%InstallMount%", "Lockscreen App", "LockApp"
               call :RemoveWindowsComponent "%InstallMount%", "Map Control", "MapControl"
               rem call :RemoveWindowsComponent "%InstallMount%", "Narrator QuickStart", "NarratorQuickStart"
               call :RemoveWindowsComponent "%InstallMount%", "OneDrive Desktop Client", "OneDrive"
               rem call :RemoveWindowsComponent "%InstallMount%", "Parental Controls App", "ParentalControls"
               rem call :RemoveWindowsComponent "%InstallMount%", "People Experience Host", "PeopleExperienceHost"
               rem if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" if "%ImageFlag%" neq "Core" if "%ImageFlag%" neq "CoreN" if "%ImageFlag%" neq "CoreSingleEdition" if "%ImageFlag%" neq "EnterpriseS" if "%ImageFlag%" neq "EnterpriseSN" call :RemoveWindowsComponent "%InstallMount%", "Connect App", "PPIProjection"
               rem call :RemoveWindowsComponent "%InstallMount%", "Quick Assist App", "QuickAssist"
               call :RemoveWindowsComponent "%InstallMount%", "Retail Demo Content", "RetailDemoContent"
               call :RemoveWindowsComponent "%InstallMount%", "Take Test App", "SecureAssessmentBrowser"
               rem call :RemoveWindowsComponent "%InstallMount%", "Setting Sync", "SettingSync"
               call :RemoveWindowsComponent "%InstallMount%", "Skype ORTC", "SkypeORTC"
               rem call :RemoveWindowsComponent "%InstallMount%", "SmartScreen App", "SmartScreen"
               rem call :RemoveWindowsComponent "%InstallMount%", "Win32 WebView Host", "Win32WebViewHost"
               rem call :RemoveWindowsComponent "%InstallMount%", "Windows Defender App", "WindowsDefender"
               rem call :RemoveWindowsComponent "%InstallMount%", "Windows Mixed Reality", "WindowsMixedReality"
               rem call :RemoveWindowsComponent "%InstallMount%", "Windows Reader [PDF]", "WindowsReaderPDF"
               rem call :RemoveWindowsComponent "%InstallMount%", "Xbox Game Callable UI", "XboxGameCallableUI"
           )
    
           if "%Component%" equ "WindowsApps" (
               rem call :RemoveWindowsComponent "%InstallMount%", "Mixed Reality Viewer App", "3DViewer"
               rem call :RemoveWindowsComponent "%InstallMount%", "Advertising Xaml", "AdvertisingXaml"
               rem call :RemoveWindowsComponent "%InstallMount%", "Alarms and Clock App", "Alarms"
               call :RemoveWindowsComponent "%InstallMount%", "Weather App", "BingWeather"
               rem call :RemoveWindowsComponent "%InstallMount%", "Calculator App", "Calculator"
               rem call :RemoveWindowsComponent "%InstallMount%", "Camera App", "Camera"
               rem call :RemoveWindowsComponent "%InstallMount%", "Windows Mail App", "CommunicationsApps"
               rem if "%ImageBuild%" equ "19041" call :RemoveWindowsComponent "%InstallMount%", "Cortana App", "Cortana"
               rem call :RemoveWindowsComponent "%InstallMount%", "Desktop App Installer", "DesktopAppInstaller"
               call :RemoveWindowsComponent "%InstallMount%", "Feedback Hub App", "FeedbackHub"
               call :RemoveWindowsComponent "%InstallMount%", "Get Help App", "GetHelp"
               call :RemoveWindowsComponent "%InstallMount%", "Tips App", "Getstarted"
               rem call :RemoveWindowsComponent "%InstallMount%", "High Efficiency Image File Codec Plugin", "HEIFImageExtension"
               call :RemoveWindowsComponent "%InstallMount%", "Maps App", "Maps"
               call :RemoveWindowsComponent "%InstallMount%", "Messaging App", "Messaging"
               rem call :RemoveWindowsComponent "%InstallMount%", "Mixed Reality Portal App", "MixedRealityPortal"
               call :RemoveWindowsComponent "%InstallMount%", "My Office App", "OfficeHub"
               rem call :RemoveWindowsComponent "%InstallMount%", "OneNote App", "OfficeOneNote"
               call :RemoveWindowsComponent "%InstallMount%", "Mobile Plans App", "OneConnect"
               rem call :RemoveWindowsComponent "%InstallMount%", "Paint 3D App", "Paint3D"
               rem call :RemoveWindowsComponent "%InstallMount%", "People App", "People"
               rem call :RemoveWindowsComponent "%InstallMount%", "Photos App", "Photos"
               rem call :RemoveWindowsComponent "%InstallMount%", "Print 3D App", "Print3D"
               rem call :RemoveWindowsComponent "%InstallMount%", "Screen Sketch App", "ScreenSketch"
               call :RemoveWindowsComponent "%InstallMount%", "Skype App", "SkypeApp"
               rem call :RemoveWindowsComponent "%InstallMount%", "Solitaire Collection App", "SolitaireCollection"
               rem call :RemoveWindowsComponent "%InstallMount%", "Voice Recorder App", "SoundRecorder"
               rem call :RemoveWindowsComponent "%InstallMount%", "Sticky Notes App", "StickyNotes"
               rem call :RemoveWindowsComponent "%InstallMount%", "Google's VP9 WebM Video Codec Plugin", "VP9VideoExtensions"
               rem call :RemoveWindowsComponent "%InstallMount%", "Microsoft Pay App", "WalletService"
               rem call :RemoveWindowsComponent "%InstallMount%", "Web Media Extension Plugin", "WebMediaExtensions"
               rem call :RemoveWindowsComponent "%InstallMount%", "Webp Image Extension Plugin", "WebpImageExtensions"
               rem call :RemoveWindowsComponent "%InstallMount%", "Windows Store App", "WindowsStore"
               rem call :RemoveWindowsComponent "%InstallMount%", "Xbox App", "XboxApp"
               rem call :RemoveWindowsComponent "%InstallMount%", "Xbox Identity Provider", "XboxIdentityProvider"
               rem call :RemoveWindowsComponent "%InstallMount%", "Your Phone App", "YourPhone"
               call :RemoveWindowsComponent "%InstallMount%", "Groove Music App", "ZuneMusic"
               if "%ImageBuild%" leq "18363" call :RemoveWindowsComponent "%InstallMount%", "Films and TV App", "ZuneVideo"
               if "%ImageBuild%" equ "19041" call :RemoveWindowsComponent "%InstallMount%", "Movies and TV App", "ZuneVideo"
           )
    
    Take a good look at my example: these are two parts of the code. What you comment on in the first part, you must comment on in the second part.[/SPOILER]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    @MSMG
    The gamepack doesn't work at all, not any game, on Windows 10 LTSC Spanish.
    I've tested in compatibility mode, run as admin - clicking the executable nothing happens.

    Cheers.
     
  10. tekniker_2

    tekniker_2 MDL Novice

    Aug 3, 2009
    5
    0
    0
    -------------------------------------------------------------------------------------
    Thank you for the information ... Is the operation in the example below correct? ... If it is true, the toolkit still uninstalls the applications even though I did this...

    :: System Components
    if "%Component%" equ "DeviceLockdown" call :RemoveWindowsComponent "%InstallMount%\%%i", "Device Lockdown [Embedded Experience]", "DeviceLockdown"
    if "%Component%" equ "EaseOfAccessThemes" call :RemoveWindowsComponent "%InstallMount%\%%i", "Ease Of Access Themes", "EaseOfAccessThemes"
    if "%Component%" equ "EasyTransfer" call :RemoveWindowsComponent "%InstallMount%\%%i", "Easy Transfer", "EasyTransfer"
    if "%Component%" equ "FileHistory" call :RemoveWindowsComponent "%InstallMount%\%%i", "File History", "FileHistory"
    rem if "%Component%" equ "ManualSetup" call :RemoveWindowsManualSetup
    rem if "%Component%" equ "Paint" call :RemoveWindowsComponent "%InstallMount%\%%i", "Microsoft Paint", "Paint"
    if "%Component%" equ "SecurityCenter" call :RemoveWindowsComponent "%InstallMount%\%%i", "Security Center", "SecurityCenter"
    if "%Component%" equ "StepsRecorder" call :RemoveWindowsComponent "%InstallMount%\%%i", "Steps Recorder", "StepsRecorder"
    rem if "%Component%" equ "SystemRestore" call :RemoveWindowsComponent "%InstallMount%\%%i", "System Restore", "SystemRestore"
    rem if "%Component%" equ "WindowsBackup" call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Backup", "WindowsBackup"
    rem if "%Component%" equ "WindowsSubsystemForLinux" call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows Subsystem For Linux", "WindowsSubsystemForLinux"
    rem if "%Component%" equ "WindowsToGo" call :RemoveWindowsComponent "%InstallMount%\%%i", "Windows To Go", "WindowsToGo"
    if "%Component%" equ "Wordpad" call :RemoveWindowsComponent "%InstallMount%\%%i", "Wordpad", "Wordpad"

    ------------------------------------------------------------------------------

    :: System Components
    if "%Component%" equ "DeviceLockdown" call :RemoveWindowsComponent "%InstallMount%", "Device Lockdown [Embedded Experience]", "DeviceLockdown"
    if "%Component%" equ "EaseOfAccessThemes" call :RemoveWindowsComponent "%InstallMount%", "Ease Of Access Themes", "EaseOfAccessThemes"
    if "%Component%" equ "EasyTransfer" call :RemoveWindowsComponent "%InstallMount%", "Easy Transfer", "EasyTransfer"
    if "%Component%" equ "FileHistory" call :RemoveWindowsComponent "%InstallMount%", "File History", "FileHistory"
    rem if "%Component%" equ "ManualSetup" call :RemoveWindowsManualSetup
    rem if "%Component%" equ "Paint" call :RemoveWindowsComponent "%InstallMount%", "Microsoft Paint", "Paint"
    if "%Component%" equ "SecurityCenter" call :RemoveWindowsComponent "%InstallMount%", "Security Center", "SecurityCenter"
    if "%Component%" equ "StepsRecorder" call :RemoveWindowsComponent "%InstallMount%", "Steps Recorder", "StepsRecorder"
    rem if "%Component%" equ "SystemRestore" call :RemoveWindowsComponent "%InstallMount%", "System Restore", "SystemRestore"
    rem if "%Component%" equ "WindowsBackup" call :RemoveWindowsComponent "%InstallMount%", "Windows Backup", "WindowsBackup"
    rem if "%Component%" equ "WindowsSubsystemForLinux" call :RemoveWindowsComponent "%InstallMount%", "Windows Subsystem For Linux", "WindowsSubsystemForLinux"
    rem if "%Component%" equ "WindowsToGo" call :RemoveWindowsComponent "%InstallMount%", "Windows To Go", "WindowsToGo"
    if "%Component%" equ "Wordpad" call :RemoveWindowsComponent "%InstallMount%", "Wordpad", "Wordpad"
     
  11. xhemal1325

    xhemal1325 MDL Member

    May 24, 2014
    124
    10
    10
    How is search box named inside MSMG i dont see any search, so i dont remove it ? inside system app there is only File explorer app ? is that it ?
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes I'm working on that, will update about it soon.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    It's not about editing the code, but I was talking about using all the methods at once.

    If you are going to use the Menus to remove the components then don't use the remove from using package list mode. If using package list mode then don't use both the DISM and ToolKitHelper method, just use one method.

    Now about modifying the script, the script contains code for both multi-index and single-index, The code you have modified is for multi-index.

    As @RaiyvaN said do the modification for single index.

     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes Win32Calc is not present, I just posted a list of components that don't exist in LTSC.

    In LTSC Store, Xbox, WindowsMixedReality Apps are not present but there back-end files do exist, the Store back-end files are used for downloading Device drivers control panel Apps like Display or Audio UWP Apps.

    In LTSC XboxGameCallableUI is present.

    For Store, keep WindowsStore, XboxIdentityProvider.

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Make sure you don't remove components like GameExplorer, WinSAT

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    In System Components Menu if you choose Remove All then the below code will have no effect, since the Remove All will call :RemoveWindowsComponent "%InstallMount%", "All System Components", "SystemApps".

     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    There is no search removal in Toolkit, the search app is Microsoft.Windows.Search_cw5n1h2txyewy

    The File Explorer App is the UWP version of File Explorer.

     
  18. xhemal1325

    xhemal1325 MDL Member

    May 24, 2014
    124
    10
    10
    Thank you
     
  19. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    I delete XboxIdentityProvider and the Store is working fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Take a look again.
    The part you can edit starts with that first line of the code parts I posted.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...