Docs · Managed Macs (MDM)

Managed Macs (MDM)

For organizations that manage their Macs with Jamf, Intune, Kandji, Mosyle or a similar tool. You deploy one package and two configuration profiles; each Mac then installs ProofStream, enrolls itself and starts recording, with nobody signing in, pasting a token, typing a password or opening System Settings.

On one Mac, or a few, the ordinary Mac app is simpler.

What you deploy

All three are on Download, under Files:

FileWhat it does
ProofStream.pkgInstalls ProofStream into Applications and the background collector for the whole Mac. Signed and notarized
ProofStream-permissions.mobileconfigGives the collector Full Disk Access and lets it run in the background, so no one has to allow either by hand
ProofStream-enrollment.mobileconfigCarries your enrollment token. You put the token in before uploading it

The order doesn't matter. A Mac that has the package but no token yet waits and checks every 30 seconds; one without the permissions profile waits for the access and starts by itself when it arrives.

Requirements: macOS 13 or later, and Macs enrolled in your MDM (the permissions profile is refused by macOS unless an MDM installs it).

Steps

  1. In the console, open Manage → Machines and Generate enrollment token. Give it a label that names the rollout and a validity that covers it. Copy the token (it starts with pse1.).
  2. Open ProofStream-enrollment.mobileconfig in a text editor and replace REPLACE-WITH-ENROLLMENT-TOKEN with the token. Save.
  3. In your MDM, add both .mobileconfig files as custom configuration profiles and ProofStream.pkg as a package, and assign all three to the same Macs.
  4. Within a few minutes of the install, each Mac appears on Fleet.

Where that is in common tools:

  • Jamf Pro: Computers → Configuration Profiles → Upload for each profile; Settings → Packages for the package, then a Policy that installs it.
  • Jamf Now, Mosyle, Kandji: Custom Profile (or Custom Profiles library item) for each profile; Custom App / Custom Package for the package.
  • Intune: Devices → macOS → Configuration → Templates → Custom for each profile (deployment channel: device); Apps → macOS → macOS app (PKG) for the package.

Behind a proxy

Where the Macs reach the internet only through a proxy, add it to ProofStream-enrollment.mobileconfig, beside the token (the file's comment shows where):

<key>HTTPSProxy</key>
<string>http://proxy.example.com:3128</string>

The collector connects through it from then on, and picks up a change within five minutes. A proxy that wants a user name and password takes them as http://user:password@proxy.example.com:3128; like the token, anyone with an account on the Mac can read it. Keep the profile installed for as long as the proxy is needed. More in Download → Network.

The token as a file instead

If you'd rather not put the token in a profile, have your tool write it to a file as root, before or after the package:

umask 077
mkdir -p "/Library/Application Support/ProofStream/Data"
printf '%s' 'pse1....' > "/Library/Application Support/ProofStream/Data/enrollment-token"

The collector deletes the file once it has enrolled.

What people see on their Mac

ProofStream is in Applications, and its icon is in the menu bar of everyone who signs in. It says where the Mac stands, and that it is managed by your organization:

It saysMeaning
CapturingRecording and uploading
Capturing · uploads pausedRecording, but nothing goes out: offline, the Mac was deactivated in the console, or the organization's subscription ended. It says which
Waiting to be enrolledInstalled; no token has arrived yet
Needs Full Disk AccessThe permissions profile isn't on this Mac yet
Collector not runningThe collector was removed or stopped by your management tool

There is no enrollment window, no Start or Stop and no password prompt on a managed Mac. The collector runs whether or not the app is open, and whether or not anyone is signed in. Quitting the icon stops nothing; it is back at the next sign-in.

Without the menu bar icon

The icon is there so that people can see their Mac is monitored. To roll out without it, change ShowMenuBarIcon in ProofStream-enrollment.mobileconfig from <true/> to <false/> before uploading. The icon stays away for as long as a profile with that setting is installed, so keep the profile on the Macs (you can delete the two EnrollmentToken lines from it once they have enrolled). Anyone can still open ProofStream from Applications and see the same information.

If the package reaches a Mac before the profile, the icon shows for a few seconds and then goes. Switching the setting back to true brings the icon back at the next sign-in.

Updating, removing

  • Update: deploy the newer ProofStream.pkg. The Mac keeps its identity, so it stays the same machine in the console; the permission stays too.

  • Remove: run this as root from your tool, then remove the profiles:

    bash "/Applications/ProofStream.app/Contents/Resources/install_helper.sh" uninstall --app
    

    It stops the collector and deletes the app, the menu bar's login item, the collector and its data on the Mac. What was uploaded stays in the console; archive the machine there (Manage → Machines).

A Mac that already has ProofStream

A Mac where someone installed the app by hand and enrolled it is enrolled again by the package, as a managed Mac, with a new identity. Its history from then on is on a new card, with your rollout token's Fleet label; the old card keeps what was uploaded before and stops reporting. From the package after 1.0.9 the new identity replaces the old one when both are in the same organization and region: the Mac counts as one machine, and the old card is archived and shows as replaced in Manage → Machines. The package reads that account's enrollment as the account, keeps it for the managed collector's first enrollment only, and takes nothing else from it, not even the server address. With an earlier package, or another organization's or region's token, the Mac becomes a new machine with the same name: both cards show the start of their id after the name, for example lab-mac01 (a3f9c2); archive the old one in Manage → Machines.

From then on that account can no longer start, stop or re-enroll the collector; the app shows the managed view.

A Mac that runs the product under its earlier name has it removed by the package: its collector, menu bar app and settings. Nothing carries over; the Mac enrolls with your token as a new machine. If the package can't delete every old file, it says so in the install log (/var/log/install.log) and finishes anyway (from 1.0.1; the 1.0.0 package stopped with an error there: deploy 1.0.1 again).

Where things are

The app/Applications/ProofStream.app
The collector/Library/Application Support/ProofStream/ProofStream Collector.app
Its data/Library/Application Support/ProofStream/Data. What it records is readable by root only; two small files there (device.json, status.json: which device, and whether it's running) are readable by everyone, for the app
Log/Library/Application Support/ProofStream/Data/collector.log
Background servicecom.proof-stream.collector (sudo launchctl print system/com.proof-stream.collector)

Trying it on one Mac without an MDM

Everything except the permissions profile can be tried by hand:

sudo installer -pkg ProofStream.pkg -target /
sudo sh -c 'umask 077; printf "%s" "pse1...." > "/Library/Application Support/ProofStream/Data/enrollment-token"'

Then allow Full Disk Access yourself: System Settings → Privacy & Security → Full Disk Access, +, choose ProofStream from Applications. The Mac appears on Fleet a few minutes later.

Edge cases

  • Stuck on "Waiting to be enrolled": the token didn't arrive or isn't accepted. The last lines of the log say which: no token found; something there that isn't a token (the REPLACE-WITH-ENROLLMENT-TOKEN placeholder left in, a typo); or the reason the server gave (expired, revoked, wrong). A refused token is tried again after 5 minutes, then at growing intervals up to an hour, so fixing the profile is enough.
  • Deactivating a managed Mac in the console stops its uploads; the app then says uploads paused. It does not enroll itself again, even while the token is still deployed. To bring it back, reactivate it in the console. To stop recording on the Mac, remove the package.
  • Stuck on "Needs Full Disk Access": the permissions profile isn't installed, or was installed by hand rather than by the MDM (macOS ignores its privacy part then). Check System Settings → General → Device Management.
  • The token is readable on the Mac while the enrollment profile is installed: any account can read a managed setting. Use a token made for the rollout, and revoke it in the console when the rollout is done. Removing the profile after the Macs have enrolled is fine; they don't need it again.
  • Reinstalling the package never creates a second machine: a Mac that has an identity keeps it.
  • A wiped or replaced Mac enrolls as a new machine. Archive the old one.
  • A Mac set up from another Mac's backup or disk image brings that Mac's enrollment. From the collector after 1.0.9 it notices when it starts and enrolls itself as a new machine with the profile's token (or the token file); a token that arrives later is picked up within the hour. Until then it records but uploads nothing, and the app says uploads paused because the enrollment was copied from another Mac. The Mac it came from is not affected.
  • Several people use one Mac: it is one machine in the console, and records everyone's activity, as on Windows and Linux.
  • A token left in someone's own ProofStream settings is ignored on a managed Mac: only the managed token counts.
  • "Background Items Added" does not appear when the permissions profile is on the Mac before or with the package. If the package arrives first, macOS may show it once.
  • Macs before macOS 13 aren't supported.
  • Behind a proxy, "Waiting to be enrolled" stays with a connection error in the log: the profile has no HTTPSProxy, or the proxy isn't one the collector can use (the log says network: not using … and why). See Behind a proxy.

This is the help built into the ProofStream console, as it is in the latest release. Something missing? Ask us.