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: 773
  • Last Modified:

Time Command Line -Correct?

Need to update the time server on PDC and the other servers in the domain. Is this correct?

Command on PDC’s
w32tm /config /manualpeerlist:"ntpserver1.ourserver.com,0x8 ntpserver2.ourserver.com,0x8" /syncfromflags:MANUAL /update
w32tm /resync /rediscover

Command on all other domain servers.
w32tm /config /syncfromflags:domhier /reliable:no /update
w32tm /resync
w32tm /resync
0
syseng007
Asked:
syseng007
2 Solutions
 
eexchangetechCommented:
On a PDC
Start elevated command prompt
W32tm /query /status

Source will be CMOS or System Clock (if there aren't any source configured)

Net Stop W32Time
W32tm /config /syncfromflags:manual /manualpeerlist:"64.4.10.33"
W32tm /config /reliable:yes
Net Start W32Time
W32tm /config /update

W32tm /query /status
Source should now be 64.4.10.33  (time.windows.com) using IP address is nice as it avoids warning message from source Time-Service event id 134 due to DNS issues

On clients or other servers joined to a domain
Start elevated command prompt
W32tm /resync

W32tm /query /status
Source should now be your PDC
0
 
footechCommented:
If necessary, on any machine you could run the following to reset them all to defaults which would make sure they use the domain hierarchy.
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

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