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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regsvr32 and remote script

Status
Not open for further replies.

Jeffpgh

IS-IT--Management
Dec 19, 2003
3
US
Can someone please tell me the parameters necessary to register the activex control necessary to run the sample remote script in the Microsoft documentation? I've followed the instructions in the documentation on how to set up and run a remote script, but am getting "Cannot create activex object" on the "set oProcess = oController.CreateScript("c:\wsh5.6\beenhere.wsf", "")" statement. (I'm trying it on my local machine first)

Thanks!
 
>"Cannot create activex object" on the "set oProcess = oController.CreateScript("c:\wsh5.6\beenhere.wsf", "")" statement. (I'm trying it on my local machine first)
Empty string for the 2nd parameter does not mean it is local. Try localhost say.
[tt] set oProcess = oController.CreateScript("c:\wsh5.6\beenhere.wsf", "localhost")[/tt]
 
Thanks, tsuji! That corrected the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top