Skip to content

Instantly share code, notes, and snippets.

View MateBalint's full-sized avatar
:electron:
Coding right now.

mateBalint MateBalint

:electron:
Coding right now.
  • Budapest,Hungary
View GitHub Profile
@4wk-
4wk- / README.md
Last active April 1, 2025 22:59
Clean uninstall then reinstall of WSL on Windows 10, with systemD support

Uninstall then reinstall WSL on Windows 10 (clean way)

Background

I've been using wsl (version 2) with genie mod for years without issue, but one day, Windows 10 finally catch up on wsl Windows 11 features and gives us a way to use systemD natively.

I wanted to use the new "right way" to enable systemD on Windows Subsystem for Linux (without genie), and I also had a (probably related) infinite Windows RemoteApp error poping in.

Fixing it

A - Uninstall wsl and related stuff

  1. In powershell (as admin)