Windows update not working (2008 R2)

2

long story short, one of our domain controllers is won't update.

when an update is attempted it says the service is not running (checked and restarted yes it is) and event viewer says its error 0x80072ee2 but this apparently means there is a connection issue but as far as I can work out there isn't.

this isn't a short term issue either seems to have been going on since at least feburary.

any ideas?

Note: Server updates fall to another (more senior) member of the team please do not ask me why they have been so neglected. He doesn't know what the issue is so I'm just trying to get to the bottom of this.

many thanks

Cheers

EDIT: I've put trusted sites on and seems to have sorted it. not sure why I don't believe it set up like this one any other server.

windows-server-2008
windows-update
asked on Server Fault Aug 28, 2012 by Le_Quack • edited Aug 28, 2012 by Le_Quack

3 Answers

1

(Taken from http://support.microsoft.com/kb/836941, which you should read as well as my summary.)

(Windows Update) errors may be caused by any of the following issues:

  • Programs or processes that interfere with Internet communications
  • Resource issues on the computer
  • High Internet activity
  • Recoverable database errors

So I guess I'd start by asking can you browse the internet in general from this server? Has anyone installed anything or configured anything that might interfere with downloads (e.g. local firewall, or a download "manager"? Resolve any issues around this first.

Next check BITS and Trusted sites entries, as per the KBase article above. These are both important components of Windows Update.

Ensure that the proxy settings on Internet Explorer are configured correctly to browse the internet from that machine, and then run the following command (it may need to be done from an elevated command prompt):

netsh winhttp import proxy source=ie

This will import the proxy settings from IE into the general windows HTTP connection stack, which is what Windows Update uses. A restart might be needed for this to affect the Windows Update services.

If this works then you need to consider how/why it got changed in the first place... the change may have been made for a good reason and you might have now stopped something else working.

answered on Server Fault Aug 28, 2012 by Rob Moir • edited Jun 11, 2020 by Community
0

Did you try using Powershell ?

There is a powershell module on Script Center for Windows Update. http://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

Basic Usage

Copy the module to c:\users\Administrator\Documents\WindowsPowershell\Modules

Set-ExecutionPolicy remotesigned
ipmo pswindowsupdate

Do a Whatif Install with Verbose

Get-WUInstall -MicrosoftUpdate -IgnoreUserInput -WhatIf -Verbose 
answered on Server Fault Aug 28, 2012 by Sunny Chakraborty
0

I've seen similar results when there is a web caching layer in front of the server... think squid. The windows update responses end up improperly cached, such that the server doesn't know what to do.

answered on Server Fault Aug 28, 2012 by Joel Coel

User contributions licensed under CC BY-SA 3.0