1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Problems installing Security Updates under Windows 7 Ultimate.

Discussion in 'Windows 7' started by NSTRogers, 2015/03/21.

  1. 2015/05/08
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Do this:

    • Click Start, and in the Search programs and files box on the start menu, type CMD, then press Ctrl+Shift+Enter (this will get you an elevation prompt for an Administrator command prompt).
    • At the command prompt, type net stop wuauserv, then press Enter.
    • Next type cat /dev/null > %windir%\WindowsUpdate.log then press Enter (ignore the error that 'cat' isn't recognised... it still does what it is supposed to do).
    • Lastly type net start wuauserv, then press Enter.
    • Now repeat the action that normally leads to the Windows Update error.
    • Once completed, enter %windir%\WindowsUpdate.log in the Search programs and files box on the start menu and copy/paste the contents of the file in your next post.
     
  2. 2015/05/13
    NSTRogers

    NSTRogers Well-Known Member Thread Starter

    Joined:
    2006/06/19
    Messages:
    46
    Likes Received:
    0
    Problems Installing Windows Security Updates - Windows 7 Ultimate

    _______________________________________________________________

    Thank you for your suggestion Arie.

    The command - C:\Users\Administrator>cat /dev/null > %windir%\WindowsUpdate.log - is not working as the WindowsUpdate.log is being used by another process.

    The results are given below:-
    _______________________________________________________________

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Administrator>net stop wuauserv
    The Windows Update service is stopping......
    The Windows Update service was stopped successfully.


    C:\Users\Administrator>cat /dev/null > %windir%\WindowsUpdate.log
    The process cannot access the file because it is being used by another process.

    C:\Users\Administrator>cat /dev/null > %windir%\WindowsUpdate.log
    The process cannot access the file because it is being used by another process.

    C:\Users\Administrator>net start wuauserv
    The Windows Update service is starting.
    The Windows Update service was started successfully.

    C:\Users\Administrator>
    _______________________________________________________________

    Please advise.

    Where do I find the cat dev/null/ command. I understand that this specifically is designed to wipe clean the contents of a file. In this case the windows update log.
    _______________________________________________________________

    I have been through a lot of things since I last posted and apologise for the delay in bringing everyone up to date. I will do so fully over the next few days.

    I have now managed to get access to the files generated by the Microsoft Fix-Its as I was getting Error code 0x80070005 i.e. "ACCESS DENIED." See
    https://support.microsoft.com/en-us/kb/968003 - Error 0x80070005 in Windows Update when you try to install updates. I am told this usually occurs when a user lacks file or registry permissions that are required to install the update. Furthermore, since file or registry permissions may be changed by malware, it is recommended that the user scans for malware after repairing the permissions.

    To resolve the issue, the user should make sure that they are logged on as an administrator, and then install the updates again. If the problem continues, use the SubInACL tool to repair file and registry permissions.

    I have run:-

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

    subinacl /subdirectories %windir% /grant=administrators=f /grant=system=f
    _______________________________________________________________

    This was not entirely successful.

    The results of running subinacl with the above parameters were:-

    Elapsed Time: 00 00:09:14
    Done: 247816, Modified 187379, Failed 60437, Syntax errors 0
    Last Done : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\{A2D99046-92CF-4546-9EC7-39A1A470B41F}\Parameters\Tcpip
    Last Failed: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\xmlprov\Parame
    ters\SchemaGroups\User\http://www.microsoft.com/provisioning/mspeapuserpropertiesv1
    - RegSetKeySecurity Error : 5 Access is denied.

    Press any key to continue . . .

    Elapsed Time: 00 00:00:07
    Done: 2393, Modified 2393, Failed 0, Syntax errors 0
    Last Done : HKEY_CURRENT_USER\Volatile Environment\2
    Press any key to continue . . .

    Elapsed Time: 00 00:17:48
    Done: 173502, Modified 124338, Failed 49164, Syntax errors 0
    Last Done : HKEY_CLASSES_ROOT\{2C256447-3F0D-4CBB-9D12-575BB20CDA0A}\ProgID
    Last Failed: HKEY_CLASSES_ROOT\{2C256447-3F0D-4CBB-9D12-575BB20CDA0A}\ProgID -
    RegSetKeySecurity Error : 5 Access is denied.

    Press any key to continue . . .

    Elapsed Time: 00 00:20:22
    Done: 87, Modified 87, Failed 0, Syntax errors 0
    Last Done : C:\Windows\Web\Wallpaper\Windows

    Press any key to continue . . .
    =========================
    Finished.
    =========================
    Press any key to continue . . .
    _______________________________________________________________

    This means that:-

    -

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f

    Failed to reset the permissions for 60437 HKEY_LOCAL_MACHINE Keys with
    RegSetKeySecurity Error : 5 Access is denied.

    and

    -

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

    Failed to reset the permissions for 49164 HKEY_CLASSES_ROOT Keys with
    RegSetKeySecurity Error : 5 Access is denied.
    _______________________________________________________________

    Can you suggest how I can reset the file permissions which have NOT been reset using subinacl.

    Thank you.

    Nick Rogers
    _______________________________________________________________

    N.B. Evan Omo recommended that I use Tweaking.Com. As a consequence of that I am now also posting on the Tweaking.Com BBS.
    _______________________________________________________________
    _______________________________________________________________
     
    Last edited: 2015/05/13

  3. to hide this advert.

  4. 2015/05/13
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Sorry, but IMNSHO your system is FUBAR.

    Backup anything you need saving, then format & reinstall.
     
  5. 2015/05/15
    Evan Omo

    Evan Omo Computer Support Technician Staff

    Joined:
    2006/09/10
    Messages:
    7,901
    Likes Received:
    510
    Do you need any assistance with backing up your data and performing a clean install of Windows 7?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.