How do you fix Windows Script?

This is really, really annoying. I have lost Script on my computer and can't run some of the services, the taskbar's acting weird and IE has no Javascript functions. I tried downloading and installing Windows Script 5.6 but it won't install without Script on the computer, which is really stupid. I have no clue as to what to do right now. At least I still have good programs like Firefox and Windowblinds that don't use the script.
15,948 views 3 replies
Reply #1 Top
Have you tried going to: "C:\WINDOWS\system32" and double-clicking the "wscript.exe" file?

Note - if you have Windows set to hide extension of known file types, it will simply be "wscript".

After double-clicking, change one of the options to activate the "Reset Defaults" button and then click the "Reset Defaults" button and apply. This should at least reset the Windows Script Host.

The other thing you might try is to run a search for "*.js" files (without quotation marks) and then right-click one of the found ".js" files > select Properties > verify that the "Opens with:" is set to "Microsoft (r) Windows Based Script Host" (the same wscript.exe file above).

Repeat the procedure in paragraph above, except search for "*.vbs" and then verify that the VBScript files are set to open with "Microsoft (r) Windows Based Script Host" as well.


I am not a coder, so scripting is not my thing. If these fail and you cannot reinstall the Windows Script 5.6, then the only other thing I can recommend is trying to manually register the "vbscript.dll" and "jscript.dll" files by using the following at the command prompt:

1 - c:\regsvr32.exe vbscript.dll

2 - c:\regsvr32.exe jscript.dll

Note - you would start at a "C:\" prompt and type in the "regsvr32.exe vbscript" (without parenthesis, and with a space between the 'regsvr32.exe' and the file name) > press "Enter" key to attempt manual registering of the ".dll" file. Repeat for the "jscript.dll" file.

If these fail, I would start to suspect the Java Script itself.

Hopefully someone with more knowledge of scripting will drop by.
Reply #2 Top
After hours of playing around with stuff, I have begun to figure out what has made all these problems, of course I don't know what started it in the first place. Before all this, I registered both scripts using to tip Corky_o gave me. Then after playing around with more stuff I found out that in the security tab "Local Service" was missing. I knew some of the services needed this since I've seen it in the properties of the services. So, I added it to have full control to everything on the Harddrive and that seem to fix everything. The taskbar started working, services were starting up, and things were running back to the way there were suppose to run.

Now I have no clue if "Network Service" is supposed to be in there or not. Right now it's not and services that use the "Network Service" account seem to start up anyway. Does anybody have any ideas as to if it need any control to the harddrive?
Reply #3 Top
Andy02369:

What dialog box are you referring to when you describe the "security tab Local Service"? I spent a large portion of my weekend trying to correct this very issue and I think you may have the answer.

Thanks