Automated Uninstall
To uninstall the Level agent, find the agent on the Device List page, choose the three dots at the right of the row, and choose Delete. The target device will uninstall Level automatically within 5 minutes. If the device is currently offline, the uninstall command will be sent when the device comes online again.
Deleting an agent will uninstall Level on the target computer If a device is deleted, the agent will need to be re-installed in order for it to show up in the device list again.
Manual Uninstall
To manually uninstall the Level agent from a device, open a command shell with admin privileges. Run the uninstall command that matches the operating system on the device.
Windows
& 'C:\Program Files\Level\level.exe' --action uninstall
Mac
/usr/local/bin/level --action uninstall
Linux
/usr/local/bin/level --action uninstall
Uninstall Script for Windows
Save this Powershell script as a .ps1 file and run it in an admin shell:
#Requires -RunAsAdministrator & 'C:\Program Files\Level\level.exe' --action uninstall ps level -erroraction SilentlyContinue | Wait-Process Level -Timeout 20 ; Remove-Item 'C:\Program Files\Level' -Recurse
"Level is already installed" error when attempting to install
We have seen some cases where Level wasn't uninstalled cleanly, and an attempted reinstall states that Level is already installed. In these cases the Level service may need to be manually deleted which can be done with the following command:
sc.exe delete "Level"
Once the service is deleted then attempt to reinstall Level.