Skip to content

[Bug] Failure to enable Windows MXC Sandbox, unclear instructions #13656

Description

@kitsumed

Environment

Where are you using Unsloth?

  • Unsloth desktop application
  • Unsloth web UI (unsloth studio)
  • Unsloth CLI
  • Python package or notebook
  • Colab or Kaggle

Operating system and version: Windows 11 25H2 26200

GPU model(s) and accelerator backend: RTX 4070 CUDA

Versions: v0.1.906-beta, 2026.10.4, b11541-mix-2500203

What happened?

Cannot enable new Microsoft MXC Sandbox. There is no information on how to "install" it. Can't find anything online, according to Microsoft docs my current Windows version should have it. I also looked at your own docs but it has no information on this. Lean more button just open back the "Sandboxing" setting window, so there is no help menu or info available.

Image

Steps to reproduce:

  1. Open settings
  2. Go to Sandbox
  3. Enable High Sandbox.

Expected behavior: Use Microsoft MXC Sandbox, High profile.

Actual behavior: Failure with unclear instructions / message.

Model and operation involved: Unrelated.

Diagnostics and logs

None.

Desktop application

Click Copy Diagnostics on the error, startup, or update screen and paste the
result below:

No hard failure, can't copy anything. There is no log about it.

Activity

  1. added
    feature request
    on Oct 13, 2026
  2. danielhanchen commented on Oct 14, 2026

    @danielhanchen
    Member

    Fixed! When Windows can't use the MXC sandbox and there's nothing for Unsloth to install (for example MXC is set up but its check still fails), the High popup now says why instead of showing only the title. Learn more now takes you straight to the sandbox status and Windows setup section in Settings > Sandbox. Fixed in #13732.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.

  3. kitsumed commented on Oct 14, 2026

    @kitsumed
    Author

    The PR says the PC is ARM64 (the MXC runtime is x64 only). I'm running x64 (AMD/x86) on a Intel CPU. I guess I didn't mention it so now you know.

    I looked again and saw on MXC github page (https://github.com/microsoft/mxc/blob/main/docs/backends/process-container/os-version-support.md) that there are two type of "backends. Process isolation and session isolation, is session isolation required on unslothai?

    I have a GPO that delay Microsoft feature updates as they often push breaking change and fix them not too long after.
    If it requires Session Isolation, then would adding a specific version check/warning be something possible?

    There is no update yet so I didn't try the new PR, but as-is It's not actually fixing my issue, but it should show more informations.

  4. danielhanchen commented on Oct 15, 2026

    @danielhanchen
    Member

    Ok I'll recheck

  5. danielhanchen commented on Oct 15, 2026

    @danielhanchen
    Member

    Thanks for the details! Unsloth uses MXC's process isolation (the processcontainer backend), not session isolation, so session isolation is not required.

    The build does matter though. Windows' built-in container, which needs no administrator step, arrives with these updates:

    • 24H2: 26100.9278
    • 25H2: 26200.9278 (the August 2026 cumulative update, KB5120998)

    Below that, Unsloth uses the fallback sandbox: tick "Use the fallback sandbox" in Settings > Sandbox and approve the "Prepare this PC" administrator prompt, which has to be repeated after each restart. With feature updates delayed by a GPO, your PC is probably below 26200.9278, so it is on the fallback path.

    #13798 adds that version check: Settings > Sandbox will show your build and the one that adds the built-in container.

    Could you share two things so we can see why the check itself failed?

    1. Your exact build from winver (for example 26200.6584).
    2. The text under Python and Terminal in Settings > Sandbox > This computer. With the update that went in for this issue, that line names the failing check.

    Reopening until we know.

  6. kitsumed commented on Oct 15, 2026

    @kitsumed
    Author
    1. Winver build is 16200.9711

    2. There is no new release since v0.1.907-beta so your changes are not yet available. I'm running the desktop release. That said, currently this is what I see

    Image

    As for java, it seems java created that link itself

    Image
  7. kitsumed commented on Oct 15, 2026

    @kitsumed
    Author

    @danielhanchen Updated to the latest release, this is related to the symlink/shortcut.

    Image

    the live MXC probe failed: MxcPolicyError: MXC policy paths may not traverse a reparse point: C:\Program Files (x86)\Common Files\Oracle\Java\java8path

    I can't figure out why and how this happened. Online I see no mention of java installer doing shortcuts like that. I'm not really sure of the fix, if I delete it and rename the directory, I'm unsure if things will start breaking down in other apps.

    EDIT: From what I can find online, this is related to a config file on your app that must allow the java path. But It's not very clear.

  8. danielhanchen commented on Oct 18, 2026

    @danielhanchen
    Member

    Fixed! Thanks for tracking down the java8path link, that was the cause. The Terminal sandbox gives read access to each folder on PATH under Program Files, and the Java 8 installer puts a linked folder (java8path) there. One linked folder made the whole sandbox check fail, so High showed as unavailable. Now a linked PATH folder is just left out of the sandbox and everything else works, so you don't need to delete or rename anything. Java itself won't be reachable from the sandboxed Terminal through that link. Fixed in #14129.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions