Automatic Updates service and ITMU

Posted Sunday, August 28, 2005 3:10 PM by Anonymous

If you watched the ITMU webcast on Friday, you noticed that you have to enable the automatic updates servcie for the new ITMU scan engine to work properly.  If you have disabled the Automatic Updates service on your machines, you will need to re-enable this service.

This little VBscript will start the Automatic Updates service and set it to start Automatically.  You can either run this remotely or push this out with SMS to all of your clients:

On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colServiceList = objWMIService.ExecQuery _
("Select * from Win32_Service where Name='wuauserv'")
For each objService in colServiceList
call objService.Change( , , , , "Automatic")
objService.StartService()
Next

Comments

No Comments