Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cscript Slow after Installing VSE 8.0i

Status
Not open for further replies.

murphyg

Technical User
Feb 5, 2004
23
GB
After Installing VSE 8.0i, has any body noticed that even a simple Hello world VBS script run via cmd prompt using Cscript there is a delay of 10 Seconds or more for it to complete, Well read on.......

Create a file and call it hello.vbs, in the file, type MsgBox "Hello World", then open a cmd prompt and type
cscript.exe hello.vbs and you will see after 2 seconds the msgbox come up, when you click ok there will be a 10 second delay before the process completes.

It appears that the installation of VSE 8.0i Repalces the default script engine dll. On a machine that has not been updated with VSE 8.0i the default Script Engine dll is "vbscript.dll" But this gets repalced by "ScriptProxy.dll". Hence the slowness, also if you upgrade to the new version of the script engine the slowness goes away as ScriptProxy.dll is replaced by an updated version of Vbscript.dll

Search the registry for the CLSID {B54F3741-5B07-11cf-A4B0-00AA004A55E8} and compare.

Quick workaround is to Un-Register Scriptproxy.dll and Re-register Vbscript.dll

regsvr32 /u <Path to Dll>\scriptproxy.dll
regsvr32 <Path to Dll>\vbscript.dll

Also it seems that VSE 8.0i still runs happily with ScriptProxy.dll (But still testing this)

I have a case open with Mcafee and I'm awaiting a response.

:)

Gary Murphy

 
You might want to try wscript instead of cscript.
 
Its not the point, It shows that the script engine has been replaced with Mcafee's own version for The ScriptScan Policy/Process, Really if they do replace it it should not slow the performance down of the current setup on the Workstation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top