Share via


Problem with Windows Subsystem Linux - error code 0x800f0831

Question

Thursday, December 1, 2016 8:05 AM

Hi, guys! My PC OS is Windows 10 Pro with Anniversary Update installed and Developer mode is activated, but I cannot turn on WSL feature. When i try, see this error code. What means this error and how can i solve it? Thanks in advance!

All replies (5)

Thursday, December 1, 2016 10:56 PM

When does this error appear? Adding the Windows Subsystem for Linux (Beta) from Turn Windows features on or off ?

Do the normal Windows updates work ok? Try Settings > Update & security and Check for updates does that work? Install all updates and reboot does that help?

If not try the Windows updates trouble shooter, search start for trouble open Troubleshooting and then the Windows Subsystem for Linux (Beta) from Turn Windows features on or off ? (bottom row) see if that helps.


Friday, December 2, 2016 5:48 AM

Hi, 

In addition to Mr Happy's suggestions, 0x800F0831 could also means CBS_E_STORE_CORRUPTION (Component-Based Servicing Component Store is corrupted). Please also run this command in an elevated CMD prompt to have a try:
DISM /Online /Cleanup-Image /RestoreHealth

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, December 2, 2016 4:36 PM

This error appears when i make a thick on Windows Subsystem Linux and when click enter. After Enter windows begin with "searching for required files" screen the this error appear on screen. 

Troubleshooting does not make changes, same error appears. :(


Friday, December 2, 2016 7:13 PM

As Rick_Li suggested try a repair, System file check (SFC) Scan and Repair System Files & DISM to fix things SFC cannot (guide by Team ZigZag) gives guidance on that.


Wednesday, January 25, 2017 3:06 PM

The same 0x800F0831-error occurs on my machine when trying to install WSL exactly the way Tansu Erdinch describes.

There indeed seems to be a problem with the CBS store. Running "DISM /Online /Cleanup-Image /RestoreHealth" results (after 100%) in:

Error: 0x800f081f
The source files could not be found.

which is the same error. The message also contains a reference to dism.log, which contains the same error code and reference to CBS.log. CBS.log is full with messages like

(p)    CBS Catalog Missing            Package_1137_for_KB3201845~31bf3856ad364e35~amd64~~10.0.1.2

KB3201845 is a Windows update from December 9 2016. This update was successfully installed on my machine on 2016-12-10 after failing once earlier that day, according to the update history. Other updates run fine.

In Tansu's case it must be another problem, since his post is from before December 9. This means that the problem is probably unrelated to the specific update.

Earlier I made a bugreport on the WSL github, which is probably not the right place, because it got no responses:
https://github.com/Microsoft/BashOnWindows/issues/1580

Not sure what to do now though. I should probably find/create a 'source' for KB3201845. The link by Mr Happy has some instructions, but not sure whether that will work on a corrupted system.