I have a windows 10 laptop that whenever I open the start menu or edge, the windows will start flashing like another window is requesting focus, and then it will get focus back and I am unable to type as it loses and regains focus. I have tried doing an SFC, and it did not find any integrity violations. I have tried doing a dism restore by doing the following command with a windows iso mounted that I downloaded from TechNet, so I know the install.wim file is there.
dism /online /cleanup-image /restorehealth /source:WIM:G:\sources\install.wim:1
I've also tried a few different iterations, including removing the WIM from the soruces, removing the :1, adding /limitaccess at the end, but I get the same error message no matter what (The percentage seems to stop at random):
Deployment Image Servicing and Management tool
Version: 10.0.15063.0
Image Version: 10.0.15063.0
[===========================96.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 http://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
Errors and Warnings in the log:
2017-07-12 16:41:00, Error DISM DISM Package Manager: PID=6092 TID=8284 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
2017-07-12 16:41:00, Error DISM DISM Package Manager: PID=6092 TID=8284 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2017-07-12 16:41:00, Error DISM DISM Package Manager: PID=6092 TID=8284 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)
2017-07-12 16:41:00, Error DISM DISM Package Manager: PID=6092 TID=8284 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
2017-07-12 16:41:00, Error DISM DISM Package Manager: PID=6092 TID=8284 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f)
2017-07-12 16:41:00, Error DISM DISM Package Manager: PID=6092 TID=8284 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)
Any ideas or do I need to reset this laptop?
Update:
Windows Central has an article on how to use Dism to repair an image
This article mentions using /restorehealth with an install.wim file source. According to them, my initial suggestion was correct: the syntax needs to be adjusted (The screen shot below is from their article).
Original post:
I've used dism a fair amount--although never for this particular purpose-- and I have used the /source option frequently. It's been my experience that this error indicates that there is a typo or invalid syntax in the file path.
I've highlighted where I believe the syntax error is:
Get rid of WIM and try:
/sources:G:\Sources\install.wim
User contributions licensed under CC BY-SA 3.0