- Home
- Skills
- DevOps & Cloud
- Hide Windows Console Windows
Hide Windows Console Windows
Stop visible Command Prompt / PowerShell / Python terminal windows from popping up on the Windows desktop when a headless process (WSL Py...
Free
Works with the AI Agents you already use
About this skill
Stop visible Command Prompt / PowerShell / Python terminal windows from popping up on the Windows desktop when a headless process (WSL Python, a Scheduled Task, or a background service) launches a Windows console executable. Use when the user reports "random terminals spawning", "ghost console windows", or a window flashing on a timer. Covers diagnosis + the two proven silent-launch techniques (wscript hidden host + CREATE_NO_WINDOW) and the Task Scheduler pitfalls.
- Create the VBS (style
0= hidden):
For Python useSet sh = CreateObject("WScript.Shell") sh.Run "cmd.exe /c C:\path\to\thing.bat", 0, Truepythonw.exe(windowless Python) notpython.exe:Set sh = CreateObject("WScript.Shell") py = "C:\Users\Admin\AppData\Local\Python\pythoncore-3.14-64\pythonw.exe" script = "C:\path\to\script.py" cmd = Chr(34) & py & Chr(34) & " -u " & Chr(34) & script & Chr(34) sh.Run cmd, 0, True - Change the task action (PowerShell object model —
schtasks /TRquoting for paths-with-spaces is a nightmare; avoid it):$a = New-ScheduledTaskAction -Execute 'wscript.exe' -Argument 'C:\
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 18 days ago
- Free with an Agensi account
- Software
Python
Permissions
File Scopes
Runs locally inside your agent environment. No third-party accounts required.