Problem: A Windows Clients takes too long to load GPOs in a UCS@school environment


The windows clients are joined into a school server and they take too long to load the GPOs.


To identify and address the problem, follow these steps:

1. Check DNS SRV Records:

Use the following command to verify DNS SRV records on the school server:


The output should reference to the school server. If the output also shows multiple servers like the primary or other school servers, the windows clients will try to communicate with these servers as well.

2. Resync DNS Records:

If other servers are referenced by the previous command, a resync of these DNS records should be performed.

/usr/share/univention-s4-connector/ --filter univentionObjectType="dns/srv_record"

3. Verify GPO Loading:

After resyncing the DNS records, check if the GPO loading time has improved on the Windows clients. If the issue persists, proceed to the next step.

4. Migrate DNS Data:

If the problem persists, it may be necessary to migrate DNS data. Follow the steps outlined in this article:

HowTo: Migrate Samba 4 DNS Data from the Legacy to the Default Partition

This guide provides detailed instructions on migrating Samba 4 DNS data from the legacy to the default partition. After completing the migration, retest GPO loading times on Windows clients.