Setting Up Arc as a Windows Service

Setting Up Arc as a Windows Service

Setting Up Arc as a Windows Service

Running Arc as a Windows service ensures it starts automatically when the server boots and remains available without requiring a user to be logged in.


Prerequisites

  • Windows Administrator credentials are required.

  • Arc must already be downloaded and working as a standalone executable.


Install Arc as a Windows Service

  1. Open a Command Prompt as Administrator.

  2. Navigate to the directory where arc.exe is located:

cd C:\path\to\arc\directory
  1. Run the install command:

arc.exe -install

Arc will be installed as a new Windows service named "Arc for TM1" and will be visible in the Windows Services Manager (services.msc).


Command-Line Arguments

The arc.exe command supports the following arguments when installing as a service:

Argument

Description

Argument

Description

arc.exe -install

Install Arc as a Windows service

arc.exe -remove

Remove the Arc Windows service

arc.exe -install -datadir=path

Set the directory for application files (settings, logs, licenses)

arc.exe -install -port=7070

Set the port number Arc listens on

arc.exe -install -openbrowser=true

Open a browser automatically when Arc starts as a desktop app

arc.exe -install -localonly=true

Only allow connections from the local machine

arc.exe -install -servicename=name

Custom name for the Windows service

arc.exe -install -displayname=name

Custom display name shown in Services Manager


Managing the Arc Service

Once installed, manage the service via:

  • Windows Services Manager (services.msc) — start, stop, restart

  • Command Prompt (as Administrator):

net start "Arc for TM1" net stop "Arc for TM1"

Upgrading Arc When Running as a Service

When upgrading Arc, stop the service first before replacing the arc.exe file. See Upgrading Arc for TM1 for full upgrade instructions.