Issue with WSL running on windows server 2019 using system user #11913
Unanswered
sameerjoshinice
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case where I need to start an EC2 instance( Windows server 2019) with the user data script which executes at the start of EC2 instance. This script has a need to start WSL. This script uses system user to start the wsl. However it's returning access is denied. If we run wsl manually by logging into remote desktop and then using the user "ABC" with admin privileges themselves, it is able to start wsl. In the script I don't want to use any other user than system user to start wsl. I don't know how the system user is not able to access wsl and returns access is denied in the command prompt.
Can you confirm what could be the issue here?
Beta Was this translation helpful? Give feedback.
All reactions