> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# System services

> Turn off the sharing services, Bonjour advertising and built-in network servers of your Macs.

The System services control turns off the services a Mac shouldn't offer to the network: screen, printer, Internet and Bluetooth sharing, Remote Management, Remote Apple Events, Bonjour advertising, and the built-in web, NFS, TFTP and UUCP servers.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **System services**, then click **Add configuration**.

**2. Choose the services to turn off**

Turn on the toggle of each service you want to turn off. See the settings below. Turn off at least one service.

**3. Select targeting**

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A service whose toggle is off isn't touched: the Mac keeps it as it is.

## Settings

| Setting | What it does on the Mac |
| - | - |
| **Turn off Screen Sharing** | Stops screen sharing and keeps it from starting again. |
| **Turn off Remote Management** | Turns off Remote Management (Apple Remote Desktop), when it's on. |
| **Turn off Remote Apple Events** | Stops Remote Apple Events. |
| **Turn off Internet Sharing** | Stops Internet Sharing. |
| **Turn off Printer Sharing** | Stops sharing the Mac's printers. |
| **Turn off Bluetooth Sharing** | Turns off Bluetooth Sharing for each user of the Mac. |
| **Turn off Bonjour advertising** | Stops the Mac from advertising its services on the local network. |
| **Turn off the built-in web server** | Stops the built-in Apache web server. |
| **Turn off the NFS server** | Stops the NFS file server. |
| **Turn off the TFTP server** | Stops the TFTP server. |
| **Turn off the UUCP service** | Stops the UUCP service. |

## How it works

Primo runs a script on each Mac and checks the result with a policy. Before it turns a service off, the script records how the Mac had it. A service is stopped and kept from starting again at the next restart.

When you remove the configuration, or replace it with one that no longer turns a service off, Primo puts that service back as the Mac had it.

> [!WARNING]
>
> On a Mac where Remote Management is on, Remote Management also serves screen
> sharing. **Turn off Remote Management** then turns screen sharing off too, and
> removing the configuration doesn't turn it back on. On a Mac without Remote
> Management, **Turn off Remote Management** leaves Screen Sharing as it is.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace the configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [SSH server](https://docs.getprimo.com/mdm/policies/ssh-server.md)
* [Firewall](https://docs.getprimo.com/mdm/policies/firewall.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.