Error 2738: Could not access VBScript runtime

A collection of information about Vault, including solutions to common problems.

Moderator: SourceGear


Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear
PostPosted: Tue Nov 09, 2010 8:47 am
This error, generally on Vista or Windows 7, indicates VBscript is not properly registered.

The VBScript.dll can be registered with these steps:

First, run the Command Prompt as administrator: Start Menu -> All Programs -> Accessories
Right click on Command Prompt and select "Run as administrator."

Run the following command:

If you are using the 32-bit version of Windows:
Type cd %windir%\system32 into the Command Prompt and hit Enter
If you are using the 64-bit version of Windows:
Type cd %windir%\syswow64 into the Command Prompt and hit Enter

Type regsvr32 vbscript.dll into the Command Prompt and hit Enter.

If the above solution does not work, try these steps, running the Command Prompt as administrator:
(Note: you might want to backup your registry before deleting any items.)

For 32-bit version of Windows:

Type the following command in the prompt: reg delete "HKCU\SOFTWARE \Classes\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f, then hit Enter.
Next, register vbscript again:

C:\windows\system32\regsvr32 vbscript.dll, then hit Enter.

If you are using 64-bit version of Windows:

Type the following command in the prompt:
reg delete "HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}" /f, then hit Enter.

Next, register VBscript again: c:\windows\syswow64\regsvr32 vbscript.dll, then hit Enter.

Note: you must run the command prompt as administrator, or you may not have rights to change the registry.
Linda Bauer
SourceGear
Technical Support Manager

Return to Knowledge Base (Vault)

Who is online

Users browsing this forum: No registered users and 2 guests

cron