Difference between revisions of "Time"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
__FORCETOC__ | __FORCETOC__ | ||
− | + | =W32TM= | |
[https://technet.microsoft.com/en-us/library/bb491016.aspx W32TM CLI Commands on TechNet] | [https://technet.microsoft.com/en-us/library/bb491016.aspx W32TM CLI Commands on TechNet] | ||
− | ==What | + | ==What Time Server am I using?== |
* w32tm /query /source | * w32tm /query /source | ||
− | + | ||
+ | ==Computer using "Free Running System Clock"?== | ||
* \\%SERVER% /set /y (Set to server | Set time | Yes) | * \\%SERVER% /set /y (Set to server | Set time | Yes) | ||
Line 13: | Line 14: | ||
==Local W32TM Server Setup/Commands== | ==Local W32TM Server Setup/Commands== | ||
− | ==Set DC as Server== | + | ===Set DC as Server=== |
* [http://serverfault.com/questions/451204/how-to-change-time-source-from-local-cmos-clock-to-dc ServerFault User Commands] | * [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 | * 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 | * Reload ''Time Server'' with: w32tm /config /update |
Revision as of 22:04, 8 August 2017
W32TM
What Time Server am I using?
- w32tm /query /source
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
- Restart time service: net stop w32time && net start w32time
Local W32TM Server Setup/Commands
Set DC as Server
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