Installation account permissions issue

Before you begin

Error messages can appear when you attempt to install DC Agent using an account that does not have domain and local administrator privileges. As a result, some of the required DC Agent files are not installed properly, and the service cannot run.

Typically, one of the following error messages is displayed:

Error Code 997

Could not configure DC Agent (Code 3)

To correct this issue, manually remove the failed installation and reinstall the service:

Steps

  1. Log on to the DC Agent machine with domain and local administrator privileges.
  2. Open a command prompt (Start > Run > cmd) or the Windows Powershell.
  3. Navigate to the web protection bin directory (C:\Program Files\Websense\Web Security\bin, by default).
  4. Use the following command to manually uninstall the DC Agent service:
    XidDcAgent.exe -u
    A status message verifies that the service was successfully removed.
  5. Use the following command to manually reinstall and register the DC Agent service:
    XidDcAgent.exe -i
    A status message verifies that the service was successfully installed.
  6. Use the Windows Services tool to start the Websense DC Agent service.

Next steps

If the service is running correctly, after a few minutes, a dc_config.txt file is created in the bin directory.