how to synhronize a pc time with a server ?

how to synhronize a pc time with a server ?
PC login using company (network) access levels
reyinquAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dr. KlahnPrincipal Software EngineerCommented:
Do you want to:

a) synchronize with an internal server so that all systems are slaved to the same clock (whether the master clock is correct or incorrect, all systems have the same time)

- or -

b) synchronize with an internet server so that all systems have the correct time, but may be up to a second off from system to system
0
65tdRetiredCommented:
Is the pc part of the domain or a stand alone work station?
0
reyinquAuthor Commented:
It is part of a Domain. How I synchronized the PC with the domain?
0
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Tom CieslikIT EngineerCommented:
If computer is part of domain it should synchronize time automatically
After computer is added to domain DC is becoming a time source for workstation.


You can check that using w32tm command

run CMD as administrator and run command

w32tm /monitor

Check if your DC is a time source for your workstation. If is then if you still have a difference in time then run

w32tm /resync /computer:servername /nowait /rediscover /soft

you can try manually configure your computer to use your DC as time source

w32tm /config /computer:servername /update

You can also check registry settings

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters


Another approach is to push service to synch time from domain herarhy

If you want your peers to sync time from the domain controllers you can configure your DCs as NTP server for your clients, but there is a better way fr Windows Servers and Workstations: NT5DS. This type of time sync enables automatic time synchronization using Domain Hierarchy. The commands you need for this are:

w32tm /config /syncfromflags:domhier /update
net stop w32time
net start w32time
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
8046586Commented:
Here is a detailed document how to set up the time server and sync with the clients:

https://www.altaro.com/hyper-v/configuring-time-synchronization-for-all-computers-in-windows-domain/

DHCP + GPO is the best practice for the domain desktops
0
8046586Commented:
There are no further author questions nither comments.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PC

From novice to tech pro — start learning today.