Windows Update fails repeatedly. Codes 8007054F, 9C59, 800F0826

Page 1 of 4 123 ... LastLast

  1. Posts : 54
    Windows 7 Professional 64Bit
       #1

    Windows Update fails repeatedly. Codes 8007054F, 9C59, 800F0826


    Hi

    Recently had a work laptop passed onto me as part of my new job.

    I cannot get Windows Update to work - either minor updates or IE11 which is the only important update to install.

    IE11 fails on install, the minor updates fail to configure after rebooting after an update.

    I have tried every solution I can find on the internet but cannot get it to work at all.

    Not sure if this is part of the problem but I changed the main admin user name following this seven forums tutorial:

    User Profile Folder - Change User Account Folder Name

    It all went to plan except couldn't do step 22 as have Windows 7 Home Premium.

    This is driving me up the wall - I have spent hours trying to fix it and am getting nowhere.

    Has anyone got any advice I can try?

    Thanks

    Nick
      My Computer


  2. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #2

    Please follow the Windows Update Posting Instructions and post the requested data
      My Computer


  3. Posts : 54
    Windows 7 Professional 64Bit
    Thread Starter
       #3

    Thank you for your reply. Apologies I did not see that post previously.

    I am working through it and will post back when finished.

    Thanks

    Nick
      My Computer


  4. Posts : 54
    Windows 7 Professional 64Bit
    Thread Starter
       #4

    I have run through the steps in the post.

    Please find attached the CBS log.

    Error codes I have got are:

    9C59
    8007054F
    800F0826

    Thanks

    Nick
      My Computer


  5. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #5

    Only one error in the CheckSUR log
    Code:
    Checking Packages
    (f) CBS Registry Error 0x80070002 Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.2.1.0  failed to get CurrentState
    ...and one error in the SFC scan -
    Code:
     Line 20246: 2014-03-30 16:36:45, Info                  CSI    00000315 [SR] Repairing 1 components
     Line 20247: 2014-03-30 16:36:45, Info                  CSI    00000316 [SR] Beginning Verify and Repair transaction
     Line 20250: 2014-03-30 16:36:45, Info                  CSI    00000318 [SR] Cannot repair member file [l:20{10}]"tcpmon.ini" of Microsoft-Windows-Printing-StandardPortMonitor-TCPMonINI, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
     Line 20253: 2014-03-30 16:36:45, Info                  CSI    0000031a [SR] Cannot repair member file [l:20{10}]"tcpmon.ini" of Microsoft-Windows-Printing-StandardPortMonitor-TCPMonINI, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
     Line 20254: 2014-03-30 16:36:45, Info                  CSI    0000031b [SR] This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.WindowsFoundationDelivery"
     Line 20259: 2014-03-30 16:36:45, Info                  CSI    0000031e [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:20{10}]"tcpmon.ini"; source file in store is also corrupted
     Line 20264: 2014-03-30 16:36:45, Info                  CSI    00000320 [SR] Repair complete
    There don't appear to be any background errors in the CBS data, so with luck, we'll find and fix the problem fairly easily.

    I'm not sure how much this tool will help - but it may even fix the problem we know about...

    Please download SFCFix.exe from here, and save it to your desktop - http://www.sysnative.com/niemiro/apps/SFCFix.exe

    double-click on it to run it, and accept the warnings - it will take anything from a few seconds to a few minutes to run, and will create a new file on your desktop - SFCFix.txt
    Please upload that file to your response.
      My Computer


  6. Posts : 54
    Windows 7 Professional 64Bit
    Thread Starter
       #6

    Thanks

    SFCFix file attached.

    Thanks

    Nick
      My Computer


  7. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #7

    Rats! - it noticed the errors, but didn't fix them

    Looks like I'll have to do it manually, then.

    Please open an Elevated Command Prompt, and run the following command - post the response...

    Code:
    REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.2.1.0"
    .

    Here are some instructions to make life easier :)
    1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
    2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
    3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.
      My Computer


  8. Posts : 54
    Windows 7 Professional 64Bit
    Thread Starter
       #8

    Thanks so much for all of your help, especially the prompt replies :)

    Here's the output from that command:

    Code:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Windows\system32>REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Co
    mponent Based Servicing\Packages\Package_2_for_KB2862772~31bf3856ad364e35~amd64~
    ~10.2.1.0"
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Ser
    vicing\Packages\Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.2.1.0
        InstallClient    REG_SZ    WindowsUpdateAgent
        InstallName    REG_SZ    Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.
    2.1.0.mum
        InstallLocation    REG_SZ    \\?\C:\Windows\SoftwareDistribution\Download\1d
    58dc7de76c3807e80307e1e6f00c44\inst\
        SelfUpdate    REG_DWORD    0x0
        Visibility    REG_DWORD    0x2
        InstallTimeHigh    REG_DWORD    0x1ce9d2c
        InstallTimeLow    REG_DWORD    0x4d12f08e
        InstallUser    REG_SZ    S-1-5-18
        Trusted    REG_DWORD    0x1
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Ser
    vicing\Packages\Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.2.1.0\Owners
    
    C:\Windows\system32>
      My Computer


  9. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #9

    As expected, a value is missing completely - the problem is to get the value and its data entered, since permissions don't normally allow users to do this.



    Please note - THERE IS NO UNDO OPTION IN REGEDIT! - create a System Restore point first, in case of accident!

    Open Regedit
    Navigate to the
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages
    key
    and find the
    Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.2.1.0
    subkey

    right-click on the subkey to highlight it and select Permissions
    Click on the Advanced button
    Click on the Owner tab
    highlight 'Administrators' in the box, and click Apply
    put a tick in the 'Replace owner...' box, and click Apply
    Click on the Permissions tab
    highlight Administrators
    Click Edit
    put a tick in the Allow/Full Control box and click OK
    Accept the warning
    Click OK twice to get back into Regedit

    Now we should be able to add a new Value and Data.
    With the Package_2_for_KB2862772~31bf3856ad364e35~amd64~~10.2.1.0 key highlighted
    Click on
    Edit > New > DWORD (32-bit value)
    Name the new value 'CurrentState' and enter '50' as the data


    Now we have to get permissions back to where they should be....
    right-click on the subkey name again, and select Permissions
    Click on Advanced
    There should be two entries for Administrators
    Highlight Administrators (with Full Control - not inherited) - make sure that the other Administrators entry with Read permissions still exists!
    click Remove
    Click on the Owner tab
    Click 'Other users or groups'
    in the box, type
    NT SERVICE\TrustedInstaller
    and click on 'Check Names' - the entry should change to TrustedInstaller
    click OK three times

    ...and you should be back in Regedit

    Close Regedit, and reboot
    Now run CheckSUR again, and we'll see how you did :)

    .
      My Computer


  10. Posts : 54
    Windows 7 Professional 64Bit
    Thread Starter
       #10

    Thanks for another quick reply!

    I've done the regedit stuff - didn't get a warning when allowing full control but everything behaved as it should have done so presume ok. Just about to reboot.

    Wanted to check - when you say run CheckSUR again is that the SURT? Do you also want me to run sfc /scannow & post a CBS zip file?
      My Computer


 
Page 1 of 4 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:45.
Find Us