Can't fix scriptengine "VB script" for script C:\Users\User|Appdata\Temp\tmp8FC1.vbs
Windows Vista Home Basic 32bit, SP2
I am unable to bring up any Microsoft webpage by clicking on "Event Log Online Help"
I think this problem came up when after I deleteed several things including antivirus
When I Click on link in "event" EventLogOnline Help :
I get this:
Can't find scriptengine"VBScript" for script
C:\Users\Cris\AppData\Temp\tmp8FC1.vbs"
I have done all of that is mentioned below, and I think I am missing a registry entry, although sfc\ scannow does not tell me that . It tells me, it is repairing on next boot up, but it never does. I rerun and rerun the same scan and it tells me the same thing.
See below, how I have tackled the problem so far. I am at a loss now.
Can anyone help?
"
This is what I get when I open adminstative tools" Windows Power Shell"
( opened as administrator)
In yellow it shows this:
:Warning: File C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PsdDiagnostics\PsDiagnostics.psm1 cannot be loaded because the excution of scripts is disabled on this system. Please see"get-help about_signing"for more details.
Errors occurred while importing modules. To view the errors, type "$error"
I did put in "$error" under the command prompt in the "Windows PowerShell " and this comes up:
Cannot load file Powershell snap-inMicrosoft.Windows.Diagnosis.SystemIndo.MonitorInfo because of the following error; Could not load file assembly `file:///C:\Windows\Temp\SDIAG_4ecacObc-e7a7-8c96-8365d8147237\MonitorSnapin.dll` or one of its dependencies. The system cannot find the file specified
I then ran from command prompt: regsvr32 vbscript.dll
This window poped -up:
The module"vbscript.dll" was loaded but the call to DLLRegisterServer failed with errorcode 0x80004005.
For more information abput this problem search online using the error code as search term
I then went to command:
Typed the following command: regsvr32 jscript.dll
It stated this suceeded.
Then
typed the command again: regsvr32 vbscript.dll
This window poped -up again:
The module"vbscript.dll" was loaded but the call to DLLRegisterServer failed with errorcode 0x80004005.
For more information abput this problem search online using the error code as search term
This is the advise given in microsoft forum:
http://social.msdn.microsoft.com/Forums/en-US/jscript/thread/b7d1a35f-3759-4217-91ba-e4416ac19d78I did the following, and it did not work!! The reset does not seem to have worked on my problem nor on the error code.
This was the advice given:
Same here. NOTHING worked for me, until I found this nifty little solution. Here it is ; )
1) download SubInAcl at http://www.microsoft.com/downloads/details.aspx?FamilyId=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&displaylang=en
2) Go to C:\Program Files\Windows Resource Kits\Tools
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
3) save the file as reset.cmd Remember to change the file type to "all files" and not just "Text"
4) a reset command should show up, run it.
After you let the command finish running, the 0x80004005 error should be taken care of
THIS DID NOT WORK FOR ME.
When I click on "Event online Help" I now get the following:
Can't find scriptengine"VBscript" for script. C:\Users\Chris\Appdata\Local\Temp\tmp7A90.vbs
Entering into the command prompt the following: regsvr vbscript.dll
still gives me:The module"vbscript.dll" was loaded but the call to DLLRegisterServer failed with errorcode 0x80004005.
For more information about this problem search online using the error code as search term
( I thought I had fixed that error with above procedure, but apparently not)
I then used the systemfile checker ,
command promt : sfc/ scannow
The answer is: Windows resource ptoection found corrupt files and succesfully repaired them. Details are included in CBS.log C:\Windows\Logs\CBS\Cbs\log
The system file repair changes will take effect on next reboot.
The question now is can I repair VB script language registry setting as suggested here.
http://techlogon.com/2012/11/26/how-to-fix-the-error-cant-find-script-engine-vbscript-for-scriptIn the registry editor I am supposed to find:
HKCR\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32.
HKCR\CLSID should have the entry the vbscript.dll under C:\windows\system32\vbscript.dll
I do have HKEYClasses Root\CLSID but not the entire key above, I have no Inproc server32. I have no vbscript in that key.
Ths sfc scannow did not make me aware of a missing key, and did not ask me to insert an operating disk for the missing file.
What should I do?
I have Vista Sp2 On my PC but only have a recovery CD for Vista SP1
I would appreciate any input from someone as this has been quite difficult for me to get this far. Thank you .