1. Set up a gMSA account
1.1 Create a KDS key
Add a KDS root key
Confirm the key was added
True.1.2 Create the gMSA account
Enable gMSA support
Create an Active Directory group for target computers
gmsaServers).Create the account
-KerberosEncryptionType is optional but recommended, to avoid future Kerberos authentication issues.Reboot the group's computers
1.3 Install the gMSA account on target computers
Repeat on every computer that will use this gMSA account:Install required modules
Install the account
Confirm installation
True.1.4 Grant “Log on as a service”
Open Local Security Policy
secpol.msc, go to Local Policies > User Rights Assignment, and add the gMSA account to the Log on as a service policy.Repeat on every computer
1.5 Grant access to system performance counters
Grant Perflib access
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib.Grant EventLog access
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog.1.6 Grant access to the Syteca install folder
For log data to be written correctly, grant Full control for the gMSA account onC:\Program Files\Ekran System\Ekran System.
2. Configure the Management Tool
2.1 The LDAP target
If using the gMSA account with an automatic LDAP target:Run the Application Server under the gMSA account
Refresh the LDAP target
2.2 Database and archive parameters
db_owner permission granted.Run both services under the gMSA account
Configure the database connection
Enter placeholder archive credentials
3. Troubleshooting
EkranServer doesn't run under the gMSA account
EkranServer doesn't run under the gMSA account
Verify the account
False, run:Reboot the domain controller
Confirm Log on as a Service permissions
secpol.msc > Local Policies > User Rights Assignment > Log on as a service.Export the master certificate
EkranMasterCertificate.Open mmc as the gMSA account
Import the master certificate
EkranMasterCertificate into both Personal and Trusted Root Certification Authorities.Selecting "Use process credentials" loses the database connection and EkranServer will not start
Selecting "Use process credentials" loses the database connection and EkranServer will not start
Check registered SPNs
MSSQLSvc/<SQLServerFQDN> is registered for the gMSA account. Use Microsoft Kerberos Configuration Manager for SQL Server to check and fix SPNs, or run manually:Verify the SPNs
Grant SPN write permissions
Grant the same permissions to SELF
PrincipalsAllowedToRetrieveManagedPassword, add Read and Write permissions for the SELF account the same way.Fix error 18456, Severity 14, State 38
sa, open the SQL Server properties, and on the Permissions page grant Control server to the gMSA account.