cscript.exe and wscript.exe don't execute
Posted on 2007-04-05
On some machines cscript.exe and wscript.exe stopped executing. When run from the command line, they just immediately come back without the normal copyright and usage messages. Even when I invoke cscript from another machine through a shared drive, the same thing happens. I've found a Windows 2000 server (SP4) and a couple of XP machines (SP2, Prof) that show this behaviour. Nothing in the event logs that show that anything might be wrong.
I tried without the virus protection with no effect. Reinstalling WSH doesn't help either.
It seems to me that something is intercepting the request to have the scripting host started. When I start it from a URL on another machine (ie: \\somepc\c$\winnt\system32\cscript.exe), the command prompt comes back immediately, even if the 'somepc' is behind a slow link.
Any ideas how to troubleshoot this?