Overview
Use Claude Code in PowerShell on a Windows PC to list startup programs and services read-only, explain each one, and draft a change plan you approve item by item.
Problem or Objective
More in Home and Devices
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · PowerShell · Windows
- Prerequisites
- Requires Claude Code installed on a Windows PC and a Claude account or API key; some changes need an administrator account.
How It Works
Create a restore point and note how long your PC takes to start today. Open Claude Code in a new empty folder and ask it, first, only to read: list startup entries, scheduled tasks that run at log-on and services set to start automatically, and save the results to a file in that folder. Then ask for a table that explains each entry in plain words, who made it, and whether turning it off is low, medium or high risk; anything from your security software, drivers or Windows itself goes in the do-not-touch column. Pick a few low-risk items, have Claude Code show the exact command for each, approve them one at a time, restart, and compare start-up time before changing anything else. Keep the saved list so you can switch an item back.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, PowerShell, Windows.
- Check the prerequisitesRequires Claude Code installed on a Windows PC and a Claude account or API key; some changes need an administrator account.
- Gather your detailsCollect what the prompt asks for: File for the saved list, Security software you use, Most changes to try in one round, What you want to improve.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Read-only startup audit with a change plan
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Using only read-only PowerShell commands, list the startup entries, log-on scheduled tasks and automatic services on this Windows PC and save them to [File for the saved list]. Then give me a table with each item, its publisher, what it does in plain words, and a risk rating for turning it off. Put anything from [Security software you use], hardware drivers or Windows itself in a do-not-touch group. Suggest at most [Most changes to try in one round] low-risk changes for my goal: [What you want to improve]. Show the exact command for each change and run nothing that changes the system until I approve that one command.Make a restore point first and time a normal start-up. Approve each change separately, restart, and check that devices, updates and security software still work before the next round. Keep the saved list so you can undo a change.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Claude Code overview says it reads files, edits files and runs commands, and the setup page says that on Windows without Git for Windows it runs shell commands through its PowerShell tool. No cited page covers Windows performance tuning, and none measures whether disabling startup items makes a PC faster.
Limitations and Considerations
Turning off the wrong service can break devices, updates or security software, so keep anything you do not recognise switched on and look it up first. Run read-only commands first and approve each change separately; check in your Claude Code permission settings that commands wait for your approval before you start. Some changes need an administrator prompt, which you should answer yourself. Make a restore point before the first change. This workflow leaves firmware settings alone. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Advanced setup - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Without Git for Windows , Claude Code runs shell commands via the PowerShell tool .

