Open wxxiong6 opened 3 years ago
Please collect WSL logs and provide a link the feedback hub item.
https://github.com/microsoft/WSL/issues/6512#issuecomment-773173169
Please do https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html and try to enable wsl again, it should work correctly. It mean there're some file missing. I seen this in many windows installation (clean windows), and the only way to fix it is either reset the windows or in-place upgrade. I choose In-place upgrade.
Saying "there's some file missing" isn't helpful. Not everyone in corporate settings can do an in-place upgrade.
Saying "there's some file missing" isn't helpful. Not everyone in corporate settings can do an in-place upgrade.
I agree with that, but til about 6 month looking into log, there're nothing that help, and my lab need to go on, so I just in-place upgrade each computer on my lab. It's troublesome. The mod on reddit also doesn't help at all and state there won't be any 0x80070003 if we put the wsl on C: drive. In-place ugrade is my last resort, at least it's working now, but https://github.com/microsoft/WSL/issues/5718 hasn't fixed yet till now.
Logs from #6512 here.
Saying "there's some file missing" isn't helpful. Not everyone in corporate settings can do an in-place upgrade.
Hi ! I have the same problem, when I try to install a Linux distribution on my Windows (because it is a WSL2 requirement, in order to run Docker Desktop on my local Windows10 laptop), I get this message:
Have you found a solution other than the one proposed by @benyaminl ?
It happens to me like @pdebuitlear , I have a corporative settings and I can't do an in-place upgrade.
Thankyou!
Saying "there's some file missing" isn't helpful. Not everyone in corporate settings can do an in-place upgrade.
Hi ! I have the same problem, when I try to install a Linux distribution on my Windows (because it is a WSL2 requirement, in order to run Docker Desktop on my local Windows10 laptop), I get this message:
Have you found a solution other than the one proposed by @benyaminl ?
It happens to me like @pdebuitlear , I have a corporative settings and I can't do an in-place upgrade.
Thankyou!
The fix for me was to set the following registry key value to 1: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive
My system:
Edition Windows 10 Pro
Version Dev
Installed on 5/21/2021
OS build 21382.1
Experience Windows 10 Feature Experience Pack 321.12100.0.3
Fresh installed system and it produced the op error. Did the inplace upgrade by iso and no success. Even docker is giving me errors:
System.InvalidOperationException:
Failed to deploy distro docker-desktop to %LOCALAPPDATA%\Docker\wsl\distro: exit code: -1
stdout: The system cannot find the path specified.
Funny thing is: before I format the PC due to another issue everything was working flawlessly (I was already using this Dev Channel Build)
Does the folder exist? Because if that folder doesn't exist than it will raise such error.
Does the folder exist? Because if that folder doesn't exist than it will raise such error.
Yes it does but i managed to finally solve the issue by deleting the file %USERPROFILE%\.wslconfig
, restarting wsl and retrying the distro install. It is worth to check for this before doing any in-place upgrade...
Does the folder exist? Because if that folder doesn't exist than it will raise such error.
Yes it does but i managed to finally solve the issue by deleting the file
%USERPROFILE%\.wslconfig
, restarting wsl and retrying the distro install. It is worth to check for this before doing any in-place upgrade...
Thanks a lot, this is finally the one that able to solve mine as well.
I tried to do this repair-install
Please do https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html and try to enable wsl again, it should work correctly. It mean there're some file missing. I seen this in many windows installation (clean windows), and the only way to fix it is either reset the windows or in-place upgrade. I choose In-place upgrade.
Didn't work for me.
I was having issues reinstalling, just deleted the wslconfig file as suggested by @lokinmodar and it resolved my issue as well. Thanks for sharing.
Does the folder exist? Because if that folder doesn't exist than it will raise such error.
Yes it does but i managed to finally solve the issue by deleting the file
%USERPROFILE%\.wslconfig
, restarting wsl and retrying the distro install. It is worth to check for this before doing any in-place upgrade...Thanks a lot, this is finally the one that able to solve mine as well.
I tried to do this repair-install
#6512 (comment) Please do https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html and try to enable wsl again, it should work correctly. It mean there're some file missing. I seen this in many windows installation (clean windows), and the only way to fix it is either reset the windows or in-place upgrade. I choose In-place upgrade.
Didn't work for me.
====> This work for me.
For my case there's no .wslconfig file. The error persists on fresh install of windows 11.
For my case there's no .wslconfig file. The error persists on fresh install of windows 11.
any luck in fixing this? I regretted so much to upgrade my windows..
None of the provided workarounds helped me.
I also don't have a .wslconfig
. I still get the following error:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070003
Error: 0x80070003 Das System kann den angegebenen Pfad nicht finden.
Press any key to continue...
Really enjoyed working with WSL so i hope this can get fixed 😞.
None of the provided workarounds helped me. I also don't have a
.wslconfig
. I still get the following error:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070003 Error: 0x80070003 Das System kann den angegebenen Pfad nicht finden. Press any key to continue...
Really enjoyed working with WSL so i hope this can get fixed 😞.
Back up data and reinstall win 11, I also reset it and it works. But all applications need to re-install.
None of the provided workarounds helped me. I also don't have a
.wslconfig
. I still get the following error:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070003 Error: 0x80070003 Das System kann den angegebenen Pfad nicht finden. Press any key to continue...
Really enjoyed working with WSL so i hope this can get fixed 😞.
Back up data and reinstall win 11, I also reset it and it works. But all applications need to re-install.
I'm on Windows 10. Idk why, but WSL just suddenly stopped working. I really don't want to reinstall windows all over again... I'd rather use a Linux Machine on Hyper-V, haha. I feel like there must be another wokraround or fix.
Any progress? I am using windows 11
Does the folder exist? Because if that folder doesn't exist than it will raise such error.
Yes it does but i managed to finally solve the issue by deleting the file
%USERPROFILE%\.wslconfig
, restarting wsl and retrying the distro install. It is worth to check for this before doing any in-place upgrade...
Forgot about this lurking around when I compiled a custom kernel :)
I came across this same issue on Windows 10 Home.
I have enabled virtualization on my BIOS and enabled both Virtual Machine Platform
and Windows Hypervisor Platform
Windows Features. I have tried re-installing these features multiple times but I couldn't make it work.
I was finally able to fix the issue by doing a a Windows In-Place Upgrade. More specifically I followed the direction in this tutorial: repair-install-windows-10-place-upgrade to do the upgrade with the ISO file.
Hope this can help someone :)
Saying "there's some file missing" isn't helpful. Not everyone in corporate settings can do an in-place upgrade.
Hi ! I have the same problem, when I try to install a Linux distribution on my Windows (because it is a WSL2 requirement, in order to run Docker Desktop on my local Windows10 laptop), I get this message: Have you found a solution other than the one proposed by @benyaminl ? It happens to me like @pdebuitlear , I have a corporative settings and I can't do an in-place upgrade. Thankyou!
The fix for me was to set the following registry key value to 1: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive
THANK YOU!!!! This fixed my WSL issue, awesome!
@pdebuitlear
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive
Didn't work:
Ubuntu was installed from Microsoft Store:
Windows 10, 19045.2364; Windows Feature Experience Pack 120.2212.4190.0
@lokinmodar
Yes it does but i managed to finally solve the issue by deleting the file
%USERPROFILE%\.wslconfig
, restarting wsl and retrying the distro install. It is worth to check for this before doing any in-place upgrade...
No such folder existed on my system..
EDIT: I fixed it. I uninstalled Ubuntu, deleted all remained files (additionally used powershell to uninstall related apps) and uninstalled WSL2 Kernel released in 2021 April (digital signature). Then I installed this same kernel and downloaded Ubuntu from Store. Now it successfully installed.
Resolved
WslRegisterDistribution failed with error: 0x80070003
- Open
regedit
- Find
计算机\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
- 删除
Lxss
下空的注册表项,例如:{24022fa9-20a9-4e2a-9cde-9c1bfe4e6700}
Try this simple solution, it works with me https://stackoverflow.com/a/67639264/1849480
I have not coded for like a month because of this issue, any progress?
Disabling core isolation (VBS) and then reenabling and reinstalling WSL fixed the problem for me.
I managed to fix the problem by going to "Turn Windows featuers on or off" in Settings, unchecking "Virtual Machine Platform" and "Windows Subsystem for Linux", rebooting, and then reinstalling WSL.
Does the folder exist? Because if that folder doesn't exist than it will raise such error.
Yes it does but i managed to finally solve the issue by deleting the file
%USERPROFILE%\.wslconfig
, restarting wsl and retrying the distro install. It is worth to check for this before doing any in-place upgrade...
works for me!!
I just tried this solution but with Ubuntu-18.04.6 and Ubuntu-22.04.6 and it finally worked for me :)
https://github.com/microsoft/WSL/issues/3054#issuecomment-1783150815
Resolved
WslRegisterDistribution failed with error: 0x80070003
- Open
regedit
- Find
计算机\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
- 删除
Lxss
下空的注册表项,例如:{24022fa9-20a9-4e2a-9cde-9c1bfe4e6700}
This works for situations like you mishandle the regits qaq
Resolved
WslRegisterDistribution failed with error: 0x80070003
- Open
regedit
- Find
计算机\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
- 删除
Lxss
下空的注册表项,例如:{24022fa9-20a9-4e2a-9cde-9c1bfe4e6700}
it works for me after delete items under Lxss, thanks.
Hello, I'm having the same error since installing Atlas OS on my computer. I have enabled the optional features, virtualization is enabled in BIOS, there is no .wslconfig file, there is no Lxss entry in my registry. I cannot do an in-place system upgrade. Any other solutions?
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070003 Error: 0x80070003 ???????????
Press any key to continue...