How-to

Windows Subsystem for Linux instance has terminated

Short post on how to recovery from “The Windows Subsystem for Linux instance has terminated” with exit code 4294967295 (0xffffffff) which I have had a number of times recently. Usually after taking my notebook on the road without closing sessions then returning and connecting back to my dock.

There are a number of recommendations you’ll find searching how to recover but many also date back to WSL v1. And many indicate terminating services that also require a reboot. That’s not necessary for me. This is what works, and I am documenting it so I can find it quickly next time.

Recovery from WSL terminated with exit code 4294967295

In my case I’m running Ubuntu in WSL2. In a PowerShell window run the following command.

wsl --shutdown

Start a new WSL (Ubuntu) session and you’ll be back up and running.

Darren Robinson

Bespoke learnings from a Microsoft Identity and Access Management Architect using lots of Microsoft Identity Manager, Azure Active Directory, PowerShell, SailPoint IdentityNow and Lithnet products and services.

Recent Posts

PowerShell MCP Azure Function Server

Recently under the experimental Azure Functions build Microsoft Developer Advocates have shown enabling Azure Functions…

2 weeks ago

EntraPulse – Your AI-Powered Gateway to Microsoft Graph & Docs

Today, I’m super excited to finally announce the Beta release of EntraPulse Lite – a…

2 months ago

Lokka MCP Authentication Enhancements

I'm excited to share some significant authentication enhancements I've contributed to the Lokka MCP Server…

3 months ago

AI Inception: Building AI Solutions with AI for AI

Last month I had the pleasure of speaking at the Sydney event for Global Azure.…

4 months ago

A Have I Been Pwned MCP Server for Claude

Model Context Protocol (MCP) is a powerful framework that extends AI clients like Claude and…

6 months ago

Azure AI Developer Hackathon

I've just completed participating in the Azure AI Developer Hackathon that was looking to provide…

6 months ago

This website uses cookies.