Uninstall cnspec
Remove cnspec from a Debian-based Linux machine
-
Log out the cnspec client from the back end:
cnspec logout --force
-
Uninstall the package:
apt remove mondoo
apt autoremove -
Remove the repository:
rm /usr/share/keyrings/mondoo-archive-keyring.gpg
rm /etc/apt/sources.list.d/mondoo.list
Remove cnspec from a Red Hat-based Linux machine
-
Log out the cnspec client from the back end:
cnspec logout --force
-
Uninstall the package:
dnf remove mondoo
-
Remove the repository:
rm /etc/yum.repos.d/mondoo.repo
Remove cnspec from a Windows machine
-
Log out the cnspec client from the back end:
cnspec logout --force
-
Remove the MondooUpdater task:
Unregister-ScheduledTask -TaskName MondooUpdater -Confirm:$false;
$scheduleObject = New-Object -ComObject Schedule.Service; $scheduleObject.connect(); $rootFolder = $scheduleObject.GetFolder("\"); $rootFolder.DeleteFolder("Mondoo",$null) -
Uninstall the Mondoo MSI package:
$app = Get-WmiObject -Class Win32_Product -Filter "Name = 'Mondoo'";$app.Uninstall();rm 'C:\Program Files\Mondoo\';rm 'C:\ProgramData\Mondoo\';
Remove cnspec from a macOS machine
-
Log out the cnspec client from the back end:
cnspec logout --force
-
Remove cnspec using your preferred package manager, such as Homebrew or Nix.