[DISCUSSION] New Local Account Method (Access Unused Setup Screen, S Mode Supported)

Discussion in 'Windows 11' started by thePineapple, Oct 29, 2024.

  1. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    #1 thePineapple, Oct 29, 2024
    Last edited: Nov 3, 2024
  2. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    #2 thePineapple, Oct 29, 2024
    Last edited: Oct 29, 2024
    (OP)
    I understand there are better methods available, but I wanted to share this as there has been no use for this developer console until now.
    The targeted users of this guide are those who need a quick workaround. Its not aimed at technical users who know there are better alternatives.

    Edit: Just saw the updated comment now let me read through it. Ignore the above
     
  3. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,154
    5,961
    150
    You have 2 interesting file's in data folder
    Look at them :)
    If you can control the flaw to ignore stage of check internet connection
    ..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    #4 thePineapple, Oct 29, 2024
    Last edited: Oct 29, 2024
    (OP)
    I have not thought about this to be honest and I haven't attempted it. I am interested if that will affect anything.

    The restart command indexes the available flows and runs the specified flow if found in the navigation.json file.
    This is the syntax of the command:
    Code:
    WinJS.Application.restart("ms-cxh://{Flow}?start={CXID}")
    So for example if you wanted to directly skip to the OobeLocal CXID, you can run it with the URI ms-cxh://frxinclusive?start=OobeLocal.

    Frxinclusive is the flow that is used by default in the setup.
    Please note the CXHID is case sensitive. If you want to test this without a clean image, just type that uri into a run window and it will simulate the OOBE.
     
  5. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    #5 thePineapple, Oct 29, 2024
    Last edited: Oct 29, 2024
    (OP)
    I want to be honest with you I was gatekeeping my knowledge about the syntax. I just didn't want to reveal it initially unless this screen was to get patched.
     
  6. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,154
    5,961
    150
    Can you share patched files please
    Or lines to change
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    I was referring to what I mentioned in the previous comment.

    No files need to be patched to perform the commands.
     
  8. Mr.Shawarma

    Mr.Shawarma MDL Novice

    Apr 1, 2024
    14
    1
    0
    Interesting indeed, does it also work with SE ?
     
  9. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    As mentioned it should work with all windows editions as they all use the same setup.
     
  10. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,154
    5,961
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    Correct. Not all of these CXIDs run though.
    When each page is completed, it goes to the next successID. There are cxhidsthat cover MDM and Autopilot Provisioning and are triggered if required from the Getting Device Ready screens after connecting to wifi.
     
  12. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,154
    5,961
    150
    #12 Dark Dinosaur, Oct 29, 2024
    Last edited: Oct 29, 2024
    so. if we change it. maybe the successID part. only.

    Code:
            "OobeKeyboard": {
                "cxid": "OobeKeyboard",
                "frameAnimation": "keyboardLottie.json",
                "preloadCheck": "CloudExperienceHostAPI.OobeKeyboardManagerStaticsCore",
                "url": "ms-appx-web:///webapps/inclusiveOobe/view/OobeKeyboard-main.html",
                "timeout": 60000,
                "successID": "OobeLocal",
                "failID": "OobeLocal",
                "cancelID": "OobeLocal",
                "abortID": "OobeLocal",
                "disableBackNavigationToNode": true,
                "visibility": false
            },
    
    ---------

    Search & Replace.
    .\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\data\prod\navigation.json
    Code:
    : "OobeWireless",
    
    To.
    : "OobeLocal",
    
    ---------

    if we skip OobeWireless stage.
    we skip updates ...
    sound a great idea.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    #13 thePineapple, Oct 29, 2024
    Last edited: Oct 29, 2024
    (OP)
    It will need to be all of them but yes it should skip straight to the local screen.

    I have not been able to find a way to invoke a change like this this in the JS Console though. Only just through the WinJS command
     
  14. delMicron

    delMicron MDL Junior Member

    Dec 28, 2021
    61
    28
    0
    19041 - navigation.json

    Code:
            "OobeKeyboard": {
                "cxid": "OobeKeyboard",
                "frameAnimation": "keyboardLottie.json",
                "url": "ms-appx-web:///webapps/inclusiveOobe/view/OobeKeyboard-main.html",
                "successID": "OobeEula",
                "failID": "OobeEula",
                "cancelID": "OobeEula",
                "abortID": "OobeEula",
                "visibility": false
            },
            "OobeWireless": {
                "cxid": "OobeWireless",
                "frameAnimation": "wifiLottie.json",
                "hostedApplicationLaunchArguments": "CloudExperienceHost.Environment.GetWiFiHostedApplicationArgumentsWcosDefaults",
                "launcher": "js:HostedApplication",
                "hostedApplicationProtocol": "ms-oobenetwork:",
                "appUserModelId": "Microsoft.Windows.OOBENetworkConnectionFlow_cw5n1h2txyewy!App",
                "successID": "OobeEula",
                "failID": "OobeEula",
                "cancelID": "OobeEula",
                "action1ID": "OobeCaptivePortal",
                "disableBackNavigationToNodeOnSuccess": true
            },
            "OobeEula": {
                "cxid": "OobeEula",
                "frameAnimation": "eulaLottie.json",
                "url": "ms-appx-web:///webapps/AOobe/view/oobeeula-a.html",
                "successID": "OobeSettings",
                "failID": "OobeSettings",
                "cancelID": "OobeSettings",
                "abortID": "OobeSettings",
                "visibility": false
            },
     
  15. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    I gave this an attempt and it was successful. However, modifying the files wasn't easy as it is TrustedInstaller protected.

    This can already be done with the steps in my original post.
    If you wanted to just use the regular UI instead, it as simple as changing the command to WinJS.Application.restart("ms-cxh://frxinclusive?start=OobeLocal")
     
  16. thePineapple

    thePineapple MDL Novice

    Sep 22, 2024
    19
    28
    0
    #17 thePineapple, Oct 30, 2024
    Last edited: Oct 30, 2024
    (OP)
    @Dark Dinosaur My apologies, I replied to the wrong section. This was the only change I made.

    The reason why search and replace all fails is because you are also replacing names of references. The reason it wouldn't work is because there would then be 2 sets of OobeLocal and the installer can't figure out what is what.

    Code:
            "OobeKeyboard": {
                "successID": "OobeLocal",
                "failID": "OobeLocal",
                "cancelID": "OobeLocal",
                "abortID": "OobeLocal",
            },
     
  17. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,154
    5,961
    150
    #18 Dark Dinosaur, Oct 30, 2024
    Last edited: Nov 17, 2024
    Moved to another thread
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. fs2com

    fs2com MDL Member

    Oct 14, 2009
    110
    38
    10
    okay no problem Dark.
    Will try it on next month iso then before I compress it to esd.