Skip to content
86% off$349 $48.86code BF2026

Guides

"Bypass the system private window picker" prompt on Sequoia

Why macOS Sequoia says iTerm or another app is requesting to bypass the system private window picker, and what to check when a script triggers it often.

TroubleshootingUpdated 5 min read

On this page

You're running a script, often Python with PyAutoGUI from iTerm2, and macOS keeps interrupting it with this:

"iTerm" is requesting to bypass the system private window picker and directly access your screen and audio. This will allow iTerm to record your screen and system audio, including personal or sensitive information that may be visible or audible.

The one report we found (macOS 15.7.4, March 2026) ended without a solution. The poster had already tried tccutil reset and wrapping the script in a py2app bundle, and was clicking the prompt automatically to keep the script going. Treat what follows as a checklist of things worth ruling out, with the untested ideas labeled.

Why macOS shows this prompt

macOS is asking whether an app may capture the screen directly, without going through Apple's picker, where you choose a window or display to share. Approving it grants that app Screen & System Audio Recording access.

Screen Recording permission belongs to an app, not to a script. When you run a script from a terminal, macOS attributes the capture to the terminal, or to whatever program launched the script. That is why the prompt names iTerm and not your Python file.

On Sequoia, people report that apps which were already approved get asked again from time to time, and describe it as a weekly or monthly re-approval. We could not confirm that cadence from Apple's documentation, so treat it as user-reported. Even by those reports, a prompt every few minutes with the switch already on is not the normal pattern, and we don't know the cause.

SituationWhat you seeWhat to do
Periodic re-approval (user-reported)Prompt appears occasionallyClick Allow
Wrong app enabledPrompt names an app that is off in SettingsEnable the named app, relaunch it
Stale permission entry (unconfirmed)Prompt repeats with the switch onReset and re-grant
Capture method (unconfirmed)Prompt lines up with script capturesCapture less often, compare against screencapture

Step-by-step fixes

1. Check that the right app has permission

  1. Open System Settings > Privacy & Security > Screen & System Audio Recording.
  2. Find the app named in the prompt and make sure its switch is on.
  3. Quit that app completely with ⌘Q and open it again. macOS often applies the change only after a relaunch.
  4. Run the script again.

If the prompt names a different app than the one you enabled (an editor, a launcher, a wrapper), enable that one instead. A script started by another program is attributed to that program.

2. Run the same script from a different app

This is a diagnostic step, not a known fix. Run the script once from the built-in Terminal app and approve the prompt there. If the prompt stops repeating, the problem is specific to the app you used before. If it keeps coming back, look at the script and the library it uses to capture the screen.

3. Reset the permission and grant it again

This matches the reported case, though that poster says a reset alone didn't help. The possible cause, unconfirmed, is a stale permission entry that macOS isn't matching to the app.

Quit iTerm, then run this in another terminal app such as Terminal:

bash
tccutil reset ScreenCapture com.googlecode.iterm2

This clears the Screen Recording permission for iTerm only. To undo it, grant the permission again: run your script, approve the prompt once, then quit and reopen iTerm. For a different app, replace the bundle ID with that app's.

4. Look at how the script captures the screen

The prompt is about apps capturing the screen directly, so the capture method your library uses may matter. We can't confirm that from the report. Two things to test, one at a time:

  • Capture less often. If the script grabs the screen in a tight loop, capture only when it needs to.
  • Compare against the built-in command. screencapture -x capture.png saves a screenshot silently. It needs the same Screen Recording permission, so it is not a way around the prompt, but it is a simpler capture path to compare against your library's.

Checklist before you try again

  • The app named in the prompt is on in Screen & System Audio Recording.
  • You quit and reopened that app after changing the switch.
  • You know which app actually launches the script.
  • macOS is up to date (search Software Update in System Settings).
  • If the Mac is managed by an employer or school, an administrator hasn't locked the permission.

If nothing works

Contact Apple through Feedback Assistant or Apple Support. If it only happens with one terminal app, also send it to that app's developer. Include:

  • Your macOS version (the report above was on 15.7.4) and the app's version.
  • The full prompt text, word for word.
  • That Screen Recording is on for the app, and that you tried tccutil reset ScreenCapture.
  • How often the prompt appears, and whether it lines up with the script's captures.
  • How your script captures the screen (library or command).

Here is a support message you can copy and fill in:

text
Subject: Screen recording prompt repeats every few minutes on macOS Sequoia

Hello,

On macOS Sequoia, a script run from iTerm2 triggers this prompt every few
minutes: "iTerm" is requesting to bypass the system private window picker
and directly access your screen and audio.

Screen & System Audio Recording is already enabled for iTerm.
What I tried: tccutil reset ScreenCapture com.googlecode.iterm2,
relaunching iTerm, and packaging the script as an app bundle.
macOS version: (your version)
The script captures the screen with: (library or command)
Prompt frequency: about every (N) minutes

Can you tell me whether this is expected, and how to stop the repeated prompt?

Where Pixfinch fits

Pixfinch doesn't fix this prompt and can't replace the mouse and keyboard side of a PyAutoGUI script. If your script only exists to take screenshots, Pixfinch can do that through its automation options, but it needs the same Screen Recording approval, and we haven't verified how Sequoia's re-approval prompt behaves with it. See Pixfinch permissions for how it asks.

For other capture problems, see Mac screenshots not working.

Common questions

Does allowing the prompt approve Python or only iTerm?

Only the app named in the prompt. In the reported case that was iTerm, not Python.

Is the prompt a sign of malware?

Not by itself. It appears when an app you launched asks for direct capture. If you didn't start anything that captures the screen, deny it and check what is running.

Can I turn the prompt off?

We don't know of a supported setting that removes it. Approving the app is the normal route, and managed Macs may be controlled by an administrator.

Why does it come back after I approved it?

Users report that Sequoia re-asks for approved apps periodically, though Apple's exact schedule isn't something we could confirm. Every few minutes is far more often than people describe, which is why the report is worth sending to Apple.

Every app.
One purchase.