Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - CScript Error: Can't find script engine "VBScript" -alternate solution



 
11-07-2011   #1


Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

CScript Error: Can't find script engine "VBScript" -alternate solution

I just came across this error in troubleshooting an MGADiag report to solve a non-genuine message on a Vista computer.
It took me a large amount of searching to find the right answer to it - so I thought I'd post my solution here in the hope that it gets a little easier to find for others in the same position


CScript Error: Can't find script engine "VBScript" for script "C:\Windows\system32\slmgr.vbs".

This was preventing the Software Licensing Service in Vista doing what it needs to - and consequently giving rise to the non-genuine message, despite a perfectly genuine install.

The conventional response is to re-register the dll using
regsvr32 vbscript.dll

This works fine in many instances - but in this case, although the registration gave rise to the 'succeeded' message, as it should (thereby showing that the dll was present), there was no change in the response from MGADiag.

The user had been using a registry cleaner - and this was in another forum, and she wasn't the world's most savvy user. All attempts to get her to properly follow reg query instructions failed.

Eventually, I got a clue to the problem from an obscure blog, which mentioned that some AV's blocked a particular registry entry, by substituting their own dll for the vbscript one.

The penny dropped at last - so I created a small reg file to put the default entry there instead.

Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
@="C:\\Windows\\system32\\vbscript.dll"
"ThreadingModel"="Both"
with fingers and toes crossed, I sent her instructions to download and merge the file.
.....and it worked! The thread was by that time 45 long, with just the two of us in it.
Huge sighs of relief all round, and she's promised never to use a registry cleaner again.
So two victories for the price of one.

Not a bad result [edit] - and yes, it should also work in Windows 7 and XP [/edit]

(if anyone finds a better forum to put this in, please feel free to do so!)


Last edited by NoelDP; 11-08-2011 at 06:12 AM.. Reason: include Win7 as option
My System SpecsSystem Spec
12-27-2011   #2


 


Endured the registration prossess just so I copuld say "thank you". Your registry fix brought much joy. More than six months of searching for a fix ended when I found this registry merge. Thank you muchly!
My System SpecsSystem Spec
12-28-2011   #3


Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 


Quote   Quote: Originally Posted by jayster View Post
Endured the registration prossess just so I copuld say "thank you". Your registry fix brought much joy. More than six months of searching for a fix ended when I found this registry merge. Thank you muchly!
You're welcome - that's why I posted it
My System SpecsSystem Spec
.


4 Weeks Ago   #4


Window Vista Home Premium 32bit
 
 


wait!!! i'm a noob here... but at least i knew that i got the same problem...
can you tell me what to do from the first step to the last one..
or else, i wont understand..
--
thanks for help...
My System SpecsSystem Spec
4 Weeks Ago   #5


Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 


Quote   Quote: Originally Posted by havis23 View Post
wait!!! i'm a noob here... but at least i knew that i got the same problem...
can you tell me what to do from the first step to the last one..
or else, i wont understand..
--
thanks for help...
1) Highlight all the stuff in the Code box - then right-click on it and select Copy
2) Open Notepad
3) right-click in Notepad, and select Paste
4) Save the file as 'regfix.reg' to your desktop
5) close Notepad
6) doubleclick on the regfix.reg file - and confirm it when teh IAC box pops up,
7 ) Wait until you get teh Success message, then reboot and test.
My System SpecsSystem Spec
Reply

CScript Error: Can't find script engine "VBScript" -alternate solution problems?



Thread Tools



Similar Threads for: CScript Error: Can't find script engine "VBScript" -alternate solution
Thread Forum
Solved "System Can't Find Path Specified" Error During Backup Backup and Restore
Can't Find Script Engine - VBScript General Discussion
Cant find VBScript engine General Discussion
VBS script: Cannot find script engine General Discussion
"Error 1606: Could not find Network location /0" Gaming


All times are GMT -5. The time now is 04:43 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30