Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
BUG: You receive an "ActiveX component can't create object" error message when you Use Windows Script Host to execute remote script
Article ID: 311269 - View products that this article applies to.
This article was previously published under Q311269
When you try to execute a remote script by using Windows Script Host (WSH) 5.6 on a Windows XP-based computer, you may receive the following error message:
Error: ActiveX component can't create object
Source: Microsoft VBScript Runtime Error
This behavior can occur if the setup for WSH remote scripting was performed incorrectly on your Windows XP-based system.
To resolve this issue, register the WScript object by running the wscript -regserver command from a command prompt or from the Run command on the Start menu.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Steps to reproduce the problem