1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,626
    3,361
    60
    #23201 inTerActionVRI, Jun 22, 2022
    Last edited: Jun 22, 2022
    Customize Menu
    Import Custom StartMenu Layout from XML File

    Note: This will blank your StartMenu, sometimes don't work for me.


    But in CustomToolkit
    For W11 I put a scheme that implements the replacement of startmenu.bin

    With several combination options for display in the Start menu.

    "DefaultStartMenuLayout.bin" Has only pinned shortcuts for non-removables. File Explorer and Settings.
    That is why I selected it as Default.

    1. Choose any file within Templates folder;

    2. Copy it to Main ".\Bin\StartMenuLayoutBIN" folder;

    3. Rename it to "CustomStartMenuLayout.bin".

    Note: If the file "CustomStartMenuLayout.bin" is present, the file "DefaultStartMenuLayout.bin" will be ignored.


    You can simply create your template (adding, removing and arranging the order of the pinned shortcuts) directly in your Start Menu.

    When your customization is ready, copy the "start.bin" file that was instantly overwritten, into the folder "%LocalAppdata%%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState".
    And put the newly generated "start.bin" renamed as "CustomStartMenuLayout.bin" into the ".\Bin\StartMenuLayoutBIN" folder.


    .\Toolkit\Bin\StartMenuLayoutBIN\Templates
    DefaultStartMenuLayout FileExplorer Settings [DEF4132D].bin
    start empty [9846A051].bin
    start FileExplorer IExplorer MsEdge MsStore [8A11646C].bin
    start FileExplorer MsEdge MsStore [1EF1857D].bin
    start FileExplorer MsEdge [2BBD8C33].bin
    start FileExplorer MsStore [A34D61BB].bin
    start FileExplorer UWPCalc [305193CB].bin
    start FileExplorer Win32Calc UWPCalc [DD286358].bin
    start FileExplorer Win32Calc [7FC309BA].bin
    start FileExplorer [0D17D92F].bin
    start Terminal SandBOX FileExplorer IExplorer MsEdge MsStore StickyNotes Notes UWPCalc [46598F8D].bin
    start Terminal SandBOX FileExplorer IExplorer MsEdge MsStore StickyNotes Notes Win32Calc UWPCalc [DD19B2ED].bin
    start Terminal SandBOX FileExplorer IExplorer MsEdge StickyNotes Notes UWPCalc MsStore [2AEB95AE].bin
    start Terminal SandBOX FileExplorer MsEdge MsStore UWPCalc StickyNotes Notes [95A4C0EA].bin
    start Terminal SandBOX FileExplorer MsEdge StickyNotes Notes UWPCalc MsStore [FA715075].bin
    start Terminal SandBOX FileExplorer MsEdge StickyNotes Notes Win32Calc UWPCalc MsStore [5229F5AC].bin
     
  2. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    766
    612
    30
    Code:
    GamingApp
    XboxClient
    XboxGameCallableUI
    XboxGameOverlay
    XboxGamingOverlay
    XboxIdentityProvider
    XboxSpeechToTextOverlay
    XboxTCUI
    These are the components I believe I need to KEEP and shall be adding to my list to enable Xbox App to work properly..

    I would also welcome input from @MSMG before I test, if he doesn't mind.
     
  3. hiepbg

    hiepbg MDL Junior Member

    Nov 29, 2008
    52
    24
    0
    Import Custom StartMenu Layout from XML File didn't work.

    @MSMG I removed all windows apps. But Clipchamp and Get Started still appear after install new windows 11 22h2
     
  4. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,626
    3,361
    60
    #23204 inTerActionVRI, Jun 23, 2022
    Last edited: Jun 23, 2022
    1. In CustomToolkit package, Choose any file within ".\Bin\StartMenuLayoutBIN\Templates" folder;

    2. Rename to start.bin

    3. Copy and replace it to Main "%LocalAppdata%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState" folder;

    4. Restart.

    You can change the start menu manually. Then enter the item 4 folder and save your personalized start.bin.
    When you change your menu Start.bin is saved automatically.

    When you start the system after a clean installation the icons that appear are just suggestions. They will only be installed through the store if you click.
    After a few minutes or hours, these recommendations icons will disappear.
     
  5. bala1

    bala1 MDL Member

    May 2, 2015
    178
    149
    10
    @MSMG how to remove in win10 build 19044.1739

    LiveCaptions
    VoiceAccess
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    341
    474
    10
    #23207 graver.x, Jun 23, 2022
    Last edited: Jun 23, 2022
    It seems to me that @hiepbg is primarily interested not in the personalization of the Start menu, but in the need to get rid of self-installing unwanted applications.

    That is, in this case, you can apply the setting: [4] Customize -> [8] Apply Tweaks -> [В] Disable Automatic Download and Install of 3rd Party Apps

    And remove the ContentDeliveryManager component responsible for installing them.

    And of course it will get rid of unwanted auto-installation of Teams, if it is also needed: [4] Customize -> [8] Apply Tweaks -> [C] Disable Automatic Download and Install of Microsoft Teams App
     
  7. mhussain

    mhussain MDL Senior Member

    Oct 1, 2012
    348
    138
    10
    @MSMG
    I hope you are well sir,
    after toolkit v12.3, please take a rest.
    sir.

    would it be possible to add
    the folowing?
    at some point in time?
    if it is possible I would be greatful.
    p.s doo you keep a list of possible components or stepps you will perform in the development cycle of the toolkit?
    exammple for next release?
    Microsoft-Windows-DataCenterBridging
    commenly used for enterprize situations

    Microsoft-Windows-DirectoryServices-ADAM-Client
    and friends?
    this also is commenly used in the enterprize space
    also,
    Microsoft-Windows-HVSI
    used in enterprize.
    it is also called.
    Microsoft Defender Application Guard

    Microsoft-Windows-Host-Guardian-Deployment-merged-Package
    and friends
    used in the enterprize part of something called shielded vms?
    last one I promis
    Microsoft-Windows-IIS-WebServer
    and friends.
    more commenly used in the enterprize space could be used in normal situations if you were to delv in to web development or setting up a web server.
    thank you for at least takeing a look in these.
    Majid
     
  8. srtgeek

    srtgeek MDL Novice

    Jul 30, 2015
    8
    3
    0
    @MSMG I am getting error everytime I remove components. I have tried removing components from 19044.1766 and 22621.1 ISO. and both time the same error. I change my PC and on a freshly installed windows, the same error with toolkit 12.3. I am only removing components, nothing esle. Here is my list of remove components:
    Code:
     EdgeChromium
    FirstLogonAnimation
    GameExplorer
    LockScreenBackground
    ScreenSavers
    SoundThemes
    SpeechRecognition
    Wallpapers
    WindowsThemes
    WindowsTIFFIFilter
    WinSAT
    OfflineFiles
    OpenSSH
    RemoteDesktopClient
    RemoteDifferentialCompression
    SimpleTCPIPServices
    TelnetClient
    TFTPClient
    WindowsMail
    AssignedAccess
    CEIP
    FaceRecognition
    KernelDebugging
    LocationService
    PicturePassword
    PinEnrollment
    UnifiedTelemetryClient
    WiFiNetworkManager
    WindowsErrorReporting
    WindowsInsiderHub
    HomeGroup
    MultiPointConnector
    OneDrive
    RemoteAssistance
    RemoteDesktopServer
    RemoteRegistry
    WorkFoldersClient
    AccessibilityTools
    DeviceLockdown
    EaseOfAccessCursors
    EaseOfAccessThemes
    EasyTransfer
    FileHistory
    Magnifier
    Narrator
    OnScreenKeyboard
    ProjFS
    SecurityCenter
    StepsRecorder
    StorageSpaces
    SystemRestore
    WindowsBackup
    WindowsFirewall
    WindowsSubsystemForLinux
    WindowsToGo
    Wordpad
    AADBrokerPlugin
    AccountsControl
    AddSuggestedFoldersToLibraryDialog
    AppResolverUX
    AssignedAccessLockApp
    AsyncTextService
    BioEnrollment
    CallingShellApp
    CapturePicker
    CBSPreview
    ContentDeliveryManager
    CredDialogHost
    ECApp
    Edge
    EdgeDevToolsClient
    FileExplorer
    FilePicker
    LockApp
    MapControl
    NarratorQuickStart
    NcsiUwpApp
    OOBENetworkCaptivePortal
    OOBENetworkConnectionFlow
    ParentalControls
    PeopleExperienceHost
    PinningConfirmationDialog
    PrintDialog
    QuickAssist
    RetailDemoContent
    SearchApp
    SecureAssessmentBrowser
    SettingSync
    SkypeORTC
    SmartScreen
    WebcamExperience
    Win32WebViewHost
    WindowsDefender
    WindowsMixedReality
    WindowsReaderPDF
    WindowsStoreClient
    XboxClient
    XboxGameCallableUI
    XGpuEjectDialog
    3DViewer
    AdvertisingXaml
    Alarms
    BingWeather
    CalculatorApp
    Camera
    CommunicationsApps
    Cortana
    DesktopAppInstaller
    FeedbackHub
    GetHelp
    Getstarted
    HEIFImageExtension
    Maps
    MixedRealityPortal
    OfficeHub
    OfficeOneNote
    Paint3D
    People
    Photos
    ServicesStoreEngagement
    ScreenSketch
    SkypeApp
    SolitaireCollection
    SoundRecorder
    StickyNotes
    StorePurchaseApp
    WalletService
    WebMediaExtensions
    WindowsStoreApp
    XboxApp
    XboxGameOverlay
    XboxGamingOverlay
    XboxIdentityProvider
    XboxSpeechToTextOverlay
    XboxTCUI
    YourPhone
    ZuneMusic
    ZuneVideo
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,626
    3,361
    60
    @MSMG, the scripts for CAB and MSU file downloads have been updated. Please, replace those obsolete ones who are present in the Packs folder in the Toolkit package.
    Take a look at the launching code by the nSudo. And, I believe we have to put Genicsatrt and Start.cmd back, for those who will have problems.
    It is difficult, initially, people get used to a new way of doing things. I suggest it is good to keep the 2 options.

    I am using for 19044.1766 in daily use, I am not having problems with direct execution of Toolkit or CustomToolkit.

    But I decided to give more attention to this code based on what I prepared for the Context Menu for "Run As Trusted Installer by nSudo and PowerRun". Script "RunAs-TrustedInstaller_AutoDownload.cmd" within the Custom Toolkit package.
    I put today, in this script a Fix for Native "Run As Administrator" who corrects WorkingDirectory. This causes many errors in scripts that do not have a CD /D "%~dp0" as a precaution.

    In new code there are 2 options for the nSudo and the same options for the "MinSudo" of "NanaRun" and "PowerRun" if you want to put in the Bin folder.
    Code:
    @echo OFF
    
    if exist "%SystemROOT%\SysWOW64" (set "HostArchitecture=x64") else (set "HostArchitecture=x86")
    
    ::===================================================================
    :: Getting Admin Rights by Run Script as Trusted Installer with nSudo or MinSudo
    rem >nul 2>&1 KTMutil.exe || (
    >nul 2>&1 reg.exe query HKU\S-1-5-19 || (
       title Run "%~nx0" Script as Trusted Installer with nSudo...
       rem title Run "%~nx0" Script as Trusted Installer with MinSudo...
       if exist "%~dp0Bin\%HostArchitecture%\nSudo.exe" (
       rem if exist "%~dp0Bin\%HostArchitecture%\MinSudo.exe" (
           rem for %%# in ("%~f0") do (Start "%%~nx#" /I %~dp0Bin\%HostArchitecture%\PowerRun.exe /WD:"%%~dp#" "%%~f#" %*)
           rem cmd.exe /X /R for %%# in ("%~f0") do (Start "%%~nx#" /I %~dp0Bin\%HostArchitecture%\PowerRun.exe /WD:"%%~dp#" "%%~f#" %*)
    
           for %%# in ("%~f0") do (Start "%%~nx#" /I "%~dp0Bin\%HostArchitecture%\nSudo.exe" -U=T -P=E -CurrentDirectory=%%~dp# "%%~f#" %*)
           rem cmd.exe /X /R "for %%# in ("%~f0") do (Start "%%~nx#" /I "%~dp0Bin\%HostArchitecture%\nSudo.exe" -U=T -P=E -CurrentDirectory=%%~dp# "%%~f#" %*)"
    
           rem for %%# in ("%~f0") do (Start "%%~nx#" /I "%~dp0Bin\%HostArchitecture%\MinSudo.exe" -U=T -P=E -CurrentDirectory=%%~dp# "%%~f#" %*)
           rem cmd.exe /X /R "for %%# in ("%~f0") do (Start "%%~nx#" /I "%~dp0Bin\%HostArchitecture%\MinSudo.exe" -U=T -P=E -CurrentDirectory=%%~dp# "%%~f#" %*)"
       ) else (
           echo.
           echo.
           echo.Run "%~nx0" Script from Toolkit's folder.
           echo.
           pause
       )
       exit
    )
    ::===================================================================
    
    title "%~nx0" Script - Running As Trusted Installer by nSudo.
    rem title "%~nx0" Script - Running As Trusted Installer by MinSudo.
    
    set "version=v12.3"
    
    Sent an 2022-06-23 New CustomToolkit updated file attached in the link above and in my signature.
     
  10. srtgeek

    srtgeek MDL Novice

    Jul 30, 2015
    8
    3
    0
  11. mhussain

    mhussain MDL Senior Member

    Oct 1, 2012
    348
    138
    10
    @MSMG
    is there a reason as to why component removal is disabled for
    - Windows 7,8.1,10 v1507/v1511/v1607/v1703/v1709/v1803?
    would it be possible to restore it?
    found that in the readme.
    Majid
     
  12. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    341
    474
    10
  13. delft 1985

    delft 1985 MDL Novice

    Oct 20, 2021
    21
    12
    0
  14. delft 1985

    delft 1985 MDL Novice

    Oct 20, 2021
    21
    12
    0
    graver.x
    I tried several times and all without success.
    With version Toolkit_v12.2, everything is fine.