wscript.exe
Catalog search terms wscript, windows script host, wsh gui
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
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
| 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
| 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
| 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.
- Microsoft Learn: wscript · GUI Windows Script Host
- Microsoft Learn: Windows Script Host · WSH dey host .vbs and .js
- Foxhole process map · First-party samples on top Windows PCs. No be lab benchmark.
- Microsoft Sysinternals: Sigcheck · Dey explain how to check file signatures. Dis reference no establish the identity or safety of any particular running file.
- Microsoft: Get-CimInstance · Read-only local process-query method. (pcm)
- Microsoft: Win32_Process properties · Documents process IDs, executable paths, creation dates and parent-ID reuse. (pcm)
Dis article make sense to you?
Yes or no dey enough. Choose reason if you want, or add short note.
Thank you. Dat one dey help us make dis page better.