solution gateway high windows

Windows (WSL2): gateway service install fails (systemd not enabled)

Fix WSL2 gateway daemon install issues by enabling systemd in /etc/wsl.conf, shutting down WSL, and retrying openclaw gateway install.

By CoClaw Team •

Symptoms

  • On Windows you installed OpenClaw inside WSL2, but openclaw gateway install fails.
  • Older notes may mention openclaw onboard --install-daemon; treat that as legacy symptom text and retry with the current gateway install command.
  • systemd user services aren’t available.

Cause

For WSL2 installs, gateway service installation relies on systemd inside the WSL distro. systemd is not enabled by default on some installs.

Fix

Inside WSL:

sudo tee /etc/wsl.conf >/dev/null <<'EOF'
[boot]
systemd=true
EOF

Then from Windows PowerShell:

wsl --shutdown

Re-open your WSL distro and verify:

systemctl --user status

Now retry:

openclaw gateway install

Verify

openclaw gateway status
openclaw status

Verification & references

  • Reviewed by:CoClaw Code Team
  • Last reviewed:March 14, 2026
  • Verified on: Windows

References

Want to explore more? Browse all solutions or ask in the Community Forum .
Report a problem

Related Resources