Mar 5, 2018
Setting up Arc as a Windows service
To add some durability you can run the Arc executable as a Windows service so it will always be available. To do this you need to:
1. Open a Command-Line window as Administrator
![](https://codebackend.kinsta.cloud/wp-content/uploads/2023/04/CMD-Run-As-ADmin.png)
2. Change the Command-Line window location using
cd C:pathtoarcdirectory
3. Execute the Arc install command
arc.exe -install
![](https://codebackend.kinsta.cloud/wp-content/uploads/2023/04/Service-Command-Prompt-1024x294.png)
Arc will be installed as a new Windows service:
![](https://codebackend.kinsta.cloud/wp-content/uploads/2023/04/Arc-as-a-services.png)
Other command arguments
The Arc command line can use the following arguments:
arc.exe -remove: remove the windows service.
arc.exe -install -datadir=path: the directory to store the application files (Settings, logs, licenses…).
arc.exe -install -port=7070: The port number to run the server on.
arc.exe -install -openbrowser=true: Open the browser when running as a desktop application.
arc.exe -install -localonly=true: Only allow connections from the computer where Arc is running.
arc.exe -install -servicename=name: The name to use when installing Arc as a Windows service
arc.exe -install -displayname=name: The display name to use when installing Arc as a Windows service