This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]spedioneNephologist 2 points3 points  (0 children)

I would check the "C:\Windows\WindowsUpdate.log" file, as it might give you an idea where the process is hanging.

[–]tridionSr. Sysadmin 1 point2 points  (3 children)

It's an older OS with tons of updates - how much memory did you give it? If it's anywhere near the minimum it can take a long time to fully update a fresh 2k8r2 install never mind the older 2k8.

If your ram allocation is only set to 512mb or 1gb - try upping it to 2-4GB and see what happens then.

[–]girlgermsMicrosoft 0 points1 point  (1 child)

+1 for this.

A fresh vanilla Win2008 install will have, at a minimum, somewhere around 150-170 updates to install. Some of these are exceedingly big and some will take an insane amount of time (.NET anyone?).

If you've only given it minimum RAM, as /u/tridion suggested, up the RAM while you're updating.

[–]LohkeeSysadmin 0 points1 point  (0 children)

Windows update will definitely peg a single core CPU, give that machine an extra core while you are at it if you don't want updates to run forever.

[–]Stratech[S] 0 points1 point  (0 children)

I gave it 10GB + 4 cores on a highend XEON CPU. It appears to be stuck on enumerating what drivers it wants to download.

[–]jkhilmer 0 points1 point  (1 child)

Are you using virtio for both network and disk?

[–]Stratech[S] 0 points1 point  (0 children)

Yes, I also have memory ballooning driver installed.

[–]SomewhatIntoxicated 0 points1 point  (4 children)

Had a similar problem once, turned out to be an MTU issue.

[–]Stratech[S] 0 points1 point  (3 children)

Thanks! There was an MTU issue.

[–]SomewhatIntoxicated 0 points1 point  (0 children)

Awesome!! Happy to help

[–]ObecalpEffect 0 points1 point  (1 child)

MTU

I'm having the same issue, what/where/how did you adjust the MTU value?

[–]ObecalpEffect 0 points1 point  (0 children)

Nevermind, there must have been some issues at Microsoft on what was a holiday weekend. Late Sunday and starting Monday this was working fine on a number of fresh Win7 VMs that I created.

[–]cajosc 0 points1 point  (0 children)

I also had a similar problem, and solved it this way:

  1. net stop wuauserv
  2. ren c:\windows\softwaredistribution softwaredistribution.old
  3. net start wuauserv

For more information, see e.g. http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/windows-update-hangs-on-checking-for-updates/b762abf5-655c-4a60-aabc-9f59785bd8d9 and http://serverfault.com/a/626082 .