You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Failure to enable Windows MXC Sandbox, unclear instructions #13656
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.
Steps to reproduce:
Open settings
Go to Sandbox
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.
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.
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.
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?
Your exact build from winver (for example 26200.6584).
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.
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
As for java, it seems java created that link itself
@danielhanchen Updated to the latest release, this is related to the symlink/shortcut.
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.
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.
Activity
danielhanchen commentedon Oct 14, 2026
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, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.kitsumed commentedon Oct 14, 2026
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.
danielhanchen commentedon Oct 15, 2026
Ok I'll recheck
danielhanchen commentedon Oct 15, 2026
Thanks for the details! Unsloth uses MXC's process isolation (the
processcontainerbackend), 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:
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?
winver(for example 26200.6584).Reopening until we know.
kitsumed commentedon Oct 15, 2026
Winver build is 16200.9711
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
As for java, it seems java created that link itself
kitsumed commentedon Oct 15, 2026
@danielhanchen Updated to the latest release, this is related to the symlink/shortcut.
the live MXC probe failed: MxcPolicyError: MXC policy paths may not traverse a reparse point: C:\Program Files (x86)\Common Files\Oracle\Java\java8pathI 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.
danielhanchen commentedon Oct 18, 2026
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, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.Studio: skip a Terminal PATH entry MXC cannot grant instead of failin…
Studio: run the Windows sandbox (MXC) on ARM64 PCs with Microsoft's A…