Hi There
Im trying to install software on a collection of remote PC's via the
usual Micrsoft script.
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)
However our Computer Accounts are not trusted for delegation and when
I try to run the above I dont get errors but the install doesn't
start. Is there anyway of doing this without having enabled this
delegation trust. Also I dont fully understand what the
kerberos:Webserver command is doing. Can someone explain
Also if I do get this working, Is there any way of getting the same
script to call a batch file (run it silently) - wait for a few minutes
then execute the msi installer file.
Finally I need to be able to send a script out to a certain range of
subnets like 192.168.1.x and 192.168.2.x etc and find computers that
have acertain file say called C:\test.txt. If the computers do have
the file I would like a text file with the list. I would then like to
execute the main script (calling the batch file and msi installer)
against this list of PC's
I appreciate this is a big request but any help would be greatly
appreciated.
Cheers
Des