Skip to content

Self-hosted runner service fails to start on localized Windows installations due to Network Service account name translation #4882

Open

Description

@deniselias

Describe the bug

While configuring a GitHub Actions Self-Hosted Runner on Windows 11 (Portuguese - Brazil), the runner registration completes successfully, but the Windows service fails to start when the default service account suggested by the installer is accepted.

During service configuration, the installer displays:

Would you like to run the runner as service? (Y/N) Y

User account to use for the service
[press Enter for AUTORIDADE NT\SERVIÇO DE REDE]

Accepting the suggested default value installs the service successfully, but the service cannot be started afterwards.

Windows displays:

Error 1068:
The dependency service or group failed to start.

The self-hosted runner remains offline.

Environment
Runner Version: 2.338.2
OS: Windows 11
System Language: Portuguese (Brazil)
Runner Type: Self-hosted
Installation Mode: Windows Service

Steps to reproduce
Create a new self-hosted runner.
Follow the official installation instructions.
Run config.cmd.
Choose to run the runner as a Windows service.
Accept the default account suggested by the installer:
AUTORIDADE NT\SERVIÇO DE REDE

Complete the setup.
Attempt to start the service.
Expected behavior

The GitHub Actions Runner service should start successfully using the default built-in Network Service account.

Actual behavior

The service is installed successfully, but fails to start.

Windows Services reports:

Error 1068:
The dependency service or group failed to start.

The runner remains unavailable.

Investigation

After troubleshooting, I discovered that the issue appears to be related to localization of the built-in Windows account used during service configuration.

The installer suggests:

AUTORIDADE NT\SERVIÇO DE REDE

However, Windows built-in service accounts are internally identified using names such as:

NT AUTHORITY\NetworkService

The localized account name suggested by the installer appears to be associated with the service startup failure in this scenario.

Workaround

Open the Windows Services console, locate the GitHub Actions Runner service and manually change the Log On account.

Instead of the account configured by the installer, select the built-in account:

Network Service

(or the account resolved by Windows to NT AUTHORITY\NetworkService).

No other configuration changes were required. The only modification performed was changing the service logon account.

Possible root cause
This appears to be a localization/internationalization issue affecting non-English Windows installations.

The setup process may be using a localized account name (AUTORIDADE NT\SERVIÇO DE REDE) instead of the underlying built-in account identifier (NT AUTHORITY\NetworkService) or its SID.

Using the built-in account identifier directly could avoid locale-dependent failures and make the installation process consistent across Windows languages.

The issue was reproduced multiple times.

Accepting the default localized account suggested by the installer consistently resulted in service startup failure.

Changing only the service logon account to Network Service consistently allowed the service to start successfully.

Evidence

Screenshot 1 - Runner registration completed successfully
The runner registration process completed successfully and GitHub confirmed that the runner was added.

Observed output:
Connected to GitHub
Runner successfully added
Settings Saved

01-runner-registration-success

Screenshot 2 - Service installation completed but service startup failed
The runner service installation process completed successfully.

Observed output:
Service successfully installed
Service successfully configured

Observed output:
Cannot start the service.
Cannot start service ...

02-service-installation-success-but-startup-failed

Screenshot 3 - Service configured with localized account name

The runner service was configured to log on using the account suggested during setup:
AUTORIDADE NT\SERVIÇO DE REDE

This was the value automatically suggested by the runner installation process.

03-localized-network-service-account

Screenshot 4 - Windows Service startup failure
Attempting to manually start the service from the Windows Services console results in:

Error 1068:
The dependency service or group failed to start.

04-windows-error-1068

Screenshot 5 - Manual correction of service account
The issue can be resolved by manually changing the service account to:

Network Service

using the Windows "Select Users or Groups" dialog.

05-manual-account-correction

Screenshot 6 - Service starts successfully after account change
After changing the account, the GitHub Actions Runner service starts successfully and remains running.

06-service-running-successfully

Summary

  • Runner registration succeeds.
  • Service installation succeeds.
  • Service configuration succeeds.
  • Service startup fails when using the default localized account suggested during setup.
  • Service starts successfully after manually changing the account to Network Service.

Possible root cause

This appears to be a localization/internationalization issue affecting non-English Windows installations.

The setup process may be using a localized account name (AUTORIDADE NT\SERVIÇO DE REDE) instead of the underlying built-in account identifier (NT AUTHORITY\NetworkService) or its SID.

Using the built-in account identifier directly could avoid locale-dependent failures and make the installation process consistent across Windows languages.

Additional note

The attached screenshots document:

  • Successful runner registration.
  • Successful service installation and configuration.
  • Service startup failure (Error 1068).
  • Service configured with the localized account AUTORIDADE NT\SERVIÇO DE REDE.
  • Successful startup after changing the account to Network Service.

Activity

  1. added
    bug
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions