Windows Script Host Error Dialog Popups in the morning

You may want to look in your Scheduler to see what sort of stuff is trying to run every morning. Doesn't hurt to be paranoid.

The root cause of the problem is that you installed something (most likely an editor.. UltraEdit did this to me) that took over the .vbs extension. Open up Regedit, go to HKEY_CLASSES_ROOT.vbs and reset the default value to "VBSfile" (no quotation marks).


Not sure what is prompting to run a script, but here is a potential fix for the error.

http://www.nilpo.com/2009/07/windows-xp/error-there-is-no-script-engine-for-file-extension/

Step 1: Set a default script host Open a Command Prompt window. In Windows XP, click Start, Run…, and type cmd.exe. In Windows Vista and Windows 7, click Start and type cmd. Then select cmd in the Instant Search results. Type the following command and press Enter.

cscript.exe //H:WScript

Step 2: Registering the vbscript.dll module Open a Command Prompt window. In Windows XP, click Start, Run…, and type cmd.exe. In Windows Vista and Windows 7, run an elevated Command Prompt. Type the following command in the command prompt window and press Enter.

regsvr32 %systemroot%\system32\vbscript.dll

Step 3: Restore the .vbs file associations If the previous two solutions didn’t work, you should restore the file associations for the .vbs (VBScript) file type by downloading and running One of the registry files below.

http://www.nilpo.com/pub/scripts/FixVBSFileAssociationsXP.reg

http://www.nilpo.com/pub/scripts/FixVBSFileAssociationsVista.reg

.