Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to update Gitlab-runners on Windows
  • Data Migration Assistant Compatibility mode
    DMA Compatibility Mode: Prepare and Migrate Safely Network | Monitoring
  • How to Set up a Single Site to Site VPN Connection on AWS
    Setup a Site-to-Site VPN Connection on AWS AWS/Azure/OpenShift
  • Screenshot
    An error occurred while attempting to start the selected VM Virtualization
  • How to Enable Time Limit to Disconnect Remote Desktop After Inactivity
    How to Enable Time Limit to Disconnect Remote Desktop After Inactivity Windows
  • UpdateOfficeOnlineServer 1
    Perform Office Online Server Update via the Microsoft Update Catalog Network | Monitoring
  • Screenshot 2020 05 14 at 19.09.08
    How to backup a Cisco IOS Network | Monitoring
  • mailx
    [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
  • any
    Install AnyDesk on Windows for remote Connections Windows

How to update Gitlab-runners on Windows

Posted on 09/11/202309/11/2023 Christian By Christian No Comments on How to update Gitlab-runners on Windows
GitLab runner update and upgrade

GitLab Runner is open-source and runs as a single binary with no language-specific requirements. GitLab Runner also run inside a Docker container or be deployed to a Kubernetes cluster. In this article, you will learn how to update Gitlab-runners on Windows. Please see How to uninstall GitLab Runner from your Windows device, How to enable an SA account that has been disabled, and how to Install Docker Desktop and register GitLab-Runner with Docker-windows executor.

GitLab Runner officially supported binaries are available for the following architectures, x86, AMD64, ARM64, ARM, s390x, ppc64le. GitLab Runner can be installed and used on GNU/Linux, macOS, and FreeBSD as well.

Upgrade GitLab Runner

To update GitLab runner in Windows, You will have to launch PowerShell with administrative privilege or an elevated command prompt.

Launch-PowerShell-with-Administrative-priviledge

Navigate to the GitLab-runner folder as shown below and stop the service.

Stop-GitLab-runner-service

Also, see Panic: Failed to register the GitLab-runner, you may be having network issues, how to fix GitLab-runner is not recognized as an internal or external command, operable program, or batch file, and how to Setup GitLab Runner on WSL.

Download the latest release

You may run into issues while downloading the runner’s executable. Microsoft Defender SmartScreen sets in. Even when you select keep, it does not work.

Microsoft Defender SmartScreen protects from malicious sites and downloads; In this case, I will recommend using a different browser if you cannot disable Microsoft Defender SmartScreen

Download GitLab runner

You have to download this using a different browser as mentioned above. I ran a portable version of Palemoon. Pale Moon is an open-source web browser with a focus on customization and efficiency. The browser is available for Microsoft Windows and Linux.

Note: Since GitLab does not update its user guide to reflect this, please use this GitLab-runners release page.

Downlaod-GitLab-runner-with-a-portable-browser

Next, extract and proceed with the steps below.

Extract-GitLab-runner

Replace the GitLab-runner’s executable with the new one you have just downloaded. I also renamed the executable file to make it descriptive for me.

Replace-GitLab-runner-executable-with-the-newly-downloaded

Now, start the GitLab service again. That is all that is required.

Start-the-GitLab-service

Alternatively, you could verify to see that the runner is indeed running via the services manager or PowerShell.

Alternatively-you-could-verify-if-GitLab-service-is-running

Or from the Command Prompt

image

FAQs in relation to Gitlab-runner on Windows

How do I configure GitLab CI to use a specific GitLab Runner on Windows?

To specify a particular GitLab Runner on Windows for a CI/CD job:
– During the registration of the runner, you can assign tags. For example, tag a runner as “windows” using --tag-list "windows".
– Use Tags in .gitlab-ci.yml: In your .gitlab-ci.yml file, specify the tag for the job:

How can I troubleshoot common issues with GitLab Runner on Windows?

When you are faced with issues with GitLab Runner on Windows. Check the logs for any error messages. Logs are usually located in the C:\GitLab-Runner\logs directory. This can provide valuable information about what went wrong. You may want to update GitLab Runner to ensure you are running the latest version of GitLab Runner. Check the GitLab Runner releases page for updates and bug fixes as shared with this article.

I hope you found this article on how to update Gitlab-runners on Windows useful. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:GitLab, GitLab-Runner, Microsoft Windows, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: How to enable an SA account that has been disabled
Next Post: Register Devices to Intune and EntraID Using Company Portal

Related Posts

  • Hibernation and faststartup
    Enable or Disable hibernation: How to fix the missing fast startup option on Windows Windows
  • find my device banner
    Video on how to Enable Find My Device on Windows 11 Windows
  • Featured image GettingWinReady
    Fix “Getting Windows Ready” Don’t turn off your computer stuck on Windows Windows
  • WinRM set up for specific IP
    Configure WinRM to accept connection from a specific IP Address Windows
  • Keep personal files and apps
    Fix Keep personal files and apps option greyed out during Upgrade Windows Server
  • How to stay protected on Windows 10 and11 device with Windows Security
    Stay protected on Windows device with Windows Security Security | Vulnerability Scans and Assessment

More Related Articles

Hibernation and faststartup Enable or Disable hibernation: How to fix the missing fast startup option on Windows Windows
find my device banner Video on how to Enable Find My Device on Windows 11 Windows
Featured image GettingWinReady Fix “Getting Windows Ready” Don’t turn off your computer stuck on Windows Windows
WinRM set up for specific IP Configure WinRM to accept connection from a specific IP Address Windows
Keep personal files and apps Fix Keep personal files and apps option greyed out during Upgrade Windows Server
How to stay protected on Windows 10 and11 device with Windows Security Stay protected on Windows device with Windows Security Security | Vulnerability Scans and Assessment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Data Migration Assistant Compatibility mode
    DMA Compatibility Mode: Prepare and Migrate Safely Network | Monitoring
  • How to Set up a Single Site to Site VPN Connection on AWS
    Setup a Site-to-Site VPN Connection on AWS AWS/Azure/OpenShift
  • Screenshot
    An error occurred while attempting to start the selected VM Virtualization
  • How to Enable Time Limit to Disconnect Remote Desktop After Inactivity
    How to Enable Time Limit to Disconnect Remote Desktop After Inactivity Windows
  • UpdateOfficeOnlineServer 1
    Perform Office Online Server Update via the Microsoft Update Catalog Network | Monitoring
  • Screenshot 2020 05 14 at 19.09.08
    How to backup a Cisco IOS Network | Monitoring
  • mailx
    [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
  • any
    Install AnyDesk on Windows for remote Connections Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.