Skip to content

[Bug] Unsloth Studio Windows installation fails: Application Control policy blocks unsloth.exe #8490

Closed

Description

@rnagabhyrava

I'm trying to install Unsloth Studio on Windows. The installer successfully creates the environment, installs the AMD ROCm PyTorch build, and installs Unsloth, but fails at the "Running studio setup" step.

The actual error from the diagnostics appears to be:

Program 'unsloth.exe' failed to run: An Application Control policy has blocked this file
...
FullyQualifiedErrorId : NativeCommandFailed

  1. Did you update? pip install --upgrade unsloth unsloth_zoo
    No. I am installing through the Unsloth Studio desktop installer. The installer itself reports that unsloth 2026.8.14 was successfully installed before the failure.

  2. Colab or Kaggle or local / cloud
    Local Windows installation using Unsloth Studio Desktop. Windows x86_64.

  3. Number GPUs used, use nvidia-smi
    1 AMD GPU. nvidia-smi is not applicable because this is an AMD system. Studio detects the GPU as AMD ROCm gfx1030.

  4. Which notebook? Please link!
    N/A. This happens while installing Unsloth Studio, before running any notebook or training code.

  5. Which Unsloth version, TRL version, transformers version, PyTorch version?
    Unsloth: 2026.8.14
    Unsloth Studio: 0.1.70-beta
    Python: 3.12
    TRL / transformers / PyTorch exact versions: I don't have these yet because Studio fails during setup before I can launch it. The installer selected the AMD ROCm Windows PyTorch build from AMD's gfx103X wheel repository.

  6. Which trainer? SFTTrainer, GRPOTrainer etc
    N/A. The error occurs during Unsloth Studio installation/setup, before any trainer is used.

Activity

  1. danielhanchen commented on Aug 12, 2026

    @danielhanchen
    Member

    Hmm I'll see if we can reduce false positives

  2. Imagineer99 commented on Aug 12, 2026

    @Imagineer99
    Member

    Reproduced on a Windows runner, AppLocker blocks the generated unsloth.exe exactly at the Studio setup step. So this isn’t ROCm-related. Repro: https://github.com/Imagineer99/unsloth/actions/runs/31592881518

  3. self-assigned this
    on Aug 12, 2026
  4. added 2 commits that reference this issue on Aug 13, 2026
    1b48147
    95f1615
  5. f242 commented on Aug 29, 2026

    @f242

    v0.1.804-beta
    Image

  6. eitanporat12 commented on Oct 8, 2026

    @eitanporat12

    I'm using Unsloth Desktop 0.1.905-beta on Windows 11 with Smart App Control enabled.

    The installation completes successfully, but Windows blocks unsloth.exe with WinError 4551.

    Event Viewer confirms:

    • Event ID: 3077
    • Blocked file: unsloth_studio\Scripts\unsloth.exe
    • Policy: VerifiedAndReputableDesktop
    • Python: 3.13.9
    • GPU: NVIDIA RTX 5070

    I've already reinstalled Unsloth and Python, but the problem persists.

    Is there an official signed launcher or an updated Desktop release that works with Smart App Control enabled? I don't want to disable Windows security.

  7. Imagineer99 commented on Oct 9, 2026

    @Imagineer99
    Member

    I'm using Unsloth Desktop 0.1.905-beta on Windows 11 with Smart App Control enabled.

    The installation completes successfully, but Windows blocks unsloth.exe with WinError 4551.

    Event Viewer confirms:

    • Event ID: 3077
    • Blocked file: unsloth_studio\Scripts\unsloth.exe
    • Policy: VerifiedAndReputableDesktop
    • Python: 3.13.9
    • GPU: NVIDIA RTX 5070

    I've already reinstalled Unsloth and Python, but the problem persists.

    Is there an official signed launcher or an updated Desktop release that works with Smart App Control enabled? I don't want to disable Windows security.

    thanks for the details, no need to disable Smart App Control, I found a gap where our fallback handles error 1260 but misses the 4551 you're seeing, @danielhanchen could you take a look?
    does this happen when opening the desktop app, during setup/update, or when running unsloth in a terminal?

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions