# How to run yCrash server as windows background service?

If you want to run our yCrash server application as a Windows service in the background, you can use NSSM, a tool that can be downloaded from https://nssm.cc/download (opens new window). The following steps can be taken to enable this feature:

  1. Extract the files from the downloaded archive file and run the command "nssm install <service_name>".

img

  1. Choose the path to the yCrash server application.

img

  1. Enter a Display Name and Description that will be visible under the Windows Services console.

img

  1. Specify the path for application access.log, output.log, and error.log files (optional).

img

  1. Turn on log rotation options and configure them accordingly (optional).

img

  1. Click on 'Install service'.

img

  1. The newly created service will appear under the Windows Service console and can be run in the background mode.

img

  1. To modify or remove the service, use the commands and respective arguments below.

img