Skip to content
Documentation
Updated 3 minutes to read
Markdown

Use this troubleshooting guide to diagnose the most common gMSA issues when running Nodinite Core Services and agents under a Group Managed Service Account. Most problems fall in one of three places: Active Directory (the server can't retrieve the password), Windows rights on the server, or access to the secret-encryption certificate.

"Logon failure: the user has not been granted the requested logon type"

Section titled “"Logon failure: the user has not been granted the requested logon type"”

The gMSA account does not have the local right "Log on as a service".

Add the account using How to set Logon as a Service right.

The server cannot retrieve the managed password from Active Directory.

  1. Verify the server computer account is in the configured security group.
  2. Run gpupdate /force and restart if membership changed recently.
  3. Confirm the KDS root key exists and is already effective; see Create the KDS Root Key.
  4. Verify replication between domain controllers.
  5. Confirm the gMSA account is enabled.
  6. Verify PrincipalsAllowedToRetrieveManagedPassword matches your security group.
  7. Reinstall the gMSA account on the server and test again.
Terminal window
$serverName = $env:COMPUTERNAME
Get-ADGroupMember -Identity "gmsaservergroup" | Where-Object { $_.Name -eq "$serverName$" }
Get-KdsRootKey
repadmin /showrepl
Get-ADServiceAccount -Identity "testgmsa" -Properties Enabled, PrincipalsAllowedToRetrieveManagedPassword
Uninstall-ADServiceAccount -Identity "testgmsa"
Install-ADServiceAccount -Identity "testgmsa"
Test-ADServiceAccount -Identity "testgmsa"

Validate these common mistakes:

Authentication failures after password rotation

Section titled “Authentication failures after password rotation”

gMSA password rotation is automatic in Active Directory. Services should continue without manual password changes.

  • Verify server membership in PrincipalsAllowedToRetrieveManagedPassword group.
  • Verify KDS root key exists and replicated.
  • Run gpupdate /force and restart when group membership changed.
  • Review Event Viewer for domain, KDS, or service logon errors.

Cannot access encrypted configuration files

Section titled “Cannot access encrypted configuration files”

This usually indicates certificate permissions or certificate location issues.

  1. Confirm certificate is in Cert:\LocalMachine\My.
  2. Confirm certificate thumbprint matches configuration.
  3. Confirm HasPrivateKey is True.
  4. Confirm gMSA has read access to private key material.

The scripts in Install Certificates for gMSA find the private key in both the CNG and the CSP location and grant the Read permission.

Review these logs:

  • System log (Service Control Manager)
  • Application log
  • Security log

Look for entries mentioning logon failure, access denied, private key, or certificate errors.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...