-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating UNIX user failed - 0x80070040 #410
Comments
This is mysterious, 0x80070040 is an error code that means "network name not available" and I can't figure out what in the create user path could be returning this. Could you please try a couple of things for me?
|
|
@nhardy Thanks - This is a little bit mysterious. I think I'll need to collect some logs and see what's falling over. I'm talking with some people internally about how you'll be able to collect the logs we'll need to figure out what's going on. As soon as I have that information I'll follow up with you. |
@nhardy Ok I consulted with some people and figured out the right way to have you send us logging. If you could do the below it would be extremely helpful to us:
If you need a hand with any of the above let me know, I'm very interested in looking at the logs to see what's wrong. Thanks! |
A new Windows Insider fast ring build was released today. Would it be possible to install that build and see if this problem goes away? |
Sorry for the delay, only just had a chance to do this today. Did it before and after the upgrade to build 14352 and still experiencing the same error code. Sent the requested |
No problem at all! I got the traces you sent but turns out my above scripts are missing a provider... Would it be possible to run the repro again with the new version of the scripts. Sorry for the inconvenience. |
Unchecking "Use legacy console" in the Windows command shell properties fixed this issue for me. |
@aappleby: This wasn't the case for me. I never had it checked, but tried it with it checked and again after unchecking and my issue hasn't been resolved. @benhillis: Sent the updated |
@nhardy I was able to root cause your issue from the etl files you sent. We've submitted a fix to our dev branch and it should be an in Insider fast ring build soon. |
Similar issue for me as @nhardy...I'm excited for the fix... C:\WINDOWS\system32>lxrun /setdefaultuser I collected the etl files - let me know if you want me to send them rob |
@leictreon Sorry I did not see your comment until just now. The issue you are seeing is probably due to the same bug reported in #598. To confirm, does your Windows username have a " or ' character in it? |
Closing this out since the #598 is tracking the remaining issue. |
any update on how to fix this i am currently experiencing the same issue, with it not creating the user and just defaulting me to root. |
This is fixed in recent insider builds. |
Im going to sound really dumb here but thats okay lol, what is an insider build? |
@VeritasX -- good question :-) An Insider build is a public pre-release build of Windows. It contains all the latest features, including changes that might not be fully implemented yet and that aren't fully tested yet so can cause system instability. Generally, new Windows features are released to the Insider "Fast" lane every week or two. Periodically, if a "Fast"-lane build is found to be particularly stable, it is released to the "Slow" Insider lane. Eventually, those releases turn into Release Candidates and, in theory (though no official commitment) at least once per year, get rolled into the next Windows release. So if a change makes it into an Insider build, that means both that it's available for testing and that it's on track to eventually ship in an official build. The Insider track is separate from regular Windows Updates. Windows Updates are just security fixes and bugfixes to stable features. (WSL is not yet considered "stable".) You can learn more, and sign up if you want, here: https://insider.windows.com |
Just curious, is anyone using windows home? |
Bash on Windows seems to fail for me when creating a UNIX user account. I have tried
lxrun /uninstall /full
and reinstalling to no avail. Have run in command prompt (Administrator) and otherwise.The text was updated successfully, but these errors were encountered: