Windows Server 2008 R2 VBScript script engine missing

vbscriptwindowswindows-server-2008-r2

On Win2008R2 x64 I get

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

when starting a .vbs file.

Best Answer

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”.