Jump to content
Andy Raybould

Removing agent

Recommended Posts

Hi.

I've been trying to remove an agent from my account because my client replaced their PC. I have removed it from the Configuration section in the Web App and tried from the Dashboard but when my client switched their old PC back on the agent then registers itself and I get the warning email that I have too many Systems on my account.

Apart from trying when the PC is switched on, is there a way to remove from my account?

Regards, Andy

Share this post


Link to post
Share on other sites

Hi Andy,

Please run this script on the system from which you want to remove the Pulseway, it will uninstall the agent and delete the configuration for it.

try
{
    $result = gwmi win32_product -filter "Name LIKE 'Pulseway'" | select IdentifyingNumber;
    [string] $a = $result.identifyingNumber;
    msiexec.exe /X $a /qn
    Remove-Item -Path "HKLM:\SOFTWARE\MMSOFT Design" -Recurse
    Write-Host "Uninstallation completed successfully"
}
catch
{
  Write-Host "Uninstallation failed"
  Break
}

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×