Search notes:

Windows Script Host

Windows Script Host is a COM based environment for scripts.
Windows Script Host is often abbreviated with WSH.
WSH itself does not run scripts. They're run by VBScript or JScript.
Although reputed as being an antiquated and unelegant language, these two languages are powerful when it comes to interacting with WMI.
Apparently, these languages are the only two languages that are supported by the ActiveScriptEventConsumer event consumer.
Also, on older System where PowerShell is not installed, there is hope to find at least WSH.
The Windows Script Host is started with cscript.exe (for console environments) or wscript.exe for Window (GUI) environments.

Windows Script Host object model

WSH includes the following COM based libraries which are commonly referred to as WSH objects:
The WScript object is the root object in the Windows Script Host hierarchy.

Disabling Windows Script Host

Registry: Setting the value of HKCU\Software\Microsoft\Windows Script Host\Settings\Enabled or HKLM\Software\Microsoft\Windows Script Host\Settings\Enabled to 0.
If the WSH is disabled, trying to execute it results in a Windows Script Host access is disabled on this machine. Contact your administrator for details. error.

TODO

This page should probably be merged with Shell Automation Service

See also

WSH integrates with Antimalware Scan Interface (AMSI).
VBA: Windows Script Host
Other programming languages etc.
cscript.exe and wscript.exe

Links

Microsoft's WSH page

Index