1.    29 Dec 2016 #1
    Join Date : Dec 2016
    Posts : 4
    Windows 10 Home 64-bit

    Windows 10 Powershell DISM RestoreHealth error 0x800f081f


    Hello everyone. This is my first time here so I'm hoping I'm in the right section and that the title is clear and all that. So basically I had some trouble with viruses a while back. I did manage to get rid of them (I think) but my PC has been a bit odd since then. For starters the Start Menu wont open, neither will the Search window. I also can't right click anything on the....actually I'm not sure what it's called but the Start bar at the bottom of the screen. I checked online for help and found the RestoreHealth command of Powershell, so I tried it out. However I ran into the error in the title of this thread. I went through the logs and found this:

    2016-12-29 11:34:03, Error DISM DISM Package Manager: PID=4216 TID=5304 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)2016-12-29 11:34:03, Error DISM DISM Package Manager: PID=4216 TID=5304 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg2016-12-29 11:34:03, Error DISM DISM Package Manager: PID=4216 TID=5304 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)2016-12-29 11:34:03, Error DISM DISM Package Manager: PID=4216 TID=5304 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg2016-12-29 11:34:03, Error DISM DISM Package Manager: PID=4216 TID=5304 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f)2016-12-29 11:34:03, Error DISM DISM Package Manager: PID=4216 TID=5304 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)

    These were the only lines marked with "Error". The problem is I don't really know where to go from here. Any and all help is greatly appreciated! Thank you.
      My ComputerSystem Spec
  2.    29 Dec 2016 #2

    You need to supply access to the install.wim or install.esd for the image that matches your installed version of Windows 10. It has to be the same version (probably 1607), same bittedness (32-bit or 64-bit), and same base language. You can download the ISO from the Windows ISO source and then right-click and mount it as a drive. Let's say this is drive J: Thus, your DISM syntax should be

    dism /online /cleanup-image /restorehealth /source:WIM:J:\sources\install.wim:1

    if it's an .esd file (which it shouldn't be if you get the ISO from the recommended download point) change the WIM to ESD and the .wim in the filename to .esd

    HTH and good luck. If this fails, you might need to change the number after the filename to :2 insead of :1.

    And BTW, there's a great tutorial on this subject here at TenForums, too: https://www.tenforums.com/tutorials/...-10-image.html
    --Ed--
      My ComputersSystem Spec
  3.    29 Dec 2016 #3
    Join Date : Dec 2016
    Posts : 4
    Windows 10 Home 64-bit
    Thread Starter

    Hello Ed, thank you very much for responding! Unfortunately your solution did not seem to work. I tried it with the value set to 1 and 2 and I get the exact same error, with the exact same text in the logs. I'll search through that guide you linked (thank you for that as well) but as of right now my problem is still not fixed.
      My ComputerSystem Spec
  4.    29 Dec 2016 #4
    Join Date : Oct 2014
    Posts : 381
    Windows 10x64 16241

    Had this issue just pop up on my stable Windows build. Tried my .iso and .esd and even downloaded the .iso from Microsoft. Finally resolved it with a clean install (repair install may well have worked).
      My ComputerSystem Spec
  5.    29 Dec 2016 #5

    Personally I went round and round on this with one of my machines earlier this year. Turns out I thought I'd installed en-US but had installed en-GB instead. I couldn't get DISM to work until I used an ISO for en-GB on that machine. It may be something weird and unexpected like that, so check everything...TWICE!

    --Ed--
      My ComputersSystem Spec
  6.    29 Dec 2016 #6
    Join Date : Dec 2016
    Posts : 4
    Windows 10 Home 64-bit
    Thread Starter

    It might very well be something like that. I don't quite understand the different options on the ISO page actually. Like what is "Windows 10 N" and "Windows 10 Single Language"? Also my computer language is UK English but again on the ISO site it has English listed as "English" and "English International". Pardon my language but what in the actual **** is that supposed to mean? I assumed that "English" was the UK one, but I might very well be wrong there. I'll just look around the internet to see if I can figure out what I'm supposed to select, thank you again for your quick and informative answers!

    EDIT: After some searching it seems that the English International option does indeed stand for the UK English, or as it's more commonly known; English! Will try again with the new ISO.

    EDIT 2: Nope, still didn't work
    Last edited by Genesis4545; 29 Dec 2016 at 17:04.
      My ComputerSystem Spec
  7.    29 Dec 2016 #7
    Join Date : Oct 2015
    Posts : 1,966
    Windows 10 Pro X64

    Hi,

    if it's an .esd file (which it shouldn't be if you get the ISO from the recommended download point) change the WIM to ESD and the .wim in the filename to .esd
    DISM doesn't handle .ESD file well. Best is to try the .WIM version.

    The error code generated points to a version mismatch.

    To check the .WIM version run this code from command prompt (Admin):

    Code:
    dism /Get-WimInfo /WimFile:E:\sources\install.wim /index:1
    Replace E:\ with the corresponding drive letter.

    Cheers,
      My ComputersSystem Spec
  8.    29 Dec 2016 #8

    I am guessing that once you succeed in matching the wim file you target in the /source attribute to the image running on your PC, repairs will go through. Follow Frank's (fdegrove's) advice on how to identify your source info. Try this command to see what you online environment is/has: dism /online /get-intl. Here's mine:
    Click image for larger version. 

Name:	dism-get-intl.jpg 
Views:	4 
Size:	73.7 KB 
ID:	115215
    HTH,
    --Ed--
      My ComputersSystem Spec
  9.    30 Dec 2016 #9
    Join Date : Dec 2016
    Posts : 4
    Windows 10 Home 64-bit
    Thread Starter

    The problem has been fixed! What did it for me was manually updating Windows through microsofts website. Having said that though it turns out all the different ISO files I had were indeed wrong. Not only the language but the actual version of Windows itself. For some reason my Windows had not updated itself to 1607, so I was stuck with 1511, which of course meant that no matter what language I selected it would've always been the wrong version. In conclusion I'm quite certain the solutions posted in this thread WOULD have worked if I had the correct ISO file .

    Thank you SO MUCH to everyone who's contributed to this thred! Especially EdTittel, your expertise and patience are truly legendary my friend. Happy New Years to you all!!
      My ComputerSystem Spec
  10.    01 Jan 2017 #10

    You're welcome. I've still got the lumps that DISM handed out to me this summer, so happy to help others avoid the head-banging against the wall that inflicted them. Happy New Year, too.
    --Ed--
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
Solved Error 0x800f081f when using DISM tool
Hello, Windows 10 power user here. I've been viewing help topics here for some time and found this forum very useful. However, there is one problem that I can't seem to solve. Whenever I use the DISM tool to repair Windows 10, I get the error...
Performance & Maintenance
Error DISM restorehealth
Hello I use the Windows DVD 10 and option 3 with IMAGE_HEALTH and have an error 50: http://www.eightforums.com/performance-maintenance/68326-sfc-scannow-dism-restorehealth-repair-corrupt-files.html 0x800f081f and operation not fix !!
Performance & Maintenance
DISM /restorehealth error 0x800f081f
https://i1.social.s-msft.com/globalresources/Images/trans.gif?cver=0%0d%0a 0 I have a user who has a Lenovo notebook recently upgraded to Windows 10 Pro. He complained that it is very sluggish and Internet...
Performance & Maintenance
Solved New windows 10 build 10586.3 DISM (Error 0x800f081f)
I have cleanly installed Windows 10 Pro. I then ran sfc /scannow (elevated command prompt) and I am receiving the usual errors that can't be fixed. Normally the "Dism /Online /Cleanup-Image /RestoreHealth" command resolves this. Unfortunately I...
General Support
Error 0x800f081f when Running DISM. Need Help!
I recently updated to Windows 10 (from Windows 7) and I feel there is something wrong with the performance of my ASUS Zenbook. I run DISM and I got the following error message: 1. DISM /Online /Cleanup-Image /RestoreHealthDISM /Online...
Performance & Maintenance
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 22:51.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums