Fixing an Unbootable Windows 11 OS


Local time
5:48 AM
Posts
2
OS
Windows 11
Hello all,

I've been at this for about a week and despite finding the process very interesting, I've become a bit stuck and am keen to have my computer working again.

I currently can't get the DISM tool to run its Restorehealth command, with it continually presenting the '0x800f081f the source file could not be found' error.

Below is a summary of what has happened up until now and I'm happy to elaborate if required.
  • A week ago, I booted my PC normally on the SSD running Windows 11 (Version 22631.4751). I then realised that I actually want to access my dormant Windows 10 installation running on a second SSD. I assess this Win10 OS infrequently and up until now it has been running fine.
  • I restart, enter BIOS and force the system to boot into the SSD running Win10, as I've done several times before. The OS loads very slowly, I manage to log in, but I'm presented with a black screen. The mouse is still visible, and I can open task manager with Ctrl+Alt+Delete. I restart and this time the system doesn't boot past the windows logo loading screen.
  • I restart back into BIOS and select the Win11 SSD to boot from. As Windows was loading, I remember seeing a repair message down the bottom of the screen informing me that it was copying files to one of my SSDs. After this, windows progressed to, and hung on a black screen which didn't accept any input from me. Rebooting gets me as far as a few seconds of the windows loading screen and then black. From my notes I think I also received a NTFS File System BSOD at some point in this process, but I can't remember the order and it hasn't appeared since.
  • After a hasty google I ran the bootrec /fixboot, bootrec /scanos, bootrec /rebuildbcd, bootrec /FixMbr commands into command prompt from the recovery environment. This did nothing because, as I later found out, they don't work with a GTP disk. I also made some unwise bcdedits to the Boot Loader, changing the device field as I thought it was pointing to the wrong disk. As a result, I lost access to the recovery partition (nice (y)). After this, when it tries to access the recovery partition I get error codes: 0xc000000e (referring to winload.efi), 0xc0000225, 0xc000000f (referring to winload.efi), 0xc0000001.

  • Now accessing command prompt from a USB I created with the windows media creation tool (Windows version: 26100.2033), I attempted to fix the Boot Manager.
    • I followed this guide, which ultimately had me running the command, 'bcdboot C:\Windows /l en-us /s k: /f ALL'. The boot manager looked correct after this, but windows still presented a couple of seconds of logo and loading screen, then eternal black.
    • I then followed this guide which had me format the system partition and then rebuild it with a similar command to the above one. Afterwards, there was no change and windows still booted to a black screen.

  • I then tried to boot into safe mode by editing the Boot Loader with the command 'bcdedit /set {default} safeboot minimal'. Windows no longer boots into a black screen but instead displays the windows logo and loading circle for eternity (at least 45min).

  • I tried to enter boot debugging but I don't have the required USB cable and apparently my NIC isn't supported by my Win11 version.

  • At some point I troubleshooted my hardware by:
    • Disconnecting all external devices except for the keyboard, mouse and monitor.
    • Disconnecting the win10 SSD
    • Removing the GPU and using integrated graphics instead.
    • Testing with only one RAM stick installed at a time.
    • Running the NVMe test in the BIOS
    • Loading default BIOS settings.

  • I then ran the System File Checker using the command, "sfc /scannow /offbootdir=c: /offwindir=c:\windows" from this guide.
    • This found corrupt files but was unable to fix some of them.

  • I ran Check Disk was the command, chkdsk c: /f.
    • This found no problems.

  • I then tried to fix the problem using DISM using this guide, this one and info from all over the place.
    • I ran Checkhealth with, "dism /image:d:\ /cleanup-image /checkhealth".
      • I get, "the component store is repairable."
    • I ran Scanhealth with, "dism /image:d:\ /cleanup-image /checkhealth".
      • I get, "the component store is repairable."
    • I ran Restorehealth with, "dism /Image:D:\ /Cleanup-Image /Restorehealth".
      • I get Error: 0x800f081f the source files could not be found.
    • To rectify this I've tried:
      • dism /image:c:\ /cleanup-image /restorehealth /source:d:\sources\install.esd (d:\ being the USB with the 26100.2033 install)
      • dism /image:c:\ /cleanup-image /restorehealth /source:d:\sources\install.esd /limitaccess
      • dism /image:c:\ /cleanup-image /startcomponentcleanup
        • I haven't tried /ResetBase yet, if that will make any difference?
      • dism /image:c:\ /cleanup-image /revertpendingactions
      • Downloading from UUP Dump, an ISO with the same version as the problem win11 (22631.4751) and attempting the same commands above.
      • This downloaded as a wim file so I then tried this command:
        • dism /image:c:\ /cleanup-image /restorehealth /source:wim:d:\sources\install.wim:1 /limitaccess
      • Downloading an ISO containing the latest build of 23H2 (22631.4890) and attempting the commands above.
      • All received the same error.

  • I also used Hiren's BootCD PE and EaseUS to create a small partition on the Win11 SSD and then install a fresh copy of Windows on it (26100.3194).
    • I now dual boot into this 'workshop' OS (as I'll now call it). It boots normally and since then I've been attempting to fix the original Win11 from here.

  • I'm currently up to attempting to manually repair the corrupted manifests that DISM has identified, using the Microsoft guide Fix Windows Update corruptions and installation failures.
    • Some of the manifests have an Update Build Revision (UBR) number of 22621.4751 which appear to come from update KB5050021, but after downloading and unpacking the update I can't find the files inside.
    • Some of the manifests have a UBR number of 22621.4746 and I have no idea where I can get copies of these.
    • I also noticed that some of these manifest list "en-gb" after their UBR number, while some list "en-us" and others "none"
      • I remember reading forum posts where people recommended using English UK installation media to try and avoid the DISM 0x800f081f error. I did try this at the time to no avail, but could these be where some of these files are located?
      • Running the command: DISM /image:d:\ /Get-Intl (d:\ is now the path to the troubled Win11 from the workshop OS I've created)
        • Image Version: 10.0.22631.4751

          Reporting offline international settings.

          Default system UI language : en-US
          System locale : en-US
          Default time zone : AUS Eastern Standard Time
          User locale for default user : en-AU
          Location : Australia (GEOID = 12)
          Active keyboard(s) : 0409:00020409, 0c09:00000409
          Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)

          Installed language(s): en-GB
          Type : Partially localized language, MUI type.
          Fallback Languages en-US
          Installed language(s): en-US
          Type : Fully localized language.
    • My next step along this path is to reinstall the 'workshop' win11 using the 22631.4751 ISO downloaded from UUP Dump and see if I can source replacements for the corrupted files from it.

  • I would however really just like DISM to sort this out for me, so any advice on how to get this to work would be most appreciated.
    • To help with troubleshooting this I've attached a DISM log that was generated after running the command:
      • dism /image:d:\ /cleanup-image /restorehealth /source:wim:f:\sources\install.wim:1
        • d:\ being the location of the broken win11
        • f:\ being where the ISO (version 22631.4890) mounted itself after double clicking on it.
        • Index 1 is the only index in the wim file and it's win11 Pro.
    • I have only just started to learn how to read this, but a few lines jump out to me:
      • 2025-02-14 11:07:30, Info CBS Failed to find a matching version for servicing stack: d:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4740_none_e928b4ac42f6002b\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
      • 2025-02-14 11:07:30, Info CBS Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
      • 2025-02-14 11:07:30, Info CBS Offline servicing, using stack version from: d:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4740_none_e928b4ac42f6002b\cbscore.dll
      • 2025-02-14 11:07:30, Info CBS Loaded Servicing Stack v10.0.22621.4740 with Core: d:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.4740_none_e928b4ac42f6002b\cbscore.dll
      • 2025-02-14 11:07:30, Info CBS Setting core mode: CbsCoreModeOffline

      • 2025-02-14 11:07:31, Info CBS Exec: Addsource called, Session: 46260_135867390, Client: DISM Package Manager Provider, from GPO: No, Path: wim:f:\sources\install.wim:1
      • 2025-02-14 11:07:31, Error CBS Cannot add wim: file source because it is not supported during offline servicing [HRESULT = 0x800f082e - CBS_E_NOT_ALLOWED_OFFLINE]
    • How this reads to complete novice like me, is that CBS is unable to find the correct "servicing stack" until going into "offline servicing", but then later on determines that it can't use the provided wim because "it is not supported during offline servicing". Am I close? Is this a clue or just part of normal ops?
Anyway, I'm sorry that this post ended up being so long, but it's been quite an adventure. I do have my data backed up, though after coming this far I'm determined to try and fix it and not to reformat and reinstall windows (I also just got it the way I like it), so any advice on how to proceed further would be most appreciated.

Thanks in advance!
 
Windows Build/Version
22631.4751

Attachments

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 7800X3D
    Motherboard
    ASUS X670E-E
    Memory
    Trident Z5 Neo RGB, DDR5-6000 CL30-38-38-96, 2x16GB
    Graphics Card(s)
    EVGA RTX 3060 XC
    Monitor(s) Displays
    Samsung 34" Odyssey OLED G8 & Dell U2518D
    Screen Resolution
    3440 x 1440 & 2560 x 1440
    Hard Drives
    Samsung 990 Pro 2TB & Samsung 850 Evo 1TB
    PSU
    Corsir RM1000x
    Case
    Fractal North
    Cooling
    EK-Nucleus AIO Lux CR240 D-RGB
    Internet Speed
    250Mbps/25Mbps
Can you please tell me what are you trying to repair and any error message?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
I guess in summary I'm trying to get my PC to boot into windows again.

I tried everything listed in the original post and I am stuck on trying to get DISM to repair the image. No matter what I try DISM is consistently outputting the error: 0x800f081f the source files could not be found
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 7800X3D
    Motherboard
    ASUS X670E-E
    Memory
    Trident Z5 Neo RGB, DDR5-6000 CL30-38-38-96, 2x16GB
    Graphics Card(s)
    EVGA RTX 3060 XC
    Monitor(s) Displays
    Samsung 34" Odyssey OLED G8 & Dell U2518D
    Screen Resolution
    3440 x 1440 & 2560 x 1440
    Hard Drives
    Samsung 990 Pro 2TB & Samsung 850 Evo 1TB
    PSU
    Corsir RM1000x
    Case
    Fractal North
    Cooling
    EK-Nucleus AIO Lux CR240 D-RGB
    Internet Speed
    250Mbps/25Mbps
Get yourself the latest Windows 11 bootable media and boot your computer with it and see my video instructions will help.

In this video, i will guide you on how to resolve "The source files could not be found" dism error code 0x800f081f message.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
1) Find several flash drives that you can format (> or = 8 GB)

2) Find a working Windows computer.

3) On the working Windows computer create tools that can be used on the problematic computer.


4) Create a bootable Sea Tools flash drive




5) Create a bootable Windows 11 Media Creation Tool (MCT) (Windows 11 iso)




6) Create a bootable Windows 10 Media Creation Tool (MCT) (Windows 10 iso)





7) Run the Sea Tools Long generic test (all drives) > take pictures > post images or share links

8) If the Long generic test result reports fail then backup files and replace the drive

9) If the Long generic test result report pass then boot to the Windows 11 MCT

Option #7:


Open command prompt > type or copy and paste:

Code:
notepad
notepad
bcdedit
bcdedit | find "osdevice"


Code:
notepad
notepad
diskpart
lis dis
lis vol
sel dis 0
det dis
lis par
sel dis 1
det dis
lis par
sel dis 2
det dis
lis par
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
Hi Seymour,

I had the same error with my dual boot system too. What I ended up doing was starting from scratch on my Windows 10 boot. I started at Diskpart and ran the "clean" command on the Win10 disk, recreated the Windows 10 install partitions and then reinstalled Windows 10. I then got my system booting properly including my Window 11 drive still intact. So, at that point I restored a backup of Windows 10 and all was well again. It was pretty daunting as you have experienced, I did the same steps in an effort to fix my system. It wasn't until I got desperate that I cleaned my Windows 10 drive.

If you have a backup of your Windows 10 installation, I would strongly suggest you give my solution a shot. If you don't have a backup, then follow zbook's instructions to the letter.

Kind regards,

tecknot
 

My Computer

System One

  • OS
    Dual boot Windows 10 Pro 22H2 (b 19045.5487) & Windows 11 Pro 23H2 (b 22631.4890)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad Workstation P72
    CPU
    Intel i7 8750H @ 2.2 GHz
    Motherboard
    Lenovo 01YU291
    Memory
    16 GB (all Samsung) DDR4-3200 SODIMM (non-ECC) PCIe 3
    Graphics Card(s)
    Intel UHD Graphics 630 & NVIDIA Quadro P600
    Sound Card
    Realtek ALC3286
    Monitor(s) Displays
    17.3"
    Screen Resolution
    3840x2160
    Hard Drives
    1TB SSD Samsung 860 EVO SATA 3
    1TB SSD Samsung 970 EVO M.2 NVMe PCIe 3 x 4
    1TB SSD Samsung 980 M.2 NVMe PCIe 3 x 4
    PSU
    230W
    Cooling
    fan
    Keyboard
    UltraNav
    Mouse
    Kensington wireless Orbit
    Internet Speed
    640Mbps
    Browser
    Firefox
    Antivirus
    Defender
    Other Info
    CM246 Chipset

Latest Support Threads

Back
Top Bottom