The KACE SMA Trial includes a utility for uninstalling. However, if the SMA license has expired, manually uninstall the SMA agent using this method.
If the SMA trial is active, uninstall the KACE agent through Advanced Provisioning.
A KScript can be created containing the command from this method