If VBScript module is not registered correctly or .vbs file class settings are broken, you may receive one of the following errors when running a VBScript (.vbs) file in your system:

Can’t find script engine "VBScript" for script "filename.vbs".
There is no script engine for file extension ".vbs".

This error can be fixed using the steps listed below.

Step 1: Registering the vbscript.dll file

Open an elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. Type the following command in the Command Prompt window, and press {ENTER}:

regsvr32 %systemroot%\system32\vbscript.dll

You should see the following message:

DllRegisterServer in vbscript.dll succeeded.

Step 2: Fixing the .VBS file association settings

Then, download and apply the .vbs association fix from our File association Fixes for Windows Vista page.

Editor’s note: If you experience this error in Windows XP system, see this article for instructions.

SEE ALSO

Error "There is no script engine for file extension" when running .js files in Windows XP/Vista


Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

5 Comments

  1. Sean S
    said this on Thursday, July 21st 2011 11:10 pm

    Thanks Bill H. This worked great!

  2. Bill H
    said this on Monday, January 24th 2011 7:36 pm

    That didn’t work for me. I did find another solution:
    1. Locate the file %windir%\inf\wsh.inf (inf is a hidden
    folder)

    2.right click and select “Install”.

  3. Krithiga
    said this on Thursday, January 13th 2011 12:34 pm

    Thanks for this solution. It fixed my problem for uninstalling the xampp.

  4. said this on Monday, January 3rd 2011 10:41 am

    Excellent! I issued the regsvr32 command using the “start —-> run” path.
    And it worked!
    Though it is a mystery how both vbscript and jscript dlls had got de-registered.

  5. Bertram
    said this on Saturday, November 27th 2010 6:02 am

    I tried to uninstall an Opera widget and got the error message “There is no script engine for file extension “.vbs”. Your solution above fixed my problem. Thank you. Really appreciated.

Leave a Reply