Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

OS: Windows XP SP3

AV: Microsoft Security Essentials

Network Environment: Standalone

Invocation of wscript.exe fails.

The error message is as follows -

Initialization of the Windows Script Host failed. (The service cannot be started,
either because it is disabled or because it has no enabled devices associated with it.

Resolution attempts so far

Update registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings

  • Changed UseWINSAFER to 0

  • Introduced DWORD: Enabled = 1

  • Enabled Server Service

UPDATE: Downloaded WSH5.7 installable from only to have it abort with the message that my SP is newer than the setup.

So far these above do not appear to work. The latter part of the message makes me wonder whether is is a windows service/access control issue that needs to be enabled/started for WSH to work.

What should be done to get Windows Host Service to execute?

share|improve this question
up vote 1 down vote accepted

OK, after the attempts listed in the question above I had a moment of serendipity. It occurred to me to start all services under windows, and then execute the script.

When this worked I started to stop the services which I had started one at a time (as there are many services which are stopped/disabled on my system by default) until the script threw the above error again.

Starting the service Machine Debug Manager allowed me to move forward from the error mentioned in the question.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .