Server Fault is a question and answer site for system and network administrators. 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

On Win2008R2 x64 I get

Input Error: There is no script engine for file extension ".vbs".
when starting a .vbs file.

share|improve this question

migrated from Jan 7 '10 at 20:35

This question came from our site for computer enthusiasts and power users.

Here are a couple of possible solutions from this blog:

Open a command prompt and type (make sure you have admin privileges in the console):

regsvr32 %systemroot%\system32\vbscript.dll

Or if that doesn't work.

  1. Locate the file %windir%\inf\wsh.inf (inf is a hidden folder)

  2. right click and select “Install”.

share|improve this answer
regsvr32 doesn't help and in my inf folder there is NO wsh.inf between wsdscdrv.inf and wstorflt.inf, ... on the whole system there is no wsh.inf – user28271 Jan 7 '10 at 20:28

You can register a default scripting host:

cscript.exe //H:WScript

You may also want to try adding these registry keys: or

But I believe the .REG files provided are the same

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.