Toggle Samba file sharing automatically
Requires macOS Big Sur 11.0 or later
Last Dance solves a persistent macOS bug where SMB file sharing becomes unresponsive after restart. Install and run this app, and never worry about the state of file sharing ever again.
The app works by automatically disabling file sharing before your Mac shuts down or restarts, then re-enabling it when you log back in.
-
Automatic FixToggles file sharing before shutdown and at login
-
Menu BarRuns quietly with status icon showing current state
-
One-Time SetupAuthorise once and forget about it forever
The Problem
macOS has a known bug where SMB file sharing can stop working properly after a restart. Other devices on your network lose the ability to connect to your Mac’s shared folders, requiring manual intervention to fix.
The Solution
Last Dance automates the fix: it watches for system shutdown and restart events, disables file sharing before the system goes down, and re-enables it at login. The workaround happens automatically in the background.
Menu Bar Status
- Folder icon shows current file sharing state:
- Person badge when sharing is enabled
- Minus badge when sharing is disabled
- Question mark badge when busy
Secure Implementation
- Uses Apple’s SMJobBless for privileged helper installation
- XPC communication for secure privilege escalation
- Hardened runtime enabled
- One-time administrator authorisation required
Simple Setup
- Launch Last Dance
- Authorise the privileged helper when prompted
- The app starts automatically at login
- That’s it—SMB issues are fixed forever
Optimised
- Less than 1 MB app file size
- Less than 25 MB base memory footprint