Error: 0x800f081f when running DISM to repair SFC-Problems

Page 1 of 2 12 LastLast

  1. Posts : 40
    Windows 10 Pro
       #1

    Error: 0x800f081f when running DISM to repair SFC-Problems


    I've been trying to repair an error which system file checker gives me, however no matter what I try as it seems, I can't get windows to fix it.

    So it begins with sfc /scannow, and when I create the log file, I find this:

    2015-08-14 18:45:52, Info CSI 00002bac [SR] Cannot repair member file [l:60{30}]"Microsoft.PowerShell.Host.psd1" of Microsoft.Windows.PowerShell.V3.Common, Version = 10.0.10240.16384, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35} in the store, hash mismatch
    2015-08-14 18:45:53, Info CSI 00002c00 [SR] Cannot repair member file [l:60{30}]"Microsoft.PowerShell.Host.psd1" of Microsoft.Windows.PowerShell.V3.Common, Version = 10.0.10240.16384, pA = amd64, nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35} in the store, hash mismatch
    2015-08-14 18:45:53, Info CSI 00002c01 [SR] This component was referenced by [l:338{169}]"Microsoft-Windows-Client-Features-Package-AutoMerged-admin~31bf3856ad364e35~amd64~~10.0.10240.16384.Microsoft-Windows-Client-Features-Package-AutoMerged-admin-Deployment"
    2015-08-14 18:45:53, Info CSI 00002c04 [SR] Could not reproject corrupted file [ml:162{81},l:160{80}]"\??\C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Host"\[l:60{30}]"Microsoft.PowerShell.Host.psd1"; source file in store is also corrupted

    So the first recommendations go to trying DISM, Dism /Online /Cleanup-Image /RestoreHealth.

    It says in the DISM.log that it wasn't been able to find the package and I should use the /source to specify it.
    Now I thought great, you just put your W10 USB_Stick from which you installed into the drive and the magic will happen. It did not.

    So I want to have clean W10 installation, and this was a clean installation, upgrade was done previously.

    I also tried specifying /source:J:\Sources, where J: is my USB-thumb-drive, yet nothing helped.

    So, what should I do to fix the SFC error?

    Many thanks!
      My Computer


  2. Posts : 6
    Windows 10
       #2

    I am having the same problem.

    BTW, do you have trouble shutting down the computer? I usually get the memory referenced at some address could not be read message, I have to click OK to shut down an unknown app. Usually when this happens, there is Windows Update package to be downloaded and installed. Then the problem is gone until next time.

    When I run DISM, I got error code 0x800f081f. Incidentally, other people with Windows Update problem have the same trouble code. I wonder whether these issues are related.
      My Computer


  3. Posts : 40
    Windows 10 Pro
    Thread Starter
       #3

    Yes, here and there. However not since the last update. I see the windows saying something about memory referenced, but I don't have to click OK afaik. It goes to shutdown, only shows the message.

    Do you also have errors in your SFC scan? My problem is that I cannot fix the Powershell problem referenced in the SFC scan.

    Could you please check your file "Microsoft.PowerShell.Host.psd1" in C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Host? Mine is 1kb and when notepad opens it, empty.
      My Computer


  4. Posts : 6
    Windows 10
       #4

    try the manual fix


    Yes. My problem is exactly same as yours. The file "Microsoft.PowerShell.Host.psd1" in my system is also empty.

    I have fixed it manually: First, you have to find a good copy of the above mentioned file. Luckily for me I have another computer without any problem. So I copied it into a usb drive and brought to the computer with problems. Then just follow the instruction "How to manually replace a corrupted system file with a known good copy of the file" mentioned on this page:

    https://support.microsoft.com/en-us/...mark-cbs%20log

    After that, I ran sfc and dism and everything checked out. Hope this helps.
      My Computer


  5. Posts : 40
    Windows 10 Pro
    Thread Starter
       #5

    Well, I did the same, I actually deleted the whole v1.0 folder, and replaced it with the working folder on my 2nd computer, which also has Windows 10. On the 2nd computer SFC checks out. Yet that didn't fix the problem on the 1st computer.
      My Computer


  6. Posts : 6
    Windows 10
       #6

    I ran into the same problem. When I tried to replace the folder, it says "access is denied, 0 file(s) copied". Then I tried to replace the file itself (Microsoft.powershell.host.psd1), it went through and problem solved.

    here is the command text:

    copy F:\Microsoft.PowerShell.Host\Microsoft.PowerShell.Host.psd1 C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Host\Microsoft.PowerShell.Ho st.psd1
      My Computer


  7. Posts : 40
    Windows 10 Pro
    Thread Starter
       #7

    Well, I ended up repairing Windows. Used Media Creation Tool to simply install and keep my files.
    SFC is fine now.

    Some programs need re-registering, which is annoying, but hell with it...
      My Computer


  8. Posts : 1
    Windows 10
       #8

    yanif said:
    I ran into the same problem. When I tried to replace the folder, it says "access is denied, 0 file(s) copied". Then I tried to replace the file itself (Microsoft.powershell.host.psd1), it went through and problem solved.

    here is the command text:

    copy F:\Microsoft.PowerShell.Host\Microsoft.PowerShell.Host.psd1 C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Host\Microsoft.PowerShell.Ho st.psd1
    I have the same problem here yanif. i 've googling and found the same way you did. but i do'nt have another computer with a good copy "Microsoft.PowerShell.Host.psd1". where else i can find this file? or do you want to share your good copy "Microsoft.PowerShell.Host.psd1"
      My Computer


  9. Posts : 12,801
    Windows 11 Pro
       #9

    Try putting your install media in and looking in the sources folder. You will either have an install.wim or an install.esd. make note of the drive letter of your install media (DVD/USB drive)

    If you have an install.wim use this Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /limitaccess Replacing the part in red with your drive letter.

    If you have an install.esd try this Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:1 /limitaccess
    again, using your drive letter.

    From Brink's Tutorial https://www.tenforums.com/tutorials/7...-10-image.html
      My Computer


  10. Posts : 40
    Windows 10 Pro
    Thread Starter
       #10

    Hello,

    Many thanks for the help, I ended up repairing W10, which worked out well it seems.
      My Computer


 

  Related Discussions
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 09:41.
Find Us




Windows 10 Forums