Running services using another account

Running windows service using another account

It is possible to run your ConnectPlaza Service under a different account. If you have used the Windows Installer, the installer automatically configures the user and password settings in the necessary configuration files. However, if you have used a prebuilt .zip file, you need to manually check and adjust specific configuration settings.

For both installation methods, ensure the selected account has sufficient permissions to run the service. While it is possible to use an account other than the Local System Account, do so at your own risk.

Checklist for Account Configuration

Verify the following for the selected account:

  • Internet Connection

    • The software requires an active internet connection to download a JRE from GitHub during installation. This download occurs only once, unless the JRE is unavailable or a new version is introduced in the ConnectPlaza Agent.
  • Rights to Create Symlinks

    • The ConnectAgent requires permission to create symlinks. Without this, the agent will crash during startup.
  • Access to Network Shares

    • If your service requires access to network shares, ensure the account has the necessary permissions.

Special Considerations for Upgrades

When upgrading ConnectPlaza Agents while using an account other than the Local System Account, ensure that the credentials are correctly configured in the following file:

<ConnectPlaza-Installation-Directory>\agent\connectplaza-wrapper\yajsw\conf\wrapper.conf

Look for these entries:

wrapper.ntservice.account=<account> 
wrapper.ntservice.password=<password>

These entries ensure the service account is retained during upgrades. If they are missing, the service will default to the Local System Account as the starting account. Be aware of this to avoid unexpected issues.