Update and uninstall
How scanner updates work, and how to remove the scanner from an endpoint.
Updating
There are two ways an endpoint gets a new scanner version.
Through your MDM. Push the new package with the same policy you used to install. The installer stops the running service, upgrades in place, and keeps the enrollment. This is the normal path.
On the endpoint.
sudo surface update --check # show current and latest version
sudo surface update # download, verify, install, restart
Updates are signed and checked before they install. A failed update rolls back to the previous version.
Uninstalling
sudo /opt/surface/bin/uninstall.sh --forceOr, without the package: curl -fsSL https://superalign.ai/surface/releases/uninstall.sh | sudo sh
msiexec /x {ProductCode} /qn /norestartOr Add/Remove Programs, or irm https://superalign.ai/surface/releases/uninstall.ps1 | iex.
sudo apt remove surfacesudo dnf remove surfaceUninstall deregisters the endpoint first, then stops and removes the service and tray, the binaries, the credentials, and the MDM setting. On Linux the package manager keeps /var/lib/surface; delete it by hand for a full clean-up.
Options for the scripts: --keep-data keeps scan data (credentials are still deleted), --force skips the confirmation.
The endpoint in the console
The console has no way to delete an endpoint. An endpoint leaves when the scanner on it deregisters, which uninstall does first.
- Uninstalled while online. The endpoint shows Deregistered on Endpoints and can no longer report. Its assets and sessions stay for history.
- Wiped, lost, or uninstalled while offline. The scanner could not deregister. The endpoint stays on Endpoints and shows Stale.
Related
- MDM for pushing a new version through your policy
- Troubleshooting