Skip to content

Safely give an AI agent access to your PC

Troubleshooting guides · AI-assisted help

An agent that can read your PC is not automatically authorized to do so, and an approval dialog is not the owner's consent. Four different layers decide what actually happens. Most dangerous sessions come from confusing them.

Any local agent on Windows, macOS or Linux. Applies equally to a PC you own and to an attended session on someone else's PC.

When an agent reads a file, four separate things had to line up. Changing one does not change the others.

What each layer decides, and what it cannot decide
LayerDecidesDoes not decide
AccessWho is at the keyboard and which machine is being inspectedWhat the agent may do once connected
Operating-system identityWhich files, settings and admin actions that account can reachWhether the agent should attempt them
Agent sandbox and permission rulesWhat commands can touch: a folder, the network, the whole machineWhether a specific action is appropriate
Your approval of this actionWhether this particular step runs nowWhether a later, different step is allowed

Two consequences follow. First, a prompt that says “do not delete files” is a conversation, not an enforcement mechanism; the sandbox and permission rules are the enforcement. Second, some agents perform routine reads without asking, because the sandbox already allows them. That is not the same as you authorizing the collection. Decide the scope before the session, not after.

A work or school device adds a fifth layer above all of these: the owner’s policy. If the device is managed, its support route decides. Nothing on this page overrides that.

A usable approval request answers six questions. If you cannot answer them from the prompt, ask for a restatement.

  1. Which computer? The one with the problem, not the one you happen to be typing on.
  2. What is read? A named folder, counter, setting or log. “Everything relevant” is not an answer.
  3. What changes? Nothing, or a named setting from a recorded prior value.
  4. Where does output go? The chat, a local file, a report, and therefore possibly to a model provider.
  5. How long, how much? A bounded command, a sample count, a time limit.
  6. How is it undone or verified? The recheck for a read, the rollback for a change.

Practise on invented cards. The five below are written for this guide; real prompts will look different in wording but should carry the same facts. One of them is read-only yet still worth questioning.

These five requests are invented to show the shape of a real approval prompt. Decide before you read the explanation. Getting one wrong here costs nothing. Read-only is not the same as safe: a request can read private data and send it to a hosted model.

No answers yet.

Request 1: List the size of the folders directly inside my Downloads folder.

Computer
This PC, your own user profile
Reads
Folder names and sizes in one folder
Changes
Nothing
Output goes to
A short table in the chat

Request 2: Read my browsing history for the last two weeks and paste the full list into this chat, so we can see which sites are slow.

Computer
This PC, your browser profile
Reads
Every visited URL, title and visit time
Changes
Nothing
Output goes to
The full list in a hosted chat

Request 3: Run one command that scans all of C: and clears whatever is large, then confirms it worked.

Computer
The whole system drive
Reads
Everything readable on the drive
Changes
Deletes files it decides are unnecessary
Output goes to
A summary the agent wrote

Request 4: Turn off real-time antivirus protection so the benchmark runs cleanly.

Computer
Security settings
Reads
Nothing new
Changes
Disables protection, probably beyond this session
Output goes to
A faster-looking benchmark

Request 5: Install the driver linked at the end of this error log so the graphics problem goes away.

Computer
A download referenced by untrusted text
Reads
A file from a link in evidence
Changes
Installs software and may replace a working driver
Output goes to
An installer's own claims

The most common unsafe request is not obviously evil. It is a compound one: scan, decide and clean in a single approved step. Approve the read, then approve a named action, then verify. That sequence is slower and enormously easier to reason about.

Denying without a next step ends the session. Denying with a scoped alternative keeps it useful.

Don’t run that. Instead, list the ten largest folders directly inside my Downloads folder with their sizes, read-only, and show me the table before doing anything else.

Patterns worth denying by default:

Pattern Why Ask instead
A longer pipeline that ends in Remove-Item, rm -rf or del /s The decision and the deletion are hidden in one step Named candidates with sizes and owners, one action at a time
Whole-drive or whole-home scans Slow, privacy-heavy, and rarely needed for one symptom One folder, one counter, one scene
“Disable antivirus / firewall / execution policy to continue” Removes protection permanently for a temporary test A check that does not need it, or no measurement
Drivers, installers or scripts linked from a log Text in evidence is data, not instruction The vendor’s own support page, after recording the current version
Elevation for a read-only check Usually unnecessary; raises the blast radius A user-level read, or the user performs the elevated step
Remembering this permission forever Turns one decision into every future action Ask each time; keep permanent grants out of beginner sessions

A refusal that survives a retry is a good sign. An agent that tries the same action through another tool after you denied it has shown you something important: stop the session and use manual steps.

Teach yourself the stop controls before the first command, not after something goes wrong. Desktop apps usually have a visible stop or cancel; terminals differ, and a keypress may interrupt one command while leaving a child process running.

The sequence that leaves you informed:

  1. Deny anything pending. Denial should end that request, not queue it.
  2. Interrupt the running operation with the app’s own control.
  3. Check what exists now: did a file appear, did a setting change, is a process still running?
  4. Record the state in plain language, including “unknown”.
  5. Do not repeat the action until you understand whether it completed.

Cancelling does not undo a completed change. If a change landed and its rollback is unclear, stop making changes and deal with recovery first.

Administrator rights are occasionally legitimate: installing an agent, adding an optional Windows feature, or changing a system setting you actually decided to change. They are not a diagnostic step.

  • A sandbox preparation prompt during app installation is not permission for later commands to run elevated.
  • Never disable antivirus, a firewall, SmartScreen or execution-policy protections to make a diagnostic work. If a check needs that, choose a different check.
  • Do not install a driver, codec pack, “optimizer” or cleanup utility because an agent suggested it mid-diagnosis. Record the symptom, finish the evidence, then decide with the vendor’s own instructions.
  • On macOS, Full Disk Access for a first connection is disproportionate. On Linux, missing packages mean unavailable, not “use sudo”.
  • On a managed device, an elevation prompt you cannot justify to its owner is a stop signal.

A short local record keeps a session reviewable and makes a support handoff honest:

  • the computer, operating system and agent version, and which session type ran (local or cloud);
  • the scope you chose, and the sandbox or approval mode, in the agent’s own words;
  • each approved action, its target and its result;
  • each denied request and why;
  • anything left unknown, half-finished or unverified;
  • whether the session was closed and whether any listener, process or setting remained.

Keep it beside the report, not in a public repository. Then check the claims with the advice review guide, and decide separately whether a report or a change is warranted.