From ce610f9341c32a9fc44ddd311c4845807152d5ed Mon Sep 17 00:00:00 2001 From: Duckling <57977673+anotherduckling@users.noreply.github.com> Date: Wed, 25 Jan 2023 12:39:09 +0600 Subject: [PATCH] added install.ps5 error --- Other devices/Windows.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/Other devices/Windows.md b/Other devices/Windows.md index b4eabfb..22e7782 100644 --- a/Other devices/Windows.md +++ b/Other devices/Windows.md @@ -40,12 +40,37 @@ ___ [!badge variant="light" text="Step 3"] Open the WSA folder and **run** the `Run.bat` -[!badge variant="light" text="Step 4"] Once the installation process completes, WSA will launch. +==- :icon-alert: Install.ps1 Error + If the popup windows disappear without asking administrative permission and Windows Subsystem For Android™ is not installed successfully, you should manually run Install.ps1 as administrator: + +1. Press Win+x and select Windows™ Terminal (Admin) + +2. Input the command below and press enter, replacing {X:\path\to\your\extracted\folder} including the {} with the path of the extracted folder + ```Powershell + cd "{X:\path\to\your\extracted\folder}" + ``` + +3. Input the command below and press enter + ```Powershell + PowerShell.exe -ExecutionPolicy Bypass -File .\Install.ps1 + ``` + +4. The script will run and Windows Subsystem For Android™ will be installed -!!!info If this is a first-time install, a window asking for consent to diagnostic information will be shown. Sometimes two identical windows may appear, click OK in both windows). +If this workaround does not work, your PC is not supported for WSA +=== + +!!!dark +If you previously have a MagiskOnWSA installation, it will automatically uninstall the previous one while preserving all user data and install the new one, so don't worry about your data. !!! -!!!info The installation Process is DONE! +[!badge variant="light" text="Step 4"] Once the installation process completes, WSA will launch. + +!!!dark +If this is a first-time install, a window asking for consent to diagnostic information will be shown. Sometimes two identical windows may appear, click OK in both windows). +!!! + +!!!light The installation Process is DONE! Now close Windows powershell by putting any key there. !!!