github.com/ssube/gitlab-ci-multi-runner@v1.2.1-0.20160607142738-b8d1285632e6/docs/install/windows.md (about) 1 ### Install on Windows 2 3 Create a folder somewhere in your system, ex.: `C:\Multi-Runner`. 4 5 Download the binary for [x86][] or [amd64][] and put it into the folder you 6 created. 7 8 Run an `Administrator` command prompt ([How to][prompt]). The simplest is to 9 write `Command Prompt` in Windows search field, right click and select 10 `Run as administrator`. You will be asked to confirm that you want to execute 11 the elevated command prompt. 12 13 Register the runner: 14 15 ```bash 16 cd C:\Multi-Runner 17 gitlab-ci-multi-runner register 18 19 Please enter the gitlab-ci coordinator URL (e.g. http://gitlab-ci.org:3000/ ) 20 https://ci.gitlab.com 21 Please enter the gitlab-ci token for this runner 22 xxx 23 Please enter the gitlab-ci description for this runner 24 my-runner 25 INFO[0034] fcf5c619 Registering runner... succeeded 26 Please enter the executor: shell, docker, docker-ssh, ssh? 27 docker 28 Please enter the Docker image (eg. ruby:2.1): 29 ruby:2.1 30 INFO[0037] Runner registered successfully. Feel free to start it, but if it's 31 running already the config should be automatically reloaded! 32 ``` 33 34 Install runner as a service and start it. You have to enter a valid password 35 for the current user account, because it's required to start the service by Windows: 36 37 ```bash 38 gitlab-ci-multi-runner install --user ENTER-YOUR-USERNAME --password ENTER-YOUR-PASSWORD 39 gitlab-ci-multi-runner start 40 ``` 41 42 > **Notice:** If you don't have a Windows Password, Runner's service won't start. To 43 > fix this please read [How to Configure the Service to Start Up with the Built-in System Account](https://support.microsoft.com/en-us/kb/327545#bookmark-6) 44 > on Microsoft's support website. 45 46 Voila! Runner is installed and will be run after system reboot. 47 48 Logs are stored in Windows Event Log. 49 50 #### Update 51 52 Stop service (you need elevated command prompt as before): 53 54 ```bash 55 cd C:\Multi-Runner 56 gitlab-ci-multi-runner stop 57 ``` 58 59 Download the binary for [x86][] or [amd64][] and replace runner's executable. 60 61 Start service: 62 63 ```bash 64 gitlab-ci-multi-runner start 65 ``` 66 67 Make sure that you read the [FAQ](../faq/README.md) section which describes 68 some of the most common problems with GitLab Runner. 69 70 [x86]: https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-windows-386.exe 71 [amd64]: https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-windows-amd64.exe 72 [prompt]: http://pcsupport.about.com/od/windows-8/a/elevated-command-prompt-windows-8.htm