Skip go content

wscript.exe

Windows ProcessMicrosoft Corporation

Catalog search terms wscript, windows script host, wsh gui

WindowsSystem Component

Windows Script Host GUI host. E dey run .vbs and .js with dialogs and no console window. cscript.exe na the console host. powershell.exe na PowerShell.

Wetin you need know

wscript na GUI WSH, no be cscript and no be powershell.

wscript.exe na Windows Script Host with GUI. .vbs and .js files wey dem double-click often dey start here. cscript.exe dey write to console. powershell.exe na different language host.

E safe?
Check the running file path, signature, and publisher. Name alone no fit confirm say e safe.
Same as cscript?
No. cscript na the console host
Same as PowerShell?
No
Feex tok say
If .vbs pop up box and the name na wscript, I dey read the script path. I no dey end powershell.exe for dat dialog, and I no dey treat cscript as the same window.

Wetin be wscript.exe?

wscript.exe na GUI Windows Script Host. E no be cscript.exe and e no be powershell.exe. The file na System32\wscript.exe.

Wetin e dey do?

E dey load script and fit show MsgBox-style UI. cscript.exe dey print to stdout instead. PowerShell no dey use this host.

Wetin make am dey run?

You double-click .vbs or .js, logon script call wscript, or installer still dey use WSH. wscript wey remain with strange script path need make you check the path.

Inspect the running instance

Inside Windows PowerShell, this read-only query show matching process IDs, creation times and executable paths on this PC. (pcm)

Get-CimInstance -ClassName Win32_Process | Where-Object { $_.Name -eq 'wscript.exe' } | Select-Object ProcessId, ParentProcessId, CreationDate, Name, ExecutablePath | Format-List

No result or a path we no fit access is inconclusive. Protected processes fit restrict access, and process IDs fit be reused. Keep personal paths local. (pcm)

Use the file-identity guide to compare signatures and product metadata. A filename alone no fit establish safety. (pcm)

E dey safe?

Check the script path

System32 wscript.exe na Microsoft. The script wey e launch na the risk. wscript.exe inside Temp no be WSH.

Compare the recorded location with the actual file. A familiar folder alone no fit establish identity. (pcm)

C:\Windows\System32\wscript.exe

  • GUI WSH host
  • Console sibling: cscript.exe
  • No be powershell.exe

I fit end am?

E dey stop that script

To end wscript.exe dey kill the running script and im dialogs. cscript.exe and powershell.exe fit stay.

I fit comot am?

No

No delete wscript.exe. Change file associations or use AppLocker / WDAC if you need to block scripts. Na policy be dat, no be Explorer.

E suppose start with Windows?

Script or Run key fit start am. E no suppose be permanent tray app.

Measure resource use

Measure the current process rather than assume a universal baseline
CPU and memory Compare several observations for the same PID and workload. This entry get no independently measured universal baseline. (pcm)
Disk and network Attribute activity to the actual process and current task; a filename alone no fit establish expected destinations or transfer volume. (pcm)

File information

wscript.exe file information
Executable name wscript.exe
Recorded installation path C:\Windows\System32\wscript.exe
Publisher Microsoft Corporation
Signature check Inspect the actual file; this entry no dey certify its certificate identity. (pcm)

Common wahala dem

Email .vbs dey open wscript

Na WSH dey run the attachment be dat. End this process, then quarantine the script. E no be PowerShell by default.

People dey disable PowerShell to stop VBS

Wrong host. .vbs na wscript or cscript unless person wrap am.

How to troubleshoot

Diagnose before you change anything wey fit scatter things.

Read the command line for the .vbs or .js path

Dat file na the question. wscript.exe na just the host.

No replace wscript from "WSH fix" zip

Na Servicing get System32.

Technical details

Technical details
wscript.exe technical details
Image name wscript.exe
Role Windows Script Host GUI

Check the identity of running file

A filename alone no fit establish safety. Verify the actual path, signature and product identity. (pcm)

Sources and verification

Recorded source label: August 2026. Dis label no establish independent verification. How we dey do research.

Dis article make sense to you?

Yes or no dey enough. Choose reason if you want, or add short note.

Dis article make sense to you?