Skip to main content
Cisco Meraki Documentation

Uninstalling Systems Manager and Removing Managed Devices

To un-enroll a managed device from Systems Manager, the SM agent needs to be uninstalled from the device and removed from Dashboard. This article will detail how to remove the SM agent from each device type, as well as from the Dashboard.

Uninstalling Systems Manager from the Client Device

In order for a device to be fully disassociated with a Systems Manager network, the SM agent needs to be removed from the client itself. The following sections detail how to uninstall this application for each major platform.

Windows

Note: These instructions may differ based on the version of Windows used. For the most accurate instructions on removing a program, please refer to Microsoft Support.

If a Windows 10 management profile is installed, it can be removed from Windows Settings > Accounts > Work Access.

 

To uninstall the Systems Manager agent, use the Windows installer available under Systems Manager > Manage > Add Devices in Dashboard. If the installer is not available, the following steps may suffice:

  1. On the device, navigate to Control Panel > Programs and Features.
  2. Find the Meraki Systems Manager Agent in the list of programs, right-click and select Uninstall to remove from your system.

 

If you're unable to remove the agent through the programs list, the commands below can be used to remove the Systems Manager agent software.

Windows Systems Manager agent < 3.1.x removal via command line

Run the following commands via command prompt with administrator privilege. Note, the following commands involve registry edits which contain risk. 

sc stop MerakiPCCAgent
sc stop MerakiVNCService

sc delete MerakiPCCAgent
sc delete MerakiVNCService
rd /s /q "C:\Program Files (x86)\Meraki\"
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Meraki /f

Windows Systems Manager agent > 3.1.x removal via command line

Using command prompt, the following command can be run with elevated administrator privilege. If successful, a "ReturnValue" of "0" will be displayed.

wmic product where name="Meraki Systems Manager Agent" call uninstall

Using PowerShell, the following set of commands can be used with administrator privilege. If successful, a "ReturnValue" of "0" will be displayed.

$app = Get-WmiObject -Class Win32_Product -Filter "Name = 'Meraki Systems Manager Agent'"
$app.Uninstall()

If a return value other than "0" is displayed the uninstallation attempt failed. ReturnValue of 1603, for instance may be returned if the prompt is not running with elevated Administrator privileges.

macOS

  1. To delete the agent: on the Mac, download our uninstaller from Dashboard by navigating to Systems Manager > Manage > Add Device > macOS. Extract this download and run the application to remove Systems Manager from the device.
  2. To delete the profile: on the Mac, open System Settings > Privacy & Security > Profiles, select the Meraki Management profile and use the subtract button to remove. Older MacOS systems ( < MacOS 13) will need to navigate to System Preferences > Profiles, which will only be shown if at least one configuration profile is installed on the device.

If the device has been enrolled via ADE the configuration may prevent management profile removal. To remove management or re-enroll an MacOS device, update the ADE settings in Dashboard to the desired configuration, then factory reset the device. To remove a device from management long term or permanently, release it from ADE via Dashboard or the Apple School Manager / Apple Business Manager portal.

Removing macOS with ADE Profiles 'removable' option set to disabled without factory resetting the device:

1. Navigate on dashboard to SM > Manage > ADE

2. Select the device checkbox and select assign settings

3. Create a new or assign an existing ADE profile for the device with the removable option enabled (found on page 2 of the profile)

3. run the command "sudo profiles renew -type enrollment" (this command allows to re-enroll in ADE without factory resetting the device)

4. remove the profile from System preferences

If you no longer have physical access to the device and need to remove the agent, remote commands similar to the following may be used. Please note you are deleting files and executing commands at your risk.

launchctl unload /Library/LaunchDaemons/com.meraki.agentd.plist
rm -f /Library/Application Support/Meraki/m_agent /Library/Application Support/Meraki/m_agent_upgrade
rm -rf '/Library/Application Support/Meraki/'
rm -f /Library/LaunchDaemons/com.meraki.agentd.plist

Android 

Uninstallation steps for Android devices vary slightly by model and OS version, as well as the original enrollment method.

  • If the device was enrolled into device owner mode, it can only be unenrolled by factory resetting the device. Note that there is a restriction in Systems Manager > Manage > Settings > More Android that can prevent factory reset on the device. If this restriction is applied, the device can only have the profile completely removed if the device is factory reset through android recovery mode.
  • If the device was enrolled with a work profile, first launch the Systems Manager app and remove the work profile from the 'configuration' tab. This will remove the work container and all associated work profile settings and apps.

 

For KNOX and work profile enrollments, continue with the following steps:

  1. Navigate on the device to Settings > Security > Device Administrators.
  2. Select Meraki Systems Manager, then select Deactivate to remove administrative privileges from Systems Manager.
  3. Navigate to Settings > Applications > Manage Applications or Settings > Apps. If the app is currently running, stop the process first.
  4. Select Systems Manager, then Uninstall to remove the app from the device.

iOS/iPadOS

Non ADE enrolled devices

For devices that were enrolled via manual profile installation, the profile can be removed via the UI on the device, or via SM if the device is actively checking in.

UI removal of enrollment profile

  1. On the device, navigate to Settings > General > Device Management.

  2. Select Meraki Management, and select Remove to delete the management profile and any managed configuration profiles installed via SM. 

MDM removal of enrollment profile

  1. On dashboard, navigate to Systems Manager > Device.
  2. Select the device(s) that the management profile should be removed from.
  3. Select the command option, then unenroll device to trigger an MDM command be sent to the device to remove the enrollment profile. Note: the 'unenroll device' command is only supported on iOS/iPadOS.

ADE enrolled devices (Apple business manager / Apple school manager)

If the device has been enrolled via ADE the configuration may prevent management profile removal. To ensure all management is removed on an iOS/iPadOS device:

  1. Navigate to Systems Manager > ADE
  2. Select the device(s) that should be released from management.
  3. Select the Remove Settings button to remove the profile settings from the device (ADE status should now show 'Empty').
  4. Select the Remove Device button to remove the device(s) from the dashboard device list (this does not remove the device from ADE. To remove devices from ADE you need to remove them from ASM/ABM website).
  5. Factory reset the device.
  6. Once reset, the device will not prompt for remote management.

 

Migrating to a different MDM solution or Apple Profile enrollment

  1. In Systems Manager > Manage > ADE, select a device, Device Settings should be selected and removed. 
  2. In Systems Manager > Monitor > Devices, select the device and select Erase device (this will push a factory reset to the device).
  3. Go back to Systems Manager > Manage > ADE  and Remove Device from ADE but do not hit Sync during this process.
  4. Go to Apple Business Manager and remove the device from Apple Business Manager being sure to not allow Dashboard to Sync.
  5. This will then allow the device to be removed and re-enrolled with another MDM solution.

Deprovisioning ChromeOS Devices

  1. In the Google admin console navigate to Devices > Chrome > Devices
  2. Select the box next to the ChromeOS device.
  3. Click Deprovision

Chrome_OS_Deprovision.png

Chrome_OS_Deprovision_2.png

Note: Once a ChromeOS device is deprovisioned, it must be wiped before it can be re-enrolled again. Refer to Google's Wipe ChromeOS device data documentation for additional info.

Removing a Device from a Systems Manager Network

  1. Log in to Dashboard, and select the appropriate SM network.
  2. Navigate to Systems manager > Monitor > Devices
  3. Mark the checkbox for each device to remove.
  4. At the top of the Client list, select Edit > Remove from this Network

 

Removing device from the network

Impact of Device Removal

Solely removing a device from the Systems Manager Dashboard network will not have any immediate impact on the device, except prevent further MDM management until the device is re-enrolled. Any apps or profiles that are already pushed to a device will remain active will remain on the device.

 

To completely remove a device, be sure to follow the previous steps in this article to remove associated settings and apps from the device. You may also want to use selective wipe on a device if it will be allocated for a different purpose and existing managed profiles/apps should be removed.