kpeter7

Hi,

I'm trying to use the Windows Update Agent in a .vbs file.

The name of the script is MWU.vbs

This is line 5 of my script:

Set objResults = objSearcher.Search("IsInstalled=0 and Type='Software'")

 I always get an error on the above line:

This is the error I'm getting:

MWU.vbs(5,1)  (null): 0x80244016

 

Any help is very much appreciated.

 



Re: Visual Basic Language Windows Update Agent

Bruno Yu - MSFT

kpeter7,

According to your question, I recommand you to install the Windows Update Agent 2.0 because some of the files in this agent have been lost or damaged.

Please open the following link to download the Windows Update Agent 2.0 installation application:

http://go.microsoft.com/fwlink/ LinkId=43264






Re: Visual Basic Language Windows Update Agent

kpeter7

Thanks Bruno .