

Run Get-AppPackageLog -ActivityID in PowerShell.This should fail with an ActivityID, which is a UUID required for the next step. Run Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion -Register.Open a PowerShell window and change working directory to your WSA directory.If the script fails, you can take the following steps for diagnosis (admin privilege required): You need to register your WSA appx package before you can run WSA (the 8th step in the instructions).įor MagiskOnWSALocal users, you need to run Run.bat in the extracted dir.So you need to keep them as long as you want to use WSA. \AppxManifest.xml does is to register an appx package with some existing unpackaged files, You can NOT delete the WSA installation folder.You can only install WSA on a NTFS partition, not on an exFAT partition.You can download the prebuilt binaries from the release page. If you don't want to build WsaPatch.dll and patch icu.dll yourself, Patch icu.dll: add WsaPatch.dll as an import DLL as icu.dll.Ĭopy patched icu.dll and WsaPatch.dll to WsaClient dir.įind TargetDeviceFamily node in AppxManifest.xml. (Build with MSVC toolchain, not MinGW or something else.) They are digitally signed by Microsoft.)īuild WsaPatch.dll with source code in this repo. (I have made a copy of these DLLs in the 11.22h2 dir. The icu.dll from Windows 10 will NOT work. Note that you MUST use icu.dll from Windows 11. (You need to "build" this yourself with your local WSL2).


You can do this by following instructions in If your Windows version is lower than 5.2311, please update your Windows to at least 5.2311.You can check your Windows version with command winver.Make sure your Windows version is at least Windows 10 22H2 5.2311. This is a patch for WSA to enable WSA (Windows Subsystem for Android) to run on Windows 10.
