Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install / push out MSI package on multiple client pc's

Status
Not open for further replies.

chouck

MIS
Jan 30, 2005
32
US
Hi All,

I have been looking at this specific code all day and i still haven't figured out what i am doing wrong:

Const wbemImpersonationLevelDelegate = 4
Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objConnection = objwbemLocator.ConnectServer _
("WebServer", "root\cimv2", "fabrikam\administrator", _
"password", , "kerberos:WebServer")
objConnection.Security_.ImpersonationLevel = wbemImpersonationLevelDelegate
Set objSoftware = objConnection.Get("Win32_Product")
errReturn = objSoftware.Install("\\atl-dc-02\scripts\1561_lab.msi",,True)
Wscript.Echo errReturn

After substituting my own names, paths, user, and password I receive an error message:

"A security package specific error occurred"

Everything i have read talks about using delegation. in the example above it uses delegation, but what am i doing wrong ?

where should i be delegating from and where should i be delegating to ? I have come across other example talking about kerberos only authentication. is this something i have to turn on in active directory ?

Any help would be greatly appreciated. Thanks in advance
 
>[tt]Set objConnection = objwbemLocator.ConnectServer _
("WebServer", "root\cimv2", "fabrikam\administrator", _
"password", , "kerberos:WebServer")[/tt]

Try this.
[tt]
Set objConnection = objwbemLocator.ConnectServer _
("WebServer", "root\cimv2", "fabrikam\administrator", _
"password", , "kerberos:[blue]fabrikam[/blue]\WebServer")
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top