Hello, in this article Windows Time service (Win32TM) "w32timesI will talk about the solution to the “service name invalid” error.

The service name is invalid.
More help is available by typing NET HELPMSG 2185.
We have previously talked about NTP settings in the Domain environment.
Domain Controller Clock Synchronization (NTP Sync) – Cengiz YILMAZ | Sys Blog
We said that every device that is a member of the domain must receive its NTP settings from the DC and must work according to the hierarchy.
If you receive the error The service name is invalid for a server in your environment, the Windows Time Services object is not visible in services.msc. First of all, you need to run CMD as an administrator.
Then you register the Time Service by running the command below.
w32tm /register
After the registration process, you can start the service.
net start w32time