I have recently deployed an WSUS server that is working well except that there is one update that is failing to install.
The update in question is the Group Policy Preference Client Side Extensions for Windows Vista (KB943729). All my computers on WSUS are reporting they do not have this installed and that they require it.
However prior to me setting up the WSUS server I had deployed this patch manually using the "wusa" command on all my computers.
I believe it is this manual install that is interfering with the WSUS install and so I am trying to uninstall this patch.
A manual uninstall works correctly however I have 500 machines to uninstall this patch on and so I am trying to script the uninstall.
I found a script to uninstall updates of the Microsoft website and have attached the script to this question
I have also attached the WindowsUpdate.log that shows the installation of the patch using the wusa command.
The output I am getting from the script is
E:\WSUS.vbs(22, 1) (null): 0x80240007
Line 22 is this line: objCollection.Add(colUpdat
I believe that if the patch was being found correctly then the Set colUpdates = objResults.Updates should return 1 rather than 0.
Can you please help me discover what is wrong with this patch.
Set objCollection = CreateObject("Microsoft.Update.UpdateColl")
Set objSearcher = CreateObject("Microsoft.Update.Searcher")
Set objResults = objSearcher.Search("UpdateID='764CCDDC-C9D7-4B6A-9AFA-B38EC97266BE'")
Set colUpdates = objResults.Updates
Set objInstaller = CreateObject("Microsoft.Update.Installer")
objInstaller.Updates = objCollection
Set objInstallResults = objInstaller.Uninstall