Error: 0x800703fa Illegal operation attempted on a registry key that has been marked for deletion
-
Your Windows build number: Microsoft Windows [Version 10.0.17134.48]
-
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
turn on laptop and open ubuntu and see error!!!
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800703fa
Error: 0x800703fa Illegal operation attempted on a registry key that has been marked for deletion.
Press any key to continue...
this problem fix by reboot and restart Lxss service! but why? why April update has some big bugs on windows and wsl!!!
Duplicate...
@Biswa96 this error? please link me. thank you
See this https://github.com/Microsoft/WSL/issues/2576
It is not a duplicate. It has the same error code but a different message. @kyranet solved this error by modifying registry. However there is no fix for #2576 so far.
As mentioned in #2576 was solved by restarting LxssManager service in Windows Services. It's a dup.
My corrupted shell was on a non-admin account. After reading these posts, I signed on as Administrator and started an Ubuntu shell. First message referenced a file re-format, after which the shell instance funtioned normally.
However, I still terminated Ubuntu from the Apps/Services, then signed back on to my non-Admin account and opened Ubuntu again. All good.
I had the same issue after restarting Windows. Restarting Windows once again fixed it for me.
Confirmed restarting LxssManager resolved this issue for me. If finding the service is a pain, run the following in an command prompt as an administrator: net stop "LxssManager" & sc start "LxssManager"
@ddproxy thanx bro,it worked.Thanks again for the solution.
same here - restarting LxssManager resolved this issue
@gitsoft it's best solution? each restart windows, restart Lxss service! microsoft plz fix this problem with update. i'm back to 1709
@xtoolkit make a batch file with these commands:
@echo off
net stop LxssManager
sc start LxssManager
pause
and run it as administrator when you open PC.
@Biswa96 this code is work, but when restart windows wsl error back!!
Restarting LxssManager worked.
Restarting the laptop helped me!
Run with administrator will work.
so am I supposed to restart the service every time I restart? Or is there a better solution?
Disable fast boot.
Or make the Lxss Manager Service 'Automatic startup'. Run this command as administrator:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\LxssManager" /T REG_DWORD /V "Start" /D 2 /F
@Biswa96 your solution good in turn off and turn on windows. but while restart windows, error back!