Windows Script Host to Execute Remote Script Q311269 
Author Message
 Windows Script Host to Execute Remote Script Q311269

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?

Best Regards
Peter



Sat, 08 Oct 2005 15:24:58 GMT  
 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



Sat, 08 Oct 2005 18:03:29 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Research: Windows Script Host or Windows Scripting Host

2. Problems Installing Windows Script 5.0 and Windows Script Host 2.0 Beta on Windows NT 4.0

3. Error: Attempt to execute Windows Script Host while it is disabled

4. Attempt to execute Windows Script Host while it is disabled

5. Can't register Windows Scripting Host with Windows 7

6. Execute remote script on a Remote XP Machine

7. .NET Script Host available from Win32 Scripting!

8. Compiling Scripting Host scripts

9. Windows Script Host Shell Object (Malacious script detected)

10. Reading Email with Windows Script Host script

11. Windows scripting host - Checking a service in Windows NT 4

12. Windows Scripting Host on Windows 95 OSR2

 

 
Powered by phpBB® Forum Software