Solved

"Windows update agent installer encountered unrecoverable error" x64 Windows 7

Posted on 2011-09-20
14
5,960 Views
Last Modified: 2012-05-12
I'm running WSUS 3 on SBS 2003 R2 x86.

In my clientapps folder I have both the x86 (32 bit) and x64 (64 bit) .exe files for WSUS client update agent.

I have migrated my entire IT estate of client desktops from Windows XP x86 to Windows 7 x64.

I have SUCCESSFULLY installed the x64 WSUS update agent on all clients EXCEPT one on which I get the message, "windows update agent installer encountered unrecoverable error". When I look in the event viewer, whether in "application", "setup" or "system" logs, I see no error corresponding to this failure, so I have no idea what the system thinks the eventid is.

I have already spent several hours on the web and found this article http://support.microsoft.com/kb/971058 and executed it in both "default" and "aggressive" modes. Neither worked but both screwed up the ISA client.

The only obvious difference between this particular desktop and all the standard desktops is that this one has the XP virtual desktop installed.

Any help would be gratefully received.
0
Comment
Question by:MarcusN
  • 5
  • 4
  • 3
  • +1
14 Comments
 
LVL 6

Expert Comment

by:KOTiS
ID: 36565734
Disable your antivirus and try to run FixIt http://support.microsoft.com/kb/971058

Then try the installation again, hope this helps.
0
 
LVL 6

Expert Comment

by:KOTiS
ID: 36565744
Also try to execute the following commands one by one at the failed client  (worked for me on some PC's)

net stop wuauserv
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate" /va /f
proxycfg.exe -u
net start wuauserv
wuauclt.exe /resetauthorization /detectnow
wuauclt.exe /r /reportnow
0
 
LVL 30

Expert Comment

by:ded9
ID: 36565801
System readiness tool will fix any windows udpate issue...after running this tool reboot computer and check.

You need to run system readiness tool first and then restart the computer.

If u have win7 64 bit then run this
http://www.microsoft.com/download/en/details.aspx?id=20858

If u have win7 32bit then run this
http://www.microsoft.com/download/en/details.aspx?id=3132


After restarting install updates. If still having problems then upload checksur.log.



Ded9
0
 

Author Comment

by:MarcusN
ID: 36565853
Response to Mr. ded9

Downloaded the x64 package from the URL you mentioned. Upon running it I get the message;

Some updates were not installed  blah blah hotfix for windows (KB947821).

No idea what's happening with that.

Response to Mr. KOTiS

Before I issue the various commands you propose, how can I check whether the wuauserv is running? When I look at the services I see that the windows update service is started. Is this the same thing?
0
 
LVL 6

Expert Comment

by:KOTiS
ID: 36565867
Yes Marcus, it's the same. The commands i gave you will stop the service and then start it again.
0
 

Author Comment

by:MarcusN
ID: 36565910
Mr. KPYiS

Thanks. Just a quick (and probably stupid) question. If the service is running, does that mean that the WSUS x46 agent is already installed and running? Is there any way I can check on the WSUS management console to see whether the right agent is running on the computer?

Thanks.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 6

Expert Comment

by:KOTiS
ID: 36565936
Windows Update is installed in all recent windows versions and is used to download updates from microsoft or a WSUS server (after proper configuration through Group Policy).

You can download and install the latest Windows Update Agent version, if needed, from here:

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

You can check the file windowsupdate.log in your C:\Windows folder - this is a log of what your Windows Update agent is doing. You can also check to see if you can see the Machine Name on your WSUS Server. I hope you have configured your clients through Group Policy to communicate with your WSUS Server.
0
 
LVL 30

Expert Comment

by:ded9
ID: 36566828
Run this command in admin mode

Reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /s

to check whether wsus is controlling windows updates



Ded9
0
 
LVL 30

Expert Comment

by:ded9
ID: 36566894
I am sorry the right command is

reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate


You should see output like the following if the client has been configured to get its updates from a WSUS server:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
WUServer    REG_SZ  http://WSUSServerName
WUStatusServer      REG_SZ  http://WSUSServerName
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

You should see output similar to the following if Automatic Update is functioning, but the client has not been configured to get its updates from a WSUS server:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

If the query returns the error, "The system was unable to find the specified registry key or value," Automatic Update has not been configured on this computer.



Ref
http://technet.microsoft.com/en-us/library/cc708627%28WS.10%29.aspx



Ded9
0
 
LVL 6

Expert Comment

by:KOTiS
ID: 36567167
By examining the windowsupdate.log file you can see exactly what the Windows Update service is doing when it tries to download update - you don't have to look anywhere else. The latest communication is at the bottom...
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 500 total points
ID: 36567373
http://www.windowsreference.com/windows-vista/fix-for-vista-sp1-install-error-80073712-through-windows-update/

The issue is that the WUA 3.0 (7.0.6000.374) upgrade is corrupted,essentially the system reports the WUA to be 7.0.6000.374 but the files on the disk are still from the old version (you can check some of the DLLs like wups.dll, wuaueng.dll etc… in the windows\system32) … and you cannot install the WUA 3.0 even manually.

delete the following file

C:\windows\winsxs\pending.xml

Since Windows security will not allow you to do this, here under the procedure to take ownership of the file

run a command prompt with “Run as Administrator”.

Type in the following commands

takeown /f C:\Windows\winsxs\pending.xml

cacls C:\Windows\winsxs\pending.xml /G <YourUsername>:F

then delete the file and Reboot the machine

Reinstall the Windows Update Agent

Windows, x86-based systems download from here

Windows, x64-based systems download from here

save to the desktop, and run from an elevated command prompt, adding /wuforce to the end of the command
0
 

Author Comment

by:MarcusN
ID: 36939700
Hello everyone,

Sorry for the delay in responding, but I have been having other problems on the network to deal with.

I have followed all the advice so far except Mr. dstewartjr's which I will try tomorrow. I will then get back to you all to let you know if that worked.

Thanks for your patience.

Regards, Marcus
0
 

Author Closing Comment

by:MarcusN
ID: 37113142
The part of the answer that was incomplete was with regard to the GPOs on the Server and how any conflict between the GPOs and the WSUS settings need to be very carefully addressed and resolved.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now