Direct answer
You do. The platform only pre-configures permissions for the remote-control software. An agent you install later needs you to turn it on by hand, over remote desktop, under Privacy & Security in System Settings. No command can do this step for you.
Basis
- macOS designs these permissions so that they must be confirmed by a person sitting at the screen. The built-in
tccutilcan only reset permissions, not grant them. When you operate over remote desktop, you are that person at the screen. - Each of the three covers its own thing: Accessibility covers simulated keyboard and mouse, Screen Recording covers reading the picture, and Automation covers one program directing another (for example a script controlling a browser or Messages). The Automation prompt comes in pairs of who controls whom, so changing the controlled app means being asked again.
- What device management configuration can do is limited as well: according to Apple's deployment documentation, the screen recording item in the privacy preferences policy is for denying, not for clicking allow on the user's behalf (see the Apple deployment guide, checked 2026-11-12). So do not expect the platform to switch it all on in the background in one go.
- A permission is recorded against a specific program. For an agent started from a terminal, the system asks about the terminal program. After a tool update, if the program's signature or path has changed, you may need to grant it again.
Boundaries: when the answer is different
Doing it yourself only covers the programs you install. Do not turn off or delete the existing entries for UU Remote and RustDesk, and do not run commands that reset permissions, or you may lock yourself out. A switch that is greyed out, a click that does not take effect, or a newer system asking about screen recording again after a while are system behaviours that differ by version; go by the actual interface on your machine. If you cannot resolve it yourself, describe the symptoms to support. They can help take a look, but entering your desktop requires your consent.
How to do it
- Connect to the machine over remote desktop, start the agent, and let it attempt one action that needs permission.
- Follow the prompt to System Settings, or open Privacy & Security by hand.
- Go into each of the three lists, Accessibility, Screen & System Audio Recording and Automation, and turn on the matching entry.
- Quit and reopen the agent (or the terminal it runs in). Do not restart the remote-control software.
- Note which programs you granted and on what date, and come back to check after a tool upgrade.
Related questions
- Mac mini for 24/7 AI agents? Only worth it when the agent needs a desktop or macOS apps
- Can an AI agent control the screen and browser on a rented Mac?
- Can I automate iMessage and AppleScript on a rented Mac mini?
- My AI agent is stuck on a macOS system dialog. What should I do?
- How much permission should I give an AI agent on a rented Mac mini?
Use case
This question belongs to the use case: Mac mini for 24/7 AI agents? Only worth it when the agent needs a desktop or macOS apps
Other questions in the same use case:
- Can I install software that needs a system or kernel extension on a rented Mac mini?
- Hourly or daily cloud Mac instead of a monthly Mac mini rental for AI agents?
- Can a model vendor's cloud sessions run my long AI coding tasks instead of my own machine?
- Do I really need a Mac mini to run an agent like OpenClaw, or is a VPS enough?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support