How to manually install online backup service offsite?

The following commands can be used to uninstall and install again the offsite online backup service.

To uninstall winservice:

  1. Run Command Prompt as administrator.

  2. Run the following commands:

    sc stop sagentservice 
    sc delete sagentservice

To install winservice as Local System account:

  1. Run Command Prompt as administrator.

  2. Run the following commands:

    sc create sagentservice DisplayName="Online Backup Service" binPath="<PATH TO>SAgent.Service.exe" start=auto 
    sc failure sagentservice reset=0 actions=restart/1000/restart/1000/restart/1000

To install winservice as Network Service account:

  1. Run Command Prompt as administrator.

  2. Run the following commands:

    sc create sagentservice DisplayName="Online Backup Service" binPath="<PATH TO>SAgent.Service.exe" start=auto obj="NT AuthorityNetworkService" 
    sc failure sagentservice reset=0 actions=restart/1000/restart/1000/restart/1000

To start winservice, run sc start sagentservice.