You can check the Task Scheduler and the Event Viewer to see if there is any information about why the task to sync the time is not triggered when you power on your computer.
-Task Scheduler
1-Click on Start, search for Task Scheduler and click on that
2- Go to:
Task Schedulers Library > Microsoft > Windows > Time Synchronization
3-Then check the "Last run time" to see if the task was triggered when you power on the computer and the "Last run result" to see if the task was completed with success
-Event Viewer
1-Click on Start, search for Event Viewer and click on that
2-Go to:
Applications and Services Log\Microsoft\Windows\Time-Service\Operational
3-Then check the events to see if there was any error when the task tried to sync the time
You can see more information at this link.
https://learn.microsoft.com/en-us/windows-serve...
If you are using a firewall or a proxy, check if you are not blocking the port "UDP 123", this is the port that the Windows Time Service uses to sync with the internet.