1. JuliusB

    JuliusB MDL Member

    Feb 25, 2018
    130
    41
    10
    Win10XPE_01-13-2025

    I took the same version as Freddie-0 (22H2) because for versions 23H2 or 24H2 Starting is failed
     

    Attached Files:

  2. migascalp

    migascalp MDL Senior Member

    Sep 18, 2009
    459
    785
    10
    #462 migascalp, Feb 2, 2025
    Last edited: Feb 2, 2025
    Open in editor Win10XPE\Projects\Win10XPE\Core.script
    Find:
    Code:
    If,%Accessibility_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Accessibility.Script,Process,HiveLoaded
    Else,Begin
    AddVariables,%ProjectDir%\script.project,TargetBasePath
    
    To remove shortcut insert below:
    Code:
    If,ExistFile,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk",FileDelete,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk"
    
    To remove shortcut and executable insert below:
    Code:
    If,ExistFile,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk",FileDelete,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk"
    If,ExistFile,"%GTarget_Sys%\Narrator.exe",FileDelete,"%GTarget_Sys%\Narrator.exe"
    
    To restore the script to normal behavior without removing the added lines, simply comment them out:
    Code:
    If,%Accessibility_CheckBox%,Equal,True,Exec,%ProjectDir%\Features\Accessibility.Script,Process,HiveLoaded
    Else,Begin
    AddVariables,%ProjectDir%\script.project,TargetBasePath
    //If,ExistFile,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk",FileDelete,"%TargetAppDataRoaming%\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk"
    //If,ExistFile,"%GTarget_Sys%\Narrator.exe",FileDelete,"%GTarget_Sys%\Narrator.exe"
    
     
  3. maszd

    maszd MDL Novice

    Feb 3, 2019
    42
    13
    0
    #463 maszd, Feb 2, 2025
    Last edited: Feb 2, 2025
    Thank you very much @migascalp :worthy: working perfect :clap:
    Sorry to ask again, i'm forget about step recorder and wordpad, how to remove it?
    Thank you!

    Nvm. forget to uncheck windows apps :D
     
  4. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    904
    398
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,576
    2,630
    60
    Thanks. Added to the OP
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...