Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

Sync time on a computer that is on a domain with the internet

I want to sync time on computers that are on a domain with the internet.

Any help on this matter would be greatly appreciated,
Thanks,
Aditya
0
giveindia
Asked:
giveindia
2 Solutions
 
bbaoIT ConsultantCommented:
W32TM /CONFIG /MANUALPEERLIST: pool.ntp.org /SYNCFROMFLAGS: MANUAL /UPDATE

where pool.ntp.org is preferred the time source on the internet.
0
 
yo_beeDirector of ITCommented:
You should just have your DC's call out for public NTP server and all domain members will automatically sync their time with the DC's.  

https://blogs.technet.microsoft.com/nepapfe/2013/03/01/its-simple-time-configuration-in-active-directory/
0
 
bbaoIT ConsultantCommented:
i second yo_bee as it is a recommended approach for an enterprise environment.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
Sushil SonawaneCommented:
By default computer join in domain will synchronize with domain controller for timing. As suggest "yo_bee" is right way to sync time of client system.

If you want your system take time form internet instead of domain controller please refer below link :

https://www.concurrency.com/blog/w/sync-domain-clock-with-internet-ntp-sources

http://www.guidingtech.com/3119/windows-clock-sync/
0
 
giveindiaAuthor Commented:
What if we don't have an Active Directory setup ?

Thanks,
Aditya
0
 
bbaoIT ConsultantCommented:
if you don't have an AD domain in place AND you do want to deploy correct time heaps of Windows computers, AND if you hate going to each computer one by one, you have to use a batch or script to run NET TIME or W32TM locally on each remote computer.

you may use REXEC to remotely execute a command, or use COPY command to remotely create a startup script or AUTOEXEC.BAT of each computer. obviously, each computer needs to be connected and accessible using local admin account.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now