Author Topic: Could not access VBScript run time for custom action  (Read 24673 times)

0 Members and 1 Guest are viewing this topic.

shwang11

  • Guest
Could not access VBScript run time for custom action
« on: July 20, 2011, 11:36:00 PM »
how are you,
I have been using avast business 4.8 version on my windows 2008 server.
When I upgrade it to Business Protection, I hit an error message of 'Could not access VBScript run time for custom action.'
I am working as an administrator.

any idea?

jx

  • Guest
Re: Could not access VBScript run time for custom action
« Reply #1 on: July 21, 2011, 07:41:27 AM »
Hi,

this is a known/observed issue on some windows installations. Please find the VBScript runtime dll (usually c:\Windows\System32\vbscript.dll) and re-register it with COM from the command line:

regsvr32 c:\Windows\System32\vbscript.dll

This should do the trick, try installing again.

Thanks
jx

Offline Infratech Solutions

  • Avast Reseller
  • Massive Poster
  • *
  • Posts: 2429
  • Mayorista e integrador de Avast en España
    • Ciberseguridad Avast para empresas y MSPs en España.
Re: Could not access VBScript run time for custom action
« Reply #2 on: July 21, 2011, 09:13:48 AM »
Re-register the dll don't work in our case.

jx

  • Guest
Re: Could not access VBScript run time for custom action
« Reply #3 on: July 21, 2011, 09:42:57 AM »
Re-register the dll don't work in our case.

This really is some kind of windows configuration issue, not related to avast products. Most likely other products depending on VBScript will malfunction as well.

One other thing you may try is reinstalling the VC redistributable: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29

HTH

jx

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11865
    • AVAST Software
Re: Could not access VBScript run time for custom action
« Reply #4 on: July 21, 2011, 09:48:44 AM »
Is it a 64bit OS?
If so, maybe registering both the 32bit and 64bit versions of the DLL is needed?

Offline Infratech Solutions

  • Avast Reseller
  • Massive Poster
  • *
  • Posts: 2429
  • Mayorista e integrador de Avast en España
    • Ciberseguridad Avast para empresas y MSPs en España.
Re: Could not access VBScript run time for custom action
« Reply #5 on: July 21, 2011, 09:51:26 AM »
Yes, Igor, is a MS Windows Server 2008 (64 bits).

We have re-registered both dll (32 and 64) and don't work.

We are going to try the reinstallation of the VC redistributable.


Offline Infratech Solutions

  • Avast Reseller
  • Massive Poster
  • *
  • Posts: 2429
  • Mayorista e integrador de Avast en España
    • Ciberseguridad Avast para empresas y MSPs en España.
Re: Could not access VBScript run time for custom action
« Reply #6 on: July 21, 2011, 10:18:48 AM »
We have reinstalled the VC++ 2008 Redistributable and we have installed VC++ 2010 Redistributable, but the ABP setup program doesn't work.  :'(

We think that we must reinstall our MS test server.  :-\

Thanks.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11865
    • AVAST Software
Re: Could not access VBScript run time for custom action
« Reply #7 on: July 21, 2011, 05:04:46 PM »
Is there anything specific about these servers (where vbscript runtime fails)?
Language version of the OS, specific configuration, ... anything?

sedina

  • Guest

Unleashed

  • Guest
Re: Could not access VBScript run time for custom action
« Reply #9 on: August 10, 2011, 02:48:28 PM »
Same problem here - affected 8 clients.
We use a .vbs Skript for mapping network drives and for autostarting services;
since the deployment of ABP on the clients we are not able to start any .vbs script.

Windows Script Host error message: Scriptmodule "VBScript" for script "\\servername\....." was not found.

Already tried to register .dll again, already reinstalled vcredist.exe - still same problem.
Checked system with sfc /scannow - no problems found.
Uninstalled ABP - problem persits!!!

Only way to solve this is to restore a system-point!

After deploying ABP again - same problem happens!

Probably this helps to analyse this one:
- error only occours on GERMAN Windows VISTA Clients (all of them fully patches with latest
  updates)
- all of the affected clients run AVAST PRO v6 before the deployment; this version was
  automatically removed through the "silent" deployment using the ABP console

I have got ONE Vista client which is NOT affected because I manually uninstalled AVAST v6
before the new ABP client was deployed ....


Also noticed an other problem:
on all WIN 7 clients (German) you are not able to open Windows Media Player after the deployment

This one can be solved by simply uninstalling ABP and reinstall it using the "email deplayment" option.

Any suggestions for repairing the scripting host are highly appreciated!

Thanks in advance!

Offline lukas.hasik

  • Moderator
  • Advanced Poster
  • *
  • Posts: 940
  • Product manager of Avast Security for Windows
Re: Could not access VBScript run time for custom action
« Reply #10 on: August 10, 2011, 09:51:50 PM »
Hi,
we've just released update of the Business Protection (Plus) - http://forum.avast.com/index.php?topic=82941.0
It sould fix this problem

regards
Quality is also a feature.

computerchuck

  • Guest
Re: Could not access VBScript run time for custom action
« Reply #11 on: August 22, 2011, 02:35:07 AM »
Having the same problem.  Running Win server 2008 (not R2) 64bit.  Tried installing the latest BP admin console (SP1), it comes up with the error during setup (right after clicking the first 'next') and doesn't update/install.  Cannot uninstall the current BP Admin console.  It gives the same error (VBScript).  I'm out of options here.   This isn't a test server, I cannot just reload it.  It's a production server. 

BTW, all this started because I cannot get the admin console to create a client installer.  See this post I started:   http://forum.avast.com/index.php?topic=81963.0

Was able to finally get that server to work, but tried everything on that post.  Please help!

chromebandit

  • Guest
Re: Could not access VBScript run time for custom action
« Reply #12 on: April 18, 2012, 07:16:48 PM »
I UNINSTALLED AVAST - MY SCRIPTHOST IS DEAD NOW - AVAST LEFT UNCHANGABLE REGISTRY ENTRIES SO I NEED TO REINSTALL WINDOWS - WHATS BETTER INSTALLING SECURITY SOFTWARE THAT DESTROYS MY INSTALLATION OR GETTING A VIRUS THAT DESTROYS MY INSTALLATION.

So iam having to options now i reinstall avast and my scripthost works - or i uninstall avast and i dont use my scripthost no more - people i need to reinstall my system or what???

Chromebandit


« Last Edit: April 18, 2012, 11:10:03 PM by chromebandit »