The Win32_Product class isn't installed by default in Server 2003. More: http://rcovelo.blogspot.com/2008/05/missing-win32product.html
Carl -----Original Message----- From: Jeremy [mailto:[email protected]] Sent: Monday, January 05, 2009 7:21 PM To: NT System Admin Issues Subject: Need Help With VB Script. This Script works perfectlhy on a WinXP machine. It does not work on a Server2k3 machine. The error is Line 5, Char: 1, Error: Not Found, Code 80041002, Source: SWbemServicesEX. Any Ideas why this works on XP and not on 2k3? TIA Jeremy strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objSoftware = objWMIService.Get("Win32_Product") errReturn = objSoftware.Install("c:\uptmagnt-MS-5.0.21-x86.msi",,True) WScript.Echo errReturn ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
