in

myITforum.com

This Blog

Syndication

Brian Tucker at myITforum.com Microsoft Technologies & Blogcasting

Brian Tucker at myITforum.com

Microsoft Technologies & Blogcasting

ITMU Updates Fail when Scan Tool fails to Run

We ran across an issue the other week where we had 10 - 20 SMS clients per site that were failing to run the new updates because the scan tool had failed. A quick post to the myITforums seems to have paid off. Matt Dewell came up with a great fix that worked on all the failed clients. Here is a copy of the script below. We made it into a batch file, added it as a package and advertised it with SMS.

Let me know if you have questions.

cd %windir%\system32
regsvr32 wuapi.dll /s
regsvr32 wuaueng.dll /s
regsvr32 wuaueng1.dll /s
regsvr32 wucltui.dll /s
regsvr32 wups.dll /s
regsvr32 wups2.dll /s
regsvr32 wuweb.dll /s
net stop wuauserv
net stop bits
rmdir /S /Q %windir%\softwaredistribution
net start wuauserv
net start bits
exit /B 0

Here is the error from the scanswapper.log file.

ERROR: Failed while processing the executable. Cmdline=["C:\WINDOWS\system32\VPCache\009001ED\SmsWusHandler.exe" /Catalog:C:\WINDOWS\system32\VPCache\009001ED\wsusscan.cab /OutputXml:C:\WINDOWS\system32\VPCache\009001ED\Results.xml], CurrentDir=[C:\WINDOWS\system32\VPCache\009001ED], ExitCode=[340]

Comments

 

btucker said:

Thank you. This worked like a charm. It brought my successful rate up to the high 90%.

Once again, thank you....
February 12, 2006 7:32 AM
Copyright - www.myITforum.com, Inc. - 2007 All Rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems