Hello! Im trying to install Active directory on my windows server 2022. It should be top notch and is fully updated, but I have now spendt countless hours trying to configure active directory in the active directory domain service configuration wizzard. I am trying to add a new forrest, next, next, next, next, but after i press install i get the error message:
The operation failed because:
Failed to create the GPO for the domain ad.server.local.
"The system cannot find the file specified."
The error seams to happen after the wizzard windows says Configuring NETLOGON.
I have looked online but I only found two instances of the same problem from many years ago. I have tried reset the database with the command:
esentutl /p systemroot\security\database\secedit.sdb
This server has almost no configuration before. I have installed a DNS server, but its not configured. I have set a static IP and a default DNS to 8.8.8.8. We have a Fortinet Firewall at the center also.
From the event viever I can see these warnings and errors:
This computer is configured as a member of a workgroup, not as a member of a domain. The Netlogon service does not need to run in this configuration.
W32time is unable to communicate with Netlogon Service. This failure prevents NTPClient from discovering and using domain peers, besides causing problems with correct W32time service state being advertised by Netlogon. This could be a temporary condition that resolves itself shortly. If this warning repeats over a considerable period of time, ensure the Netlogon service is running and is responsive and restart W32time service to reintiaize the overall state. The error was 0x80070700: An attempt was made to logon, but the network logon service was not started.
Active Directory Domain Services has detected and deleted some possibly corrupted indices as part of initialization.
These deleted indices will be rebuilt.
NTDS (1496,D,50) NTDSA: Out of date NLS sort version detected on the database 'C:\Windows\NTDS\ntds.dit' for Locale 'en-US', index sort version: (SortId=00000001-57ee-1e5c-00b4-d0000bb1e11e, Version=0006020F0006020F), current sort version: (SortId=00000001-57ee-1e5c-00b4-d0000bb1e11e, Version=0006040300060403).
NTDS (1496,D,50) NTDSA: Database 'C:\Windows\NTDS\ntds.dit': The secondary index 'INDEX_00000003' of table 'datatable' is out of date with sorting libraries. If used in this state (i.e. not rebuilt), it may appear corrupt or get further corrupted. If there is no later event showing the index being rebuilt, then please defragment the database to rebuild the index.
NTDS (1496,D,50) NTDSA: Out of date NLS sort version detected on the database 'C:\Windows\NTDS\ntds.dit' for Locale 'en-US', index sort version: (SortId=00000001-57ee-1e5c-00b4-d0000bb1e11e, Version=0006020F0006020F), current sort version: (SortId=00000001-57ee-1e5c-00b4-d0000bb1e11e, Version=0006040300060403).
The DFS Replication service failed to contact domain controller to access configuration information. Replication is stopped. The service will try again during the next configuration polling cycle, which will occur in 60 minutes. This event can be caused by TCP/IP connectivity, firewall, Active Directory Domain Services, or DNS issues.
Additional Information:
Error: 1355 (The specified domain either does not exist or could not be contacted.)
The DNS server could not open socket for address 10.10.20.158.
Verify that this is a valid IP address for the server computer. If it is NOT valid use the Interfaces dialog under Server Properties in the DNS Manager to remove it from the list of IP interfaces. Then stop and restart the DNS server. (If this was the only IP interface on this machine and the DNS server may not have started as a result of this error. In that case remove the DNS\Parameters\ ListenAddress value in the services section of the registry and restart.)
If this is a valid IP address for this machine, make sure that no other application (e.g. another DNS server) is running that would attempt to use the DNS port.
For more information, see "DNS server log reference" in the online Help.
The DNS server could not bind a Transmission Control Protocol (TCP) socket to address 10.10.20.158. The event data is the error code. An IP address of 0.0.0.0 can indicate a valid "any address" configuration in which all configured IP addresses on the computer are available for use.
Restart the DNS server or reboot the computer.
The DNS server could not open socket for address 10.10.20.158.
Verify that this is a valid IP address for the server computer. If it is NOT valid use the Interfaces dialog under Server Properties in the DNS Manager to remove it from the list of IP interfaces. Then stop and restart the DNS server. (If this was the only IP interface on this machine and the DNS server may not have started as a result of this error. In that case remove the DNS\Parameters\ ListenAddress value in the services section of the registry and restart.)
If this is a valid IP address for this machine, make sure that no other application (e.g. another DNS server) is running that would attempt to use the DNS port.
For more information, see "DNS server log reference" in the online Help.
The DNS server could not bind a User Datagram Protocol (UDP) socket to 10.10.20.158. The event data is the error code. Restart the DNS server or reboot your computer.
The DNS server computer currently does not have a DNS domain name. Its DNS name is a single-label host name with no domain (for example: "host" rather than "host.microsoft.com").
You might have forgotten to configure a primary DNS domain for the server computer.
Because the DNS server has only a single-label name, all zones created will have default records (SOA and NS) created using only this single-label name for the server's host name. This can lead to incorrect and failed referrals when clients and other DNS servers use these records to locate this server by name.
To correct this problem:
- Click Start, and then click Control Panel.
- Open System and Maintenance , and then open System.
- Click Change Settings, and then click Change. 4) Click either Domain or Workgroup, and then type the name of the domain or workgroup you want the computer to join; the domain or workgroup name will be used as your DNS domain name.
- When prompted, restart the computer.
After the computer restarts, the DNS server will attempt to fix up default records, substituting the new DNS name of this server for the old single-label name. However, you should review the zone's SOA and NS records to ensure that they now use the correct domain name of this server.
I have not doen anything after installing the DNS server. I tried adding a forward looking zone parent, but that did not help.
I have tried these solutions for the W32time service problem :
https://community.spiceworks.com/topic/1093067-time-service-warning
https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/netlogon-service-not-start-event-2112-7024
https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/netlogon-service-not-start-automatically
I also see that the share C:\Windows\SYSVOL does not exit. I have also tried creating one, but still no luck
I am at a loss for what to do next, do anybody have any tips?