Grok Bot Fixed a Years-Old Windows PC Through Admin PowerShell, Then Rewrote the Script When Windows Blocked It
- Level Intermediate
- Setup1–3 hrs (estimated)
- Evidence Anecdotal
- CostNot stated in source
- No-codeYes
What they did
Got an old PC that's crawling? He let Grok Bot work on a years-old Windows machine using an elevated PowerShell session. When the first attempt failed on Windows' admin permission prompt (UAC), it caught the failure, rewrote the script, checked that the changes took, and gave him next steps.
How it went
A cleaned-up PC with a report of what was changed and verified.
Worth knowing
- One short X post. Giving an agent admin rights on your PC is risky: back up first and read scripts before approving them.
Prompt
Cleaned version rewritten from the source — not a direct quote.
My Windows PC is old and slow. Using PowerShell: 1) Check startup programs, disk space, pending updates and drive health and report what you find. 2) Propose fixes and show me the script before running anything as admin. 3) If a step fails, tell me why and fix the script. 4) Verify each change worked and list next steps.
Recommended
Try it in Grok Bot
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (Google Drive) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in Claude, ChatGPT Agent, OpenClaw.
Set it up
Tools: Google Drive · Stack: Grok Bot + computer access (Windows PowerShell)
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
First-hand X post: elevated PowerShell, caught UAC elevation failure, rewrote script, verified changes, gave next steps
Source: X · 2026-10-21 · Verified by us: not yet · Report broken or outdated