Difference between revisions of "Time"

From Max's Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
==What Time Server am I using?==
 
==What Time Server am I using?==
* w32tm /query /source
+
w32tm /query /source
  
==Computer using "Free Running System Clock"?==
+
==Troubleshooting==
* \\%SERVER% /set /y (Set to server | Set time | Yes)
+
===What the domain think's it is===
 +
Net time /Domain:DOMAINNAMEHERE
  
==Computer Not Syncing With Time Server?==
+
===Computer using "Free Running System Clock"?===
* w32tm /resync or w32tm /resync /force
+
\\%SERVER% /set /y (Set to server | Set time | Yes)
* Restart time service: net stop w32time && net start w32time
 
  
==Local W32TM Server Setup/Commands==
+
===Computer Not Syncing With Time Server?===
===Set DC as Server===
+
w32tm /resync or w32tm /resync /force
* [http://serverfault.com/questions/451204/how-to-change-time-source-from-local-cmos-clock-to-dc ServerFault User Commands]
+
net stop w32time && net start w32time
  
==Registry Setting==
+
===Configure client machine to sync from domain===
* HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters key needs a value like this: 0.north-america.pool.ntp.org,0x1 1.north-america.pool.ntp.org,0x1
+
w32tm /config /syncfromflags:domhier /update
* Reload ''Time Server'' with: w32tm /config /update
+
net stop w32time && net start w32time
 +
 
 +
===Local W32TM Server Setup/Commands===
 +
====Set DC as Server====
 +
[http://serverfault.com/questions/451204/how-to-change-time-source-from-local-cmos-clock-to-dc ServerFault User Commands]
 +
 
 +
===Registry Setting===
 +
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters key needs a value like this: 0.north-america.pool.ntp.org,0x1 1.north-america.pool.ntp.org,0x1
 +
Reload ''Time Server'' with: w32tm /config /update

Latest revision as of 01:04, 8 October 2017

W32TM

W32TM CLI Commands on TechNet

What Time Server am I using?

w32tm /query /source

Troubleshooting

What the domain think's it is

Net time /Domain:DOMAINNAMEHERE

Computer using "Free Running System Clock"?

\\%SERVER% /set /y (Set to server | Set time | Yes)

Computer Not Syncing With Time Server?

w32tm /resync or w32tm /resync /force
net stop w32time && net start w32time

Configure client machine to sync from domain

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

Local W32TM Server Setup/Commands

Set DC as Server

ServerFault User Commands

Registry Setting

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters key needs a value like this: 0.north-america.pool.ntp.org,0x1 1.north-america.pool.ntp.org,0x1
Reload Time Server with: w32tm /config /update