Agents do not get uninstalled despite uninstalling Remote Access Plus Application
Problem
Agents remain uninstalled in client computers, although you have uninstalled the Remote Access Plus Server.
Cause
You may encounter this problem if,
- Agents are not uninstalled from the managed computers in SoM before product uninstallation.
- Agent uninstallation message notification was ignored while uninstalling Remote Access Plus.
- You have not uninstalled the agenst from the remote office computers, manually.
Resolution
It is always advisable to remove agents from the managed computers in SoM before uninstalling the product. If by mistake, you have removed the product without uninstalling the agents, follow the steps below to uninstall the agents:
For Workgroup Set Up
- Download the script UnInstallDCAgent.txt
- Rename it to UnInstallDCAgent.vbs
- Run the script in all the client computers from the command prompt: CSCRIPT UnInstallDCAgent.vbs
For Active Directory Set Up
If you have a Windows Active Directory setup,
- Download the script UnInstallDCAgent.txt
- Rename it to UnInstallDCAgent.vbs.
Note: You should perform the following steps in the Domain Controller. For the script to execute successfully, the file association of .vbs files should be set to "Microsoft Windows (r) Based Script Host" in all the client computers. If this has been modified to some text editor, the scripts will not execute.
- Start -> Run -> gpmc.msc
- Right-click the domain and select Create and Link a GPO here.
- Specify a name for the GPO
- Select the GPO from the tree. Ensure that the Scope tab --> Security Filtering has the Authenticated Users group added.
- Right-click the GPO and select Edit.
- Expand Computer Configuration --> Windows Settings --> Scripts.
- Right-click Startup and select Properties.
- Click Show Files and drag and drop the UnInstallDCAgent.vbs to this location and close.
- In the Startup Properties dialog, click Add.
- Browse to select the UnInstallDCAgent.vbs script.
- Click OK to close the Add a Script dialog
- Click OK to close the Startup Properties dialog
- Close the Group Policy Object Editor
- Close the Group Policy Management dialog.