sync: auto-sync from HOWARD-HOME at 2026-07-07 11:45:40

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-07-07 11:45:40
This commit is contained in:
2026-07-07 11:46:10 -07:00
parent 1e1bae772d
commit a507678254
6 changed files with 76 additions and 2 deletions

View File

@@ -0,0 +1,44 @@
# Session — GPS-RMM-Progress console popup made silent
## User
- **User:** Howard Enos (howard)
- **Machine:** Howard-Home
- **Role:** tech
## Summary
Howard reported a command window flashing on the desktop then disappearing. Traced it to
the `GPS-RMM-Progress` Windows scheduled task and made it run windowless.
## Diagnosis
- **Task:** `GPS-RMM-Progress` (root `\` folder, author `Howard`)
- **Old action:** `C:\Program Files\Git\bin\bash.exe -lc "cd /c/claudetools && bash .claude/scripts/gps-rmm-progress-check.sh"`
- **Trigger:** daily at 08:07 (single fire; no repetition interval)
- **Root cause of flash:** action launched `bash.exe` (console subsystem) with
`LogonType = Interactive` + `Hidden = False`, so a console window drew on the desktop each run.
- Script is our GPS->GuruRMM enrollment progress check: read-only against RMM `/api/agents`,
DMs Howard a daily summary via `discord-dm.sh`. No interactive desktop needed -> safe to hide.
## Fix
- Added `.claude/scripts/gps-rmm-progress-hidden.vbs` — a wscript wrapper that runs bash with
window style `0` (hidden), `False` (no wait). `wscript.exe` is a GUI-subsystem host, so no
console is ever allocated.
- Repointed the task action to:
- Execute: `C:\Windows\System32\wscript.exe`
- Arguments: `"C:\claudetools\.claude\scripts\gps-rmm-progress-hidden.vbs"`
- Runtime environment unchanged (same interactive session, vault/SSH/env intact); only the
window is suppressed.
## Verification
- `Start-ScheduledTask GPS-RMM-Progress` -> `LastResult 0x0`, no visible wscript/bash/conhost
windows. Flash eliminated.
- The verification run was a real (non-dry) execution, so it sent Howard the normal daily
Discord summary (expected).
## Files changed
- `.claude/scripts/gps-rmm-progress-hidden.vbs` (new)
## Notes / pending
- The scheduled task itself is per-machine (not stored in repo) — this fix applies to
Howard-Home only. Same change would be needed on any other machine running this task.
- Script self-reports `COMPLETE` once every tracked GPS client hits its RMM target; at that
point the task can be retired: `schtasks /Delete /TN GPS-RMM-Progress /F`.