Jump to content

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

Link to post
Share on other sites
  • Staff

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
}

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...