[SOLVED] Windows 11 Pro - DISM error (0x800f081f)

robertpos

Member
Joined
Apr 3, 2023
Posts
7
Hi!


My system is Windows 11 Pro 64 bit, with latest updates installed.
When I run DISM /online /cleanup-image /restorehealth, I get error: 0x800f081f. Then, when I try to run DISM and use the mounted Win11 ISO as the source, with limited internet access, I also get the same error. I have tried a number of ways and none of them are effective. Can you please help me to solve this problem?


Code:
Microsoft Windows [Version 10.0.22621.1485]
(c) Microsoft Corporation. Wszelkie prawa zastrzeżone.

C:\Windows\System32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.22621.1

Image Version: 10.0.22621.1485

[==========================100.0%==========================]
Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see https://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log




Best regards!
Robert
 

Attachments

Hi and welcome to Sysnative,

Export CBS (Component Based Servicing) hive
  • Click on the Start button and type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbef75cd3a-Export-CBS-hive.png

  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Hi,

Here's the first fix.

Step 1. Download
56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Hi!

Unfortunately, the problem still persists.

Code:
Microsoft Windows [Version 10.0.22621.1485]
(c) Microsoft Corporation. Wszelkie prawa zastrzeżone.


C:\Windows\System32>DISM /online /cleanup-image /RestoreHealth


Deployment Image Servicing and Management tool
Version: 10.0.22621.1


Image Version: 10.0.22621.1485


[==========================100.0%==========================]
Error: 0x800f081f


The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see https://go.microsoft.com/fwlink/?LinkId=243077.


The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


Kind regards!
Robert
 

Attachments

Hi,

Export the Windows Update log
  • Right-click on the Start button and click Windows PowerShell (Admin).
  • Copy and paste the following command into it, press enter afterwards
Code:
Get-WindowsUpdateLog
  • Wait for the message "WindowsUpdate.log written to C:\Users\<username>\Desktop\WindowsUpdate.log".
  • Attach the logfile WindowsUpdate.log to your next reply.
 
Open an elevated command prompt and run the following commands. Afterwards copy and paste the result in your next post.
Code:
DISM /Online /Add-Capability /CapabilityName:DirectX.Configuration.Database~~~~0.0.1.0
DISM /Online /Add-Capability /CapabilityName:Windows.Kernel.LA57~~~~0.0.1.0
 
Hi!

Results:

Microsoft Windows [Version 10.0.22621.1485]
(c) Microsoft Corporation. Wszelkie prawa zastrzeżone.

Code:
C:\Windows\System32>DISM /Online /Add-Capability /CapabilityName:DirectX.Configuration.Database~~~~0.0.1.0


Deployment Image Servicing and Management tool
Version: 10.0.22621.1


Image Version: 10.0.22621.1485


[==========================100.0%==========================]


Error: 0x800f0954


DISM failed. No operation was performed.
For more information, review the log file.


The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


C:\Windows\System32>DISM /Online /Add-Capability /CapabilityName:Windows.Kernel.LA57~~~~0.0.1.0


Deployment Image Servicing and Management tool
Version: 10.0.22621.1


Image Version: 10.0.22621.1485


[==========================100.0%==========================]


Error: 0x800f0954


DISM failed. No operation was performed.
For more information, review the log file.


The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


C:\Windows\System32>

Robert
 
This system is connected to an WSUS server as it seems, I would first check the configuration and connection settings. This because the error: 0x8024402c WU_E_PT_WINHTTP_NAME_NOT_RESOLVED (The proxy server or target server name cannot be resolved).
 
Today I'm working remotely from home. During above test, I was connected over VPN to my company.

Below are results of the same test, but with VPN disconnected:


Code:
C:\Windows\System32>DISM /Online /Add-Capability /CapabilityName:DirectX.Configuration.Database~~~~0.0.1.0


Deployment Image Servicing and Management tool
Version: 10.0.22621.1


Image Version: 10.0.22621.1485


[==========================100.0%==========================]


Error: 0x80240438


DISM failed. No operation was performed.
For more information, review the log file.


The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


C:\Windows\System32>DISM /Online /Add-Capability /CapabilityName:Windows.Kernel.LA57~~~~0.0.1.0


Deployment Image Servicing and Management tool
Version: 10.0.22621.1


Image Version: 10.0.22621.1485


[==========================100.0%==========================]


Error: 0x8024402c


DISM failed. No operation was performed.
For more information, review the log file.


The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Is that ok? Or, should I rather do this test while I'm in the company?

Kind regards!
 
Hi Maxstar!


oday I'm still working remotelly, but I think, I fixed the problem myself.


Yesterday, you inspired me with your comment on WSUS. I made the assumption that there are some packages on my laptop, that are not available on the company's WSUS server. So I decided to try to bypass WSUS for a while, and get packages online from Microsoft. I did it like this:

1. Regedit, HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate:
change the UseWUServer from 1 to 0.

2. Powershell:

restart the wuauserv service: Get-Service wuauserv | Restart-Service

3. Finally, I ran DISM /online /cleanup-image /restorehealth, which was successful.

After this I changed the UseWUServer back from 0 to 1 and restarted the wuauserv service again, then restarted my laptop. I ran once again DISM /online /cleanup-image /restorehealth, which also was successful.



I can’t explain why there were some packages (FoD) on my laptop that weren’t available on the WSUS server. Moreover, I don't know if that's how it should be fixed, but so far I'm glad the error is gone.



Thank you for your help.
Robert
 
Hi,

You're welcome. Glad you've managed to resolve this issue, temporarily bypassing the WSUS server is the best method to fix these kind of issues.. (y)
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top