http://www.google.com/search?q=script+%22add%2Fremove+windows+components%22
Rebooting isn't necessary. Please include the thread history when replying, standard practice here. -----Original Message----- From: Jeremy [mailto:[email protected]] Sent: Monday, January 05, 2009 7:56 PM To: NT System Admin Issues Subject: RE: Need Help With VB Script. Well. That's great. Unfortunately, it doesn't resolve the issue of installing software on 150 machines, without logging into or rebooting them all. Thanks for the answer. -----Original Message----- From: Carl Houseman [mailto:[email protected]] Sent: Monday, January 05, 2009 7:42 PM To: NT System Admin Issues Subject: RE: Need Help With VB Script. 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/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
