
Windows Script Host to Execute Remote Script Q311269
Quote:
> Hi!
> I'm trying to execute remotly some aplication using script. I've found
> the Q311269 article and a sample script. It is written there, that there are
> some problems and MS recommends to run "wscript -regserver". I did it, but
> it still doesn't work. I've found that it should be run on both server and
> client machine (I did it), but it still doesn't work. There is all the time
> the same error:
> Error: ActiveX component can't create object
> Code: 800A01AD
> Source: Microsoft VBScript Runtime Error
> Both machines are WindowsXP. Any suggestions?
Hi
Pro or Home version of Windows XP ?
Have you done the following on the remote computer:
To enable WshRemote on the remote machine, this is what is needed on the remote
computer:
HKEY_LOCAL_MACHINE
\SOFTWARE
\Microsoft
\Windows Script Host
\Settings
change the named value "Remote" to have a value of "1" (type REG_SZ).
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter