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
Can't install the windows feature #931
Comments
I've tried using the fix-it for windows update and it actually fixed a few things but it didn't help for installing this windows feature. |
Exactly same symptoms here. Followed same procedure. No luck. Windows 10 Enterprise, OS build number 14393.51 Windows Logs under Setup kicks out Event ID 11 - can't install package lxss. |
The eventlog as follows: System
|
I triggered this by:
|
Same problem here. Everthing was working fine until i had to restore my windows installation to an earlier point. After this i cant reactivate it again. On the required reboot the windows update could not install it and is reverting back changes. Maybe important (or not), the systemlanguage is "german".
|
After trying to talk to tech support from microsoft (in the hopes they might be able to solve my issue) I was redirected almost (I haven't even counted) times from tier 1 to tier 2 to tier 3 etc.... including 3 missed appointed schedules from their end and having to pay around 50 bucks to call from the netherlands to the united states, I got to the point where they wanted me to pay for a professional tech support team that would cost me 500$ to fix the issue. In which case I decided to reinstalled my windows 10 and everything worked like expected. Great... I payed 50 bucks for nothing and avoided having to pay 500 dollars for something I could easily fix myself.... I honestly can't beleave why they wouldn't agree with me on that it could've been corrupted and suggest me to reinstall but whatever, I'm never going to contact microsoft support again. It's hell. After 8 days I kind of lost my patience.... |
Hello, Same issue for me :
|
Agree, the folks at MSFT want me to pay for hours of support fixing, but I don't think they know how to fix. |
Getting the same issue on my desktop (laptop is fine though), no idea how to make it work. |
I have the same issue as well, also caused by going to a system restore after having already installed the windows linux subsystem. I wonder if some files or registry keys need to be deleted/added manually or something. I hope the devs can provide a fix / recommendation for this. I thought I was the only one, but seems it's a common problem for anyone who's done a system restore after installing it. |
+1
|
Thanks for the bug report and really apologize for the super delay in the response. @jackchammons has a repro of this (thanks, Jack) and we are looking into it. We have also opened a bug on our end to track it. And, please keep the feedback coming. We do appreciate it! |
@ALL As a workaround, after the system restore and prior to installing bash again, can you try a full uninstall of WSL by doing |
I re-enabled it, but prior to reboot the lxrun command doesn't seem to be installed yet. Of course after the reboot it rolls back. |
Experiencing exact same issue as @dkager , I enable it in the optional features, but it doesn't install properly on reboot. |
@dkager - @filoleg - Can you please clarify what you mean by 'doesn't install properly |
@sunilmut Upon reboot the installation progress is briefly shown, then it starts to roll back/revert and reboot once more to undo the installation. My guess is that fully uninstalling the feature would work, but it seems like it is stuck halfway with the packages downloaded from the Store but not properly installed. Are there any logs I can share? |
@sunilmut That is correct. I enable WSL in the optional features (tried through powershell as well, same outcome), it runs installer, then says "reboot to finish installing," it reboots, tries to do install, then quickly flashes "Updates failed to install", and then boots normally. After that, everything is back to square one, WSL feature is unchecked in the optional features, lxrun doesn't show up as a valid command. |
@sunilmut I'm experiencing same issue as @dkager and @sunilmut. I can't uninstall the feature because after system restore, the feature doesn't even show that it is installed, and if I 'install it' so that I can uninstall it with |
@dkager, @filoleg @afarra - Sorry to hear about your experience. |
Thanks @filoleg for sending the logs. Just heard from the |
@sunilmut I've also ran that command and have the logs (dism.log/cbs.zip) from the failed update. Let me know how I can share them with you/WSL team (I'd rather not attach it here in case there's sensitive info in the logs) |
@filoleg Thanks much, appreciate it. @afarra - I have shared logs from @filoleg with the DISM team and if they are not conclusive, I might ask for your logs using the Insider email address. Just out of curiosity, after you restore the system using the system restore, is developer mode enabled at that time? |
@sunilmut Developer mode remains on, yes. But WSL turns back off. |
Oh, sorry, you mentioned restore (I read restart). No, after restoring the system with System Restore both WSL and Developer mode are off, I think it was because the system restore was taken before turning on developer mode. |
@dkager, @filoleg @afarra and everyone else here who is stuck in the optional feature installation after a system restore, can you please try this workaround:
|
Solved it! So I guessed it had something to do with Network Adapters. I only have one physical network card and a Checkpoint VPN adapter. My first instinct was to uninstall the VPN and then try to install WSL again but before I did that I went to the Checkpoint site to see if there was a new version out... So instead of removing the VPN I decided to update it to E80.80 and after that WSL installed without problems. |
@JenusL Hey there, so I seem to have the same problem as you did. I looked at your solution, and also viewed my CBS.log (I had no idea what that was before this), and found the same error. I don't have a Checkpoint VPN though, so I don't think that's causing the problem. I do have a Qualcomm Wireless Network Adapter. Should I try updating that? |
@mingyuea That sounds strange... Can you please post your error message? |
@JenusL @sunilmut So I've been trying to install WSL after I updated my network card drivers, but I still get the error of not being able to install it, and Windows rolling back. The log from the event viewer has this at 7:45:43 AM
After checking the CBS.log for more info, I found this error at around the same time:
Which is pretty much the same error you got. However, I don't have any VPN installed like you do, so I don't know what could be causing my error. I definitely don't have the WSL folder anywhere either. UPDATE: I looked down further in the CBS.log, and found maybe more specifics about the error: `2018-03-06 07:45:35, Error CSI 00000070 (F) Installer: Network Drivers Binary Name: NetSetupAI.dll ErrorCode: 80070005 Phase: 31 Mode: Delta Component: NONE[gle=0x80004005] 2018-03-06 07:45:35, Info CSI 00000071 ==Error Summary End== 2018-03-06 07:45:35, Error CBS Startup: Failed to process advanced operation queue, startupPhase: 0. A rollback transaction will be created. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]` After that, the computer starts rolling back the transactions |
@mingyuea I'm not sure I can help you... But just in case, could you run Get-NetAdapter in PowerShell to make sure you only have one adapter and that it's the physical one. |
I'm getting the same issue as @mingyuea, but only after uninstalling WSL and trying to re-enable it again. The error is exactly the same in CBS.log with the same |
Removed possible candidates: Privatefirewall (Privacyware) and Shrewsoft VPN. And installation worked. Thanks for nice logging 👍 |
Windows 10 ENT x64 build 17127, NICs are Killer E2400 GE & Killer Wireless 1535 WLAN. The following message is recorded in CBS.log
I'm not using 3rd party AV/firewall software(only windows defener), and there's no VPN application installed. I've already tried:
|
I have encountered the same issue with subsystem for Linux rolling back each time after reboot but none of the solution listed here worked for me. |
Not running server version, but have same problem as #931 (comment)
Sysinfo:
|
Also for me it's not possible to install WSL. Each time I tried to activate it, it was rolled back during reboot. I found the following line in the CBS logs: |
Just for the record, @abalakersky's solution worked for me. Thanks! |
I removed CheckPoint VPN and was able to install WSL successfully. Reinstalled CheckPoint VPN afterwards with no issues. |
Wanted to share my experience with this error after having tried all of the above. After removing my antivirus and firewall (Zonealarm & Avast; disabling didn't help), I was successfully able to install WSL. |
WSL not Installing (Changes rollback on restart)I'm having the same problem as @gyroknight. I'm not able to turn on WSL or Virtual Machine Platform as a feature in Windows. Whenever I enable them and restart, it gives me the same error:
I've tried all the above-mentioned methods (Turning features on through windows Powershell as admin, deleting
I'm not using 3rd party AV/firewall software (only windows defender), and there's no VPN application installed. |
I was able to fix my computer with a reset. |
I have an issue of automatically unchecking wsl after restart. Error when restart: we couldn't complete the features undoing changes.. |
I have an issue of automatically unchecking wsl after restart. Error when restart: we couldn't complete the features undoing changes.. |
Resetting your computer seems to be the solution that's been working consistently. |
Hey everyone! |
have you found a solution? I do not want to reset my PC |
By the way, is there a way to do a checksum check on a specific build of windows? Or is this not possible? I understand that the media creation tool does this by default (some sort of checksum check), but this would require you to use a windows system to make the installation iso for your install... Which not everyone can do. So for future reference I will try to build my usb sticks and windows iso's using the media creation tool to make sure that I do not have a corrupt image that can deliver faulty feature components to begin with. |
Confirm solution. Have Windows Server 2019 (1809) stoped updating few months ago. Removed WSL and updated finaly. |
Encountered similar problems on Windows 11. Tried all things above and the problem persisted - Finally I remembered that the wireless adapter is missing drivers. Never used Wi-Fi at my workplace so I left it on a warning sign in device manager when I setup the OS. After installing Intel wireless drivers I can add Windows features smoothly without any problems. |
Whenever I install the windows feature: Windows Subsystem for Linux (Beta). I am prompted to restart. Whenever I restart my computer it hangs for about a second on 56% installing the update and then restarts again. It then tells me that the windows update could not be installed and that it's reverting back changes made.
I've tried installing the windows feature from within both the command prompt and powershell.
I've ran the following commands on the command prompt:
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1" DISM /Online /Add-Capability /CapabilityName:Tools.DeveloperMode.Core~~~~0.0.1.0 DISM /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux/
And the following commands on the powershell:
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" -Name "AllowDevelopmentWithoutDevLicense" -Value 1 Add-WindowsCapability –Online -Name Tools.DeveloperMode.Core~~~~0.0.1.0 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Both which ended in the same result as when trying to do it from within the windows feature menu in windows 10.
I've checked my event log and couldn't find anything related to the update. Neither in my update history. So I used the following command to gather a log file of my windows updates:
Get-WindowsUpdateLog
I will attach the log file to this post.
I expected the installation to go through smoothly so I would be able to start installing bash and start using it.
Instead, windows update tells me that it fails updating.
My windows OS build number is: 14393.51
I hope you guys can help me out, I was thinking: perhaps my anniversary update is corrupt somehow? Causing it to install corrupted files? Or does it install from an external source?
WindowsUpdate.txt
Anyways, I hope you can help me out. I would love to try this feature.
The text was updated successfully, but these errors were encountered: