Windows Script Host error solution: run a virus scan, check startup scripts, correct Windows registry entries, execute an sfc /scannow command, disable problematic scripts, and re-install any involved applications.
It is a common mistake that is brought about by malware, corrupted files, as well as bad startup scripts. Some of the fixes involve running antivirus scans, turning off malfunctioning scripts, or re-running system files.
Run a System File Checker scan (sfc /scannow) in the Command Prompt to resolve Windows Script Host errors. As an alternative, set the Enabled value under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings to 1 using Registry Editor. Script-related problems are frequently fixed by scanning for malware.