I had the same problem, but not with a domain controller, just a normal win2022 vmware template. It turned out to be that I had tweaked/hardened the template a bit too much.
Turns out two services needed to run; Network Connections Broker (NcbService) and Connected Devices Platform Service (CDPSvc). I had disabled NbcService. So CDPSvc would not start. So setting NbcService to manual (or auto) and restarting CDPS, which starts NbcService automatically as it's a dependency, solved it.
I found that solution here: https://social.technet.microsoft.com/Forums/en-US/da0a06a0-05d8-4223-9d4b-973b8d3688a0/systemsettingsexe-crashing-on-multiple-computers