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

WSL installing error with error code 0x80073701 #3675

Closed
ghost opened this issue Nov 20, 2018 · 4 comments
Closed

WSL installing error with error code 0x80073701 #3675

ghost opened this issue Nov 20, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 20, 2018

This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS! Issues with missing or incomplete issue templates will be closed.

If you have a feature request, please post to the UserVoice.

If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.

Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues. Please direct all Windows crashes and security issues to secure@microsoft.com. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

Please fill out the below information:

  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [版本 10.0.17134.407]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

PS C:\WINDOWS\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature : 找不到引用的汇编。
所在位置 行:1 字符: 1

  • Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- ...
  •   + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
      + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
    
    
  • What's wrong / what should be happening instead:

It is a WSL installing error.
When I try starting Microsoft Windows Subsystem for Linux, I failed.

  • Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

  • For WSL launch issues, please collect detailed logs.

See our contributing instructions for assistance.

The C:\Windows\Logs\CBS\CBS.log is:

2018-11-20 11:10:21, Error CSI 0000001a@2018/11/20:03:10:21.334 (F) onecore\base\wcp\componentstore\csd_locking.cpp(95): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null) [gle=0x80004005]
2018-11-20 11:10:22, Error CSI 0000001b (F) STATUS_SXS_ASSEMBLY_MISSING #412928# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2018-11-20 11:10:22, Error CSI 0000001c (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #412770# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = 3aa00062b58770764afae64242747ac3, version 10.0.17134.137, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_1986_for_KB4338819~31bf3856ad364e35~amd64~~10.0.1.4.4338819-4022_neutral', rah = '2', manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2018-11-20 11:10:22, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2018-11-20 11:10:22, Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2018-11-20 11:10:24, Error CBS Attempt to change a finalized session [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]2018-11-20 11:27:12, Info CBS TI: --- Initializing Trusted Installer ---

(I have removed all Infos)

When I try to use control panel to install it, I got an error code 0x80073701.

And also I have tried to use dism or "sfc /scannow" to fix the Windows, but the error doesn't disappear.
(As my native language isn't English, I'm sorry for my poor English.)

@norchai66
Copy link

Exactly the same issue here!

@ghost
Copy link
Author

ghost commented Dec 31, 2018

Well what distribution are you attempting to run? And where is it from, the Microsoft Store, or are you using a third-party tool & rootfs?

It is Ubuntu and from the Microsoft Store.

@ghost
Copy link
Author

ghost commented Feb 18, 2019

Well, after reinstalling Windows 10, I solved the problems. It is like my Windows lost some important files.

@ghost ghost closed this as completed Feb 18, 2019
@xobs
Copy link

xobs commented Nov 12, 2019

I'd like to add that I encountered this error -- 0x80073701 -- when using the GUI to enable WSL. Using the terminal and running Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux resulted in a working installation.

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

No branches or pull requests

2 participants