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

To uninstall winservice:

  1. Run CMD as admin.
  2. sc stop sagentservice.
  3. sc delete sagentservice.

To install winservice as Local System account:

  1. Run CMD as admin.
  2. sc create sagentservice DisplayName="Online Backup Service" binPath="<PATH TO>\SAgent.Service.exe" start=auto.
  3. sc failure sagentservice reset=0 actions=restart/1000/restart/1000/restart/1000.

To install winservice as Network Service account:

  1. Run CMD as admin.
  2. sc create sagentservice DisplayName="Online Backup Service" binPath="<PATH TO>\SAgent.Service.exe" start=auto obj="NT Authority\NetworkService".
  3. sc failure sagentservice reset=0 actions=restart/1000/restart/1000/restart/1000.

To start winservice:

sc start sagentservice