Skip to content
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

Open
Simbaclaws opened this issue Aug 18, 2016 · 81 comments
Open

Can't install the windows feature #931

Simbaclaws opened this issue Aug 18, 2016 · 81 comments

Comments

@Simbaclaws
Copy link

Simbaclaws commented Aug 18, 2016

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.

@Simbaclaws
Copy link
Author

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.

@iamrockhopper
Copy link

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.

@iamrockhopper
Copy link

The eventlog as follows:

System

  • Provider
    [ Name] Microsoft-Windows-Servicing
    [ Guid] {BD12F3B8-FC40-4A61-A307-B7A013A069C1}
    EventID 11
    Version 0
    Level 0
    Task 1
    Opcode 0
    Keywords 0x8000000000000000
    • TimeCreated
      [ SystemTime] 2016-08-21T20:21:16.572444300Z
      EventRecordID 57
      Correlation
    • Execution
      [ ProcessID] 1896
      [ ThreadID] 1948
      Channel Setup
      Computer IT074269.massey.ac.nz
    • Security
      [ UserID] S-1-5-18
    • UserData
  • CbsUpdateChangeState
    UpdateName Microsoft-Windows-Subsystem-Linux
    PackageIdentifier Microsoft-Windows-Lxss-Optional-Package
    ErrorCode 0x800f0922
    Client Windows Optional Component Manager

@dkager
Copy link

dkager commented Aug 31, 2016

I triggered this by:

  • Installing the subsystem, which was successful.
  • Starting Bash, creating a user and updating packages with apt.
  • Using System Restore to go back to an earlier point (for unrelated reasons).
  • Reinstalling the subsystem, since System Restore reverted the installation. Now it fails to install.

@Lutten
Copy link

Lutten commented Sep 10, 2016

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".
This is the win10 logmsg:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Servicing" Guid="{BD12F3B8-FC40-4A61-A307-B7A013A069C1}" />
    <EventID>11</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>1</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2016-09-09T21:28:23.175364900Z" />
    <EventRecordID>44</EventRecordID>
    <Correlation />
    <Execution ProcessID="1684" ThreadID="1712" />
    <Channel>Setup</Channel>
    <Computer>T460S</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <CbsUpdateChangeState xmlns="http://manifests.microsoft.com/win/2004/08/windows/setup_provider">
      <UpdateName>Microsoft-Windows-Subsystem-Linux</UpdateName>
      <PackageIdentifier>Microsoft-Windows-Lxss-Optional-Package</PackageIdentifier>
      <ErrorCode>0x800f0922</ErrorCode>
      <Client>Windows Optional Component Manager</Client>
    </CbsUpdateChangeState>
  </UserData>
</Event>"

@Simbaclaws
Copy link
Author

Simbaclaws commented Sep 11, 2016

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.
I suppose my anniversary update for WSL got corrupted somehow (which I also claimed in the beginning of talking to tech support and in my first post in this page) and apparently I was right.

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....

@yann-scheydeker
Copy link

Hello,

Same issue for me :

Installing the subsystem, which was successful.
Starting Bash, creating a user and updating packages with apt.
Using System Restore to go back to an earlier point (for unrelated reasons).
Reinstalling the subsystem, since System Restore reverted the installation. Now it fails to install.

@dfishman222
Copy link

Agree, the folks at MSFT want me to pay for hours of support fixing, but I don't think they know how to fix.

@olegus-maximus
Copy link

Getting the same issue on my desktop (laptop is fine though), no idea how to make it work.

@afarra
Copy link

afarra commented Nov 1, 2016

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.

@imWillX
Copy link

imWillX commented Nov 30, 2016

+1

Installing the subsystem, which was successful.
Starting Bash, creating a user and updating packages with apt.
Using System Restore to go back to an earlier point (for unrelated reasons).
Reinstalling the subsystem, since System Restore reverted the installation. Now it fails to install.

@sunilmut
Copy link
Member

sunilmut commented Dec 1, 2016

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!

@sunilmut sunilmut added the bug label Dec 1, 2016
@sunilmut
Copy link
Member

sunilmut commented Dec 5, 2016

@ALL As a workaround, after the system restore and prior to installing bash again, can you try a full uninstall of WSL by doing lxrun /uninstall /full? You will need to have the WSL enabled in the optional features prior to this step.

@dkager
Copy link

dkager commented Dec 5, 2016

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.

@olegus-maximus
Copy link

Experiencing exact same issue as @dkager , I enable it in the optional features, but it doesn't install properly on reboot.

@sunilmut
Copy link
Member

sunilmut commented Dec 5, 2016

@dkager - lxrun is part of the optional feature and will only show up after the reboot. Just to be clear, is that not the case for you?

@filoleg - Can you please clarify what you mean by 'doesn't install properly? Is lxrun` not showing up for your after reboot?

@dkager
Copy link

dkager commented Dec 5, 2016

@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?

@olegus-maximus
Copy link

@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.

@afarra
Copy link

afarra commented Dec 5, 2016

@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 lxrun /uninstall /full the installation doesn't complete because during reboot it says it is being rolled back (as @dkager mentioned) so after reboot it again shows that it is not installed, so can't uninstall it with lxrun

@sunilmut
Copy link
Member

sunilmut commented Dec 6, 2016

@dkager, @filoleg @afarra - Sorry to hear about your experience.
Can you enable the feature by doing the below from a cmd prompt:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux
And, after the reboot (and failed installation of the feature), share the log:
%windir%\Logs\DISM\dism.log
We might be able to get a better idea what is going on with the feature installation.

@olegus-maximus
Copy link

@sunilmut same thing happened with cmd, archive with my dism.log is attached.
dism.zip

@sunilmut
Copy link
Member

sunilmut commented Dec 7, 2016

Thanks @filoleg for sending the logs. Just heard from the dism team that we also need the %windir%\logs\cbs logs. Could you provide them too?

@olegus-maximus
Copy link

@sunilmut no problem.
CBS.zip

@afarra
Copy link

afarra commented Dec 7, 2016

@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)

@sunilmut
Copy link
Member

sunilmut commented Dec 7, 2016

@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?

@afarra
Copy link

afarra commented Dec 7, 2016

@sunilmut Developer mode remains on, yes. But WSL turns back off.

@afarra
Copy link

afarra commented Dec 7, 2016

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.

@sunilmut
Copy link
Member

sunilmut commented Dec 8, 2016

@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:

schtasks /query /tn "\Microsoft\Windows\Windows Subsystem for Linux\AptPackageIndexUpdate"
and share the output in GitHub

  1. schtasks /delete /tn "\Microsoft\Windows\Windows Subsystem for Linux\AptPackageIndexUpdate" /f
    N.B - Do not do this if your optional feature is fully installed and working.
  2. Enable the WSL optional feature (if not already)
  3. Reboot
  4. lxrun /uninstall /full
  5. Install bash

@JenusL
Copy link

JenusL commented Feb 22, 2018

Solved it!
After a lot of detective work I found this in the CBS.log...
2018-02-21 21:14:03, Error [0x01805b] CSI 0000004e (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED). Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

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...
And BINGO! E80.80 of Checkpoint VPN had the following in the change log:
Resolved an issue when some third-party products are unable to create or delete network adapters.

So instead of removing the VPN I decided to update it to E80.80 and after that WSL installed without problems.
Hope this can help some more people as well.

@mingyuea
Copy link

mingyuea commented Mar 6, 2018

@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?

@JenusL
Copy link

JenusL commented Mar 6, 2018

@mingyuea That sounds strange... Can you please post your error message?

@mingyuea
Copy link

mingyuea commented Mar 6, 2018

@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

Update Microsoft-Windows-Subsystem-Linux of package Microsoft-Windows-Lxss-Optional-Package failed to be turned on. Status: 0x800f0922.

After checking the CBS.log for more info, I found this error at around the same time:

2018-03-06 07:45:25, Error [0x01805b] CSI 0000004d (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED). Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

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

@JenusL
Copy link

JenusL commented Mar 6, 2018

@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.
This issue seems to have started with Fall Creators Update. Maybe MS changed something with Network Drivers and now hardware companies need to update their drivers to be compatible again.

@mingyuea
Copy link

mingyuea commented Mar 7, 2018

@JenusL @sunilmut So I ran that command, and I do have two adapters, one for wi-fi and one for ethernet. I've updated both, but it still doesn't work

@gyroknight
Copy link

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 Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) error. There is no Windows Subsystem for Linux folder in %windir%\System32\Tasks\Microsoft\Windows and setting those services to automatic did not change anything; the services were already started.

@maxwowpow
Copy link

maxwowpow commented Mar 28, 2018

2018-03-27 18:31:53, Info                  CSI    0000004c@2018/3/27:16:31:53.141 CSI Advanced installer perf trace:

CSIPERF:AIDONE;{a111f280-5923-47c0-9a68-d0bafb577901};(null);50635us
2018-03-27 18:31:53, Info                  CSI    0000004d End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) 

2018-03-27 18:31:53, Error      [0x01805b] CSI    0000004e (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2018-03-27 18:31:53, Info                  CBS    Added C:\Windows\Logs\CBS\CBS.log to WER report.

Removed possible candidates: Privatefirewall (Privacyware) and Shrewsoft VPN. And installation worked. Thanks for nice logging 👍
Maybe this must be added to official MS Docs/Page for installation.

@cym104
Copy link

cym104 commented Mar 29, 2018

Windows 10 ENT x64 build 17127, NICs are Killer E2400 GE & Killer Wireless 1535 WLAN.
When tring to enable WSL, the install fails after first reboot and then rolls back.

The following message is recorded in CBS.log

2018-03-22 20:54:37, Info                  CSI    00000121 Begin executing advanced installer phase 31 index 0 (sequence 0)
    Old component: [l:0]''
    New component: [l:0]''
    Install mode: delta
    Smart installer: true
    Installer ID: {a111f280-5923-47c0-9a68-d0bafb577901}
    Installer name: 'Network Drivers'
2018-03-22 20:54:37, Info                  CSI    00000122 Begin NetSetup servicing operation
2018-03-22 20:54:37, Info                  CSI    00000123 Begin loading the binding engine
2018-03-22 20:54:37, Info                  CSI    00000124 Finished loading the binding engine - elapsed time: 15ms
2018-03-22 20:54:37, Info                  CSI    00000125 Begin calculating changes
2018-03-22 20:54:37, Info                  CSI    00000126 Installing network driver ms_vfpext
2018-03-22 20:54:37, Info                  CSI    00000127 Installing network driver netAdapterDriver-{72FEF6B3-26F8-42AA-A41C-5B491CBB0914}
2018-03-22 20:54:37, Info                  CSI    00000128 Installing network driver vms_pp
2018-03-22 20:54:40, Info                  CSI    00000129 Error while printing exception records to this log file
2018-03-22 20:54:40, Info                  CSI    0000012a@2018/3/22:12:54:40.193 CSI Advanced installer perf trace:
CSIPERF:AIDONE;{a111f280-5923-47c0-9a68-d0bafb577901};(null);2981555us
2018-03-22 20:54:40, Info                  CSI    0000012b End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(1726) 
2018-03-22 20:54:40, Error      [0x01805b] CSI    0000012c (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(1726).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

I'm not using 3rd party AV/firewall software(only windows defener), and there's no VPN application installed.
I tired to manually install this vms_pp driver with:
netcfg -l C:\Windows\WinSxS\amd64_dual_wvms_pp.inf_31bf3856ad364e35_10.0.17120.1_none_04bc0d690be4e471\wvms_pp.inf -c p -i vms_pp
but it simpley give me a error 0xe000022f.

I've already tried:

  • made sure VT-x and VT-d enabled in BIOS
  • remove any other virt soft (e.g. VMware workstation).
  • remove any software that might modify network stack.
  • DISM and sfc
  • update driver for all NICs.
  • rollback driver for all NICs to windows default.
  • disable all NICs in BIOS.
  • reset network from Settings app.

@chunkyen
Copy link

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.
It turns out that Checkpoint VPN is the culprit and uninstalling it works for me.
Cheers

@q587p
Copy link

q587p commented May 27, 2018

Not running server version, but have same problem as #931 (comment)

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature : Feature name Microsoft-Windows-Subsystem-Linux is unknown.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

Sysinfo:

systeminfo | Select-String "^OS Name","^OS Version"

OS Name:                   Майкрософт Windows 10 Pro
OS Version:                10.0.16299 N/A Build 16299

@newlukai
Copy link

newlukai commented Jun 1, 2018

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:
2018-06-01 07:04:05, Error [0x018020] CSI 00000041 (F) Failed execution of queue item Installer: Mof ({9f4ec79f-3a97-4772-b635-2899468900a2}) with HRESULT 8004402f [Error,Facility=FACILITY_ITF,Code=16431 (0x402f)]. Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

@mirenbz
Copy link

mirenbz commented Jun 5, 2018

Just for the record, @abalakersky's solution worked for me. Thanks!

@thegrahamking
Copy link

I removed CheckPoint VPN and was able to install WSL successfully. Reinstalled CheckPoint VPN afterwards with no issues.

@rbreejen
Copy link

rbreejen commented Aug 16, 2018

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.

@YoshiBoiy
Copy link

YoshiBoiy commented Nov 3, 2020

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:

"We couldn't complete the features, Undoing changes, Don't turn off your computer."

I've tried all the above-mentioned methods (Turning features on through windows Powershell as admin, deleting %windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux, @abalakersky's commands, and updating any network drivers) and all of them would return the same error message on restart. Here is an excerpt from my %windir%\logs\cbs file:

2020-11-02 21:35:18, Info                  CSI    000000f3 End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND) 

2020-11-02 21:35:18, Error      [0x01805c] CSI    000000f4 (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2020-11-02 21:35:18, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2020-11-02 21:35:18, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]

I'm not using 3rd party AV/firewall software (only windows defender), and there's no VPN application installed.

@YoshiBoiy
Copy link

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:

"We couldn't complete the features, Undoing changes, Don't turn off your computer."

I've tried all the above-mentioned methods (Turning features on through windows Powershell as admin, deleting %windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux, @abalakersky's commands, and updating any network drivers) and all of them would return the same error message on restart. Here is an excerpt from my %windir%\logs\cbs file:

2020-11-02 21:35:18, Info                  CSI    000000f3 End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND) 

2020-11-02 21:35:18, Error      [0x01805c] CSI    000000f4 (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2020-11-02 21:35:18, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2020-11-02 21:35:18, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]

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.

@anony436
Copy link

anony436 commented May 9, 2021

I have an issue of automatically unchecking wsl after restart. Error when restart: we couldn't complete the features undoing changes..

@anony436
Copy link

anony436 commented May 9, 2021

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:

"We couldn't complete the features, Undoing changes, Don't turn off your computer."

I've tried all the above-mentioned methods (Turning features on through windows Powershell as admin, deleting %windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux, @abalakersky's commands, and updating any network drivers) and all of them would return the same error message on restart. Here is an excerpt from my %windir%\logs\cbs file:

2020-11-02 21:35:18, Info                  CSI    000000f3 End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND) 

2020-11-02 21:35:18, Error      [0x01805c] CSI    000000f4 (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2020-11-02 21:35:18, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2020-11-02 21:35:18, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]

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..

@YoshiBoiy
Copy link

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:

"We couldn't complete the features, Undoing changes, Don't turn off your computer."

I've tried all the above-mentioned methods (Turning features on through windows Powershell as admin, deleting %windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux, @abalakersky's commands, and updating any network drivers) and all of them would return the same error message on restart. Here is an excerpt from my %windir%\logs\cbs file:

2020-11-02 21:35:18, Info                  CSI    000000f3 End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND) 

2020-11-02 21:35:18, Error      [0x01805c] CSI    000000f4 (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2020-11-02 21:35:18, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2020-11-02 21:35:18, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]

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..

Resetting your computer seems to be the solution that's been working consistently.

@Rubikon23 Rubikon23 mentioned this issue Aug 4, 2021
2 tasks
@AlonKadosh2002
Copy link

Hey everyone!
I contacted Microsoft Support about this weird error and what they sent me to do is go to this link: https://www.microsoft.com/en-us/software-download/windows10
and press "Download Now". Let it run and keep hitting next, just make sure that when running this setup you tell it to keep all of your files and applications. After I let it run and it updated my computer, I re-enabled the WSL option using the "Turn Windows features on or off" program and not it works!
I hope it helps you out 🐼

@expected-ingot
Copy link

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:

"We couldn't complete the features, Undoing changes, Don't turn off your computer."

I've tried all the above-mentioned methods (Turning features on through windows Powershell as admin, deleting %windir%\System32\Tasks\Microsoft\Windows\Windows Subsystem for Linux, @abalakersky's commands, and updating any network drivers) and all of them would return the same error message on restart. Here is an excerpt from my %windir%\logs\cbs file:

2020-11-02 21:35:18, Info                  CSI    000000f3 End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND) 

2020-11-02 21:35:18, Error      [0x01805c] CSI    000000f4 (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2020-11-02 21:35:18, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2020-11-02 21:35:18, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]

I'm not using 3rd party AV/firewall software (only windows defender), and there's no VPN application installed.

have you found a solution? I do not want to reset my PC

@Simbaclaws
Copy link
Author

Simbaclaws commented Sep 23, 2022

By the way, is there a way to do a checksum check on a specific build of windows? Or is this not possible?
I haven't found any source of reference for checksums... I believe someone told me previously that it is because of the build process for the windows iso's that checksums change each build, and therefore can not be checked.... But I find this rather strange... If you have the exact same build, wouldn't publishing a checksum help solve these sort of issues in the first place?

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.

@Trogvars
Copy link

Confirm solution. Have Windows Server 2019 (1809) stoped updating few months ago.
Has same error:
00000347 (F) Failed execution of queue item Installer: Network Drivers ({a111f280-5923-47c0-9a68-d0bafb577901}) with HRESULT 800106d9 [Error,Facility=(0001),Code=1753 (0x06d9)]. Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

Removed WSL and updated finaly.
Thanks!

@Noirai
Copy link

Noirai commented Nov 16, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests