Solved

installing failed windows updates

Posted on 2014-01-16
8
684 Views
Last Modified: 2014-01-17
I have a PC that has several failed windows updates.
This PC is running windows 7 and there's windows updates that every time the PC is shutdown it tries to install the updates (via my group policy) but they fail.

I have 70 other computers that are fine, it's only one computer that these 6 updates are failing.

How do I even begin to resolve this issue and get the updates installed?
0
Comment
Question by:afacts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 10

Assisted Solution

by:Korbus
Korbus earned 100 total points
ID: 39786525
Start by examining the system and application logs during/after the update attempt.  I suspect you will find some errors in there that will give you a clue as to what the problem is.
Google any error you dont understand,  some results may very well have a solution.
0
 
LVL 47

Assisted Solution

by:Donald Stewart
Donald Stewart earned 100 total points
ID: 39786531
0
 
LVL 15

Assisted Solution

by:unknown_routine
unknown_routine earned 100 total points
ID: 39786573
Sounds like a registry issue.

1: disable the windows update service on the affected computer:

http://en.kioskea.net/faq/15286-windows-7-disable-windows-update


2: Restart your the computer


3: you can now enable the windows update service.
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 14

Assisted Solution

by:comfortjeanius
comfortjeanius earned 100 total points
ID: 39786587
You can view the Windows Update Log:

    Click Start, and then click Run.
    In the Open box, type windowsupdate.log, and then click OK.

or
    Windows key + r
     Type: windowsupdate.log and hit enter.

Locate any errors during that period and you can post them.

Plus from this link "How to read the Windowsupdate.log file"
How to enable extended logging
Microsoft Product Support Services may ask you to turn on verbose logging. To turn on verbose logging, add the following registry key with two values:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace
Value name: Flags
Value type: REG_DWORD
Value data: 00000007

Value name: Level
Value type: REG_DWORD
Value data: 00000004
This registry key turns on an extended tracing to the %systemroot%\Windowsupdate.log file. Additionally, this registry key turns on an extended tracing to any attached debuggers.
0
 
LVL 50

Accepted Solution

by:
jcimarron earned 100 total points
ID: 39786773
afacts--
There are several potential fixes

Did you check in Services that Windows Update service and Remote Call Procedure service are on?

Reset Windows Update
http://support.microsoft.com/kb/971058/en-us

http://support.microsoft.com/gp/windows-update-issues/en-us

http://support.microsoft.com/kb/906602

Fixit
http://support.microsoft.com/mats/windows_update/en-us

Reinstall Windows Update Agent (different links for different Win 7 systems (32bit and 64bit))

http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.1.6001.65/WindowsUpdateAgent30-x86.exe

http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.1.6001.65/WindowsUpdateAgent30-x64.exe 

Run SFC /SCANNOW from a Command Prompt

Run a System Restore to a date before the problem started.

Run a Repair Install.  A Repair Install should not affect personal data or installed programs. but it never hurts to backup first.
http://www.sevenforums.com/tutorials/3413-repair-install.html 

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/when-i-run-windows-update-it-starts-searching-for/77aa31a3-4184-47f3-b657-d3475c47c3d0?msgId=6c2a457d-48d8-4677-8249-f74ed6c59f27
0
 

Author Comment

by:afacts
ID: 39787368
Thanks everyone, this did the trick:

      1. Open CMD promt
      2. Type this command:  
            a. net stop wuauserv
            b. Net stop bits
      3. You can review the windows update log here:  C:\Windows\windowsupdate.log
      4. Navigate here to the download folder and delete every folder and file here:
            a. C:\Windows\SoftwareDistribution\Download
      5. Now delete the following file: datastore.edb
            a. C:\Windows\SoftwareDistribution\DataStore\datastore.edb
      6. Now delete every file in this folder:
            a. C:\Windows\SoftwareDistribution\DataStore\Logs
      7. Now if you have a folder called "cache", delete everything in that folder:
            a. C:\Windows\SoftwareDistribution\PostRebootEventCache.V2
      8. Start the two services we shut down:
            a. Open CMD:
                  i. Net start wuauserv
                  ii. Net start bits

Reboot the Computer
0
 

Author Closing Comment

by:afacts
ID: 39787369
Thanks everyone for pointing me in the right direction.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39789033
afacts--glad to have helped.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question