hi frnds,
i m using following script to install software to remote pc.
strUser = ""
strPassword = ""
strMSI = ""
strComputer = ""
Do While strUser = ""
strUser = InputBox("Enter user name", "User Name")
Loop
Do While strPassword = ""
strPassword = InputBox("Enter password", "Password")
Loop
Do While strMSI = ""
strMSI = InputBox("Enter the path to the msi package", "MSI package")
Loop
Do While strComputer = ""
strComputer = InputBox("Enter the destination computer name", "Computer")
Loop
Const wbemImpersonationLevelDelegate = 4
Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objConnection = objwbemLocator.ConnectServer _
(strComputer, "root\cimv2", strUser, strPassword)
objConnection.Security_.ImpersonationLevel = wbemImpersonationLevelDelegate
Set objSoftware = objConnection.Get("Win32_Product")
errReturn = objSoftware.Install(strMSI,,True)
but it show the following error on command prompt
SWbemLocator: The RPC server is unvalable.
pls help me what is the problem in my script