Determine if the system has the WSL with bash:
where /R C:\windows bash.exe
If bash.exe is there and the WSL is running, then commands can be run as root (!) like:
C:\Windows\WinSxS\amd64_microsoft-windows-lxss-bash_31bf3856ad364e35_10.0.19041.423_none_1da742a41b53e164\bash.exe whoami
Install the WSL
To install the WSL, a system shell is required unfortunatelly. See this article for installation.
Leave a Reply
You must be logged in to post a comment.