Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions Runner needs a parameter to reinstall the Windows service, because Windows upgrades may remove it #3643

Open
ColinFinck opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ColinFinck
Copy link

As detailed in #3642, recent Windows upgrades (like Windows 11 24H2) recreate the Services registry key and remove all manually installed services, such as the GitHub Actions Runner.
This is a behavior that is causing havoc in many places, and subject to an even bigger discussion, but this issue shall only be about the GitHub Actions Runner.

Unfortunately, there is currently no easy way to restore the GitHub Actions Runner service, because it only supports deleting the configuration and recreating it from scratch.

You should add an option --reinstallservice to the Windows version of Runner.Listener or RunnerService to reinstall the service based on the stored configuration.
This would highly simplify maintenance in such situations without having to resort to manual sc create calls.

@ColinFinck ColinFinck added the bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant