Skip to content

Uninstalling Agents

You cannot uninstall agents through the installation wizard. Instead, use one of the following methods:

Uninstalling agents via command line

  1. Stop the VDog CompareAgent and VDog UploadAgent agent services.
  2. Open the Command Prompt as an administrator.
    1. To delete the VDog CompareAgent service, run: SCDelete: sc delete "vdog compareagent".
    2. To delete the VDog UploadAgent service, run: SCDelete: sc delete "vdog uploadagent".
  3. Delete the following directories:

    • ...\vdAgentArchive
    • C:\Program Files (x86)\vdogAgents

Uninstalling agents via BAT script

  1. Copy the script below into a .bat file.
    Update the directory paths if your installation uses different locations.

    REM Stopping the agent services
    net stop "VDog CompareAgent"
    net stop "VDog UploadAgent"
    
    timeout 1 /nobreak
    
    REM Deleting the agent services
    sc delete "VDog CompareAgent"
    sc delete "VDog UploadAgent"
    
    timeout 1 /nobreak
    
    REM Deleting the agent directories
    rd "C:\Program Files (x86)\vdogAgents" /s /q
    rd "D:\vdAgentArchive" /s /q
    

    Info

    To ensure that both the installation directory and the AgentArchive are deleted, adjust the paths under REM Deleting the agent directories to match your specific agent installation.

  2. Save the file and run it as an administrator.