Closed YangHanlin closed 2 years ago
to uninstall on the Windows side, you need to delete the scheduled tasks (located in windows task scheduler, within its powershell folder), and uninstall Gpg4Win if you installed it. |If you used the custom kernel then you want to delete the line in C:\Users\your-username\.wslconfig
that begins with kernel=
. On the linux side delete the file /etc/profile.d/00-wsl2-systemd.sh
and edit /etc/wsl.conf
to delete the line that begins with command=
.
to uninstall on the Windows side, you need to delete the scheduled tasks (located in windows task scheduler, within its powershell folder), and uninstall Gpg4Win if you installed it. |If you used the custom kernel then you want to delete the line in
C:\Users\your-username\.wslconfig
that begins withkernel=
. On the linux side delete the file/etc/profile.d/00-wsl2-systemd.sh
and edit/etc/wsl.conf
to delete the line that begins withcommand=
.
@diddledani Thanks for your kind reply!
Is there a way to uninstall this script, i.e. to revert the changes (on both Windows and WSL sides) brought by this script? There is seemingly no separate uninstall script nor an
-Uninstall
option inInstall.ps1
. Are there any plans to add such feature?