Hello akg2023,
Thank you for posting in Microsoft Community forum.
1.Based on the description "I have a DC running Server 2022 it is restarting in the Active directory environment only.", did you mean when this server is only one server (not a domain controller), then it will not restart?
2.How often does the domain controller restart?
3.Check if you have configured any scheduled task to restart this domain controller or any script to restart this domain controller.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou