If when you try to install a program on your Windows 111/10 PC, you receive the error prompt Error 2738 – Could not access VBScript run time for custom action, then this post is intended to help you. In this post, we will identify the possible cause, as well as provide the most suitable solution you can try to mitigate this issue.
What is error code 2738 on Windows?
Error code 2738 on Windows 11/10 indicates that the VBScript engine is either unregistered or has an incorrect registry value. It occurs due to incorrect or corrupt registry entries that interfere with VB support in Windows. This error often occurs during software installations relying on VBScript for custom actions. It also means that VBScript is not properly configured to run on your computer.
Error 2738, Could not access VBScript runtime for custom action
If you’re faced with this error, you can try our recommended solution below and see if that helps to resolve the issue.
First, ensure that Windows Script Host is enabled on your machine. You can use our FixWin to fix this issue. It offers a 1-click fix under the Additional fixes section.
Having done that, you need to remove an incorrect VBscript entry from the registry, as follows:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and then press CTRL+SHIFT+ENTER to open Command Prompt in admin mode.
- In the command prompt window, copy and paste in the command below and hit Enter.
reg delete “HKCU\SOFTWARE\Classes\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8}” /f
The command removes the incorrect entry for VBScript support on Windows.
- Next, you need to make sure VBScript is properly registered by running the following command in CMD prompt:
c:\windows\syswow64\regsvr32 vbscript.dll
After executing these commands, the issue should be resolved.
I hope this helps!
How to fix Microsoft VBScript Runtime error Permission denied?
Ensure the user running the VBScript has read and execute permissions for both the VBScript file and Java-Update.exe file. Right-click the files, select “Properties,” and adjust the permissions under the “Security” tab. Check for any restrictive group policies that may affect execution.
How do I fix VBScript Runtime error?
First, check your script for coding mistakes to fix a VBScript runtime error. Ensure all variables are properly declared and that there are no syntax errors. Additionally, update your Windows Script Host to the latest version and review any objects or methods used for compatibility issues.