Uninstalling the PDQ Connect Agent

Deleting Devices

To delete a device from PDQ Connect, navigate to that device's Device Info page, click the vertical ellipses button in the top right, and select Delete device

Note: Devices that are online at the time they are deleted from PDQ Connect will be sent a self-destruct command to uninstall the PDQ Connect Agent and remove the associated data from the deleted computer. If a device is offline at the time it is removed from Connect, the agent and associated data will be deleted the next time that machine comes online.

If the PDQ Connect Agent is not removed automatically after deleting a device from PDQ Connect, the PDQ Connect Agent and the associated data will need to be manually removed from the device. 

Manually Uninstalling

Occasionally, the PDQ Connect Agent may need to be manually uninstalled. Most often because the device was offline at the time it was deleted from PDQ Connect and was unable to receive the self destruct command that automatically triggers an uninstall. 

Uninstalling From the Control Panel

On the computer you wish to remove the PDQ Connect Agent from, open the Control Panel > Programs & Features > select the PDQ Connect Agent > Uninstall. 

Uninstalling Using PowerShell

Copy the script below into PowerShell ISE, save it as a .ps1 file, and run the script as an administrator on the machine you wish to uninstall the PDQ Connect Agent from. 

$PDQConnectAgent = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -eq "PDQConnectAgent"}

$PDQConnectAgent.Uninstall()

Note: This script can also be pasted into a PDQ Deploy Package, using a PowerShell Step. 

Uninstalling Using PDQ Deploy

  • To uninstall the PDQ Connect Agent using PDQ Deploy, create a new package with an Install Step

 

  • Select the PDQ Connect Agent MSI installer for the Install File

 

  • In the MSI Options Field, select Operation: Uninstall

 

  • Deploy the package to any computers you wish to remove the PDQ Connect Agent from. 

 

Removing Lingering Data

When the PDQ Connect Agent is uninstalled using any of the above methods, the uninstaller will delete the directories that may contain any lingering data. In some rare cases, this data may remain on the device, and can be manually removed. 

The directories that will be removed while uninstalling the PDQ Connect Agent are: 

C:\ProgramData\PDQ\PDQConnectAgent
C:\Program Files\PDQ\PDQConnectAgent

If these directories are present after uninstalling the PDQ Connect Agent, they can be safely deleted. 

Note: Manually uninstalling the PDQ Connect Agent, without first deleting the device from PDQ Connect, will not delete the device from PDQ Connect and it will simply appear Offline. The device will still need to be deleted in the PDQ Connect Admin Web Console. 

Still have a question or want to share what you have learned? Visit our Community to get help and collaborate with others.