WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Error: 0x800703fa Illegal operation attempted on a registry key that has been marked for deletion

Open xtoolkit opened this issue 8 years ago • 27 comments

  • 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!!!

xtoolkit avatar May 19 '18 10:05 xtoolkit

Duplicate...

Biswa96 avatar May 19 '18 12:05 Biswa96

@Biswa96 this error? please link me. thank you

xtoolkit avatar May 19 '18 13:05 xtoolkit

See this https://github.com/Microsoft/WSL/issues/2576

Biswa96 avatar May 19 '18 14:05 Biswa96

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.

ozen avatar May 20 '18 16:05 ozen

As mentioned in #2576 was solved by restarting LxssManager service in Windows Services. It's a dup.

darkygeezard avatar May 27 '18 21:05 darkygeezard

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.

TheTerence avatar Jun 10 '18 17:06 TheTerence

I had the same issue after restarting Windows. Restarting Windows once again fixed it for me.

rechenberger avatar Jun 13 '18 10:06 rechenberger

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 avatar Jun 16 '18 05:06 ddproxy

@ddproxy thanx bro,it worked.Thanks again for the solution.

macxfadz avatar Jun 17 '18 16:06 macxfadz

same here - restarting LxssManager resolved this issue

gitsoft avatar Jun 18 '18 19:06 gitsoft

@gitsoft it's best solution? each restart windows, restart Lxss service! microsoft plz fix this problem with update. i'm back to 1709

xtoolkit avatar Jun 18 '18 20:06 xtoolkit

@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 avatar Jun 18 '18 20:06 Biswa96

@Biswa96 this code is work, but when restart windows wsl error back!!

xtoolkit avatar Jun 18 '18 20:06 xtoolkit

Restarting LxssManager worked.

mauriciolazo avatar Jun 28 '18 17:06 mauriciolazo

Restarting the laptop helped me!

SagarBajpai avatar Jul 04 '18 05:07 SagarBajpai

Run with administrator will work.

symphony2014 avatar Jul 15 '18 00:07 symphony2014

so am I supposed to restart the service every time I restart? Or is there a better solution?

anaganisk avatar Jul 17 '18 02:07 anaganisk

Disable fast boot.

benhillis avatar Jul 17 '18 04:07 benhillis

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 avatar Jul 17 '18 04:07 Biswa96

@Biswa96 your solution good in turn off and turn on windows. but while restart windows, error back!

xtoolkit avatar Jul 28 '18 08:07 xtoolkit