From 8264bd85234b529e2b6c5a90cf00a28d817490d0 Mon Sep 17 00:00:00 2001 From: "Chris J. Lin" <36452239+chrisjlin@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:11:50 -0700 Subject: [PATCH] Update mcc-ent-troubleshooting.md Added troubleshooting section for wsl install failure when not logged on as local admin --- windows/deployment/do/mcc-ent-troubleshooting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/deployment/do/mcc-ent-troubleshooting.md b/windows/deployment/do/mcc-ent-troubleshooting.md index c10a74c802..0f5b02bc00 100644 --- a/windows/deployment/do/mcc-ent-troubleshooting.md +++ b/windows/deployment/do/mcc-ent-troubleshooting.md @@ -60,6 +60,10 @@ There are three types of installation log files: The Registered Task Transcript is usually the most useful for diagnosing the installation issue. +### WSL2 fails to install with message "A specified logon session does not exist" + +If you are encountering this failure message when attempting to run the PowerShell command `wsl.exe --install --no-distribution` on your Windows host machine, verify that you are logged on as a local administrator and running the command from an elevated PowerShell window. + ### Updating the WSL2 kernel If the Connected Cache installation is failing due to WSL-related issues, try running `wsl.exe --update` to get the latest version of the WSL kernel.