FATAL: Failed to start gitlab-runner: The system cannot find the file specified on Windows

I’m running into the error Runner registered successfully. Feel free to start it, but if it’s running already the config should be automatically reloaded!

C:\Users\username\Downloads>.\gitlab-runner.exe start
Runtime platform arch=amd64 os=windows pid=1284 revision=003fe500 version=12.7.1
FATAL: Failed to start gitlab-runner: The system cannot find the file specified.

Idk whats wrong I definitely have the file.

Hi,

sounds like a permission problem with the current user.

Here’s some more insights: Gitlab runner on Windows: "The system cannot find the file specified" (#3634) · Issues · GitLab.org / gitlab-runner · GitLab

Did you register the runner with http or https?

Cheers,
Michael

1 Like

Hi,

I’m facing the same issue and tried the issue that you had mentioned: [Gitlab runner on Windows: "The system cannot find the file specified" (#3634) · Issues · GitLab.org / gitlab-runner · GitLab]
However, I don’t understand the details of these steps. Because that issue was closed, could you please help me explain/fix this issue?

Thanks

Hi,

the user posted in the issue’s reply

I created a dedicated windows user, gave the user a special right to “log on as a service”, and added the user to the administrators group…

which solved the problem for them. Not sure if that helps you, but it could be a way to overcome restrictive permissions for the default user you are trying to run the runner as.

Cheers,
Michael

1 Like

I am also getting the same error. As in the previous comments I created a new user with administrative privileges, but still getting the same error. Are there any alternative solutions, kindly tell