Wednesday, August 1, 2012

Windows Time Cheat Sheet



How to Query w32time status on system:
1. Open a Command Prompt as administrator.

2. Type the following command and then press ENTER:

w32tm /query /status

-See Source: to determine host

3. If you see “the service has not been started” Type the following command and then press ENTER:

net start w32time
Then retry the query command           



How to Query w32time source on system:

1. Open a Command Prompt as administrator.

2. Type the following command and then press ENTER:

w32tm /query /peers

-See Source: to determine client



How to configure a client or member server for automatic domain time sync:
3. Open a Command Prompt as administrator.

4. Type the following command and then press ENTER:

w32tm /config /syncfromflags:domhier /update
5. Type the following command and then press ENTER:
net stop w32time

6. Type the following command and then press ENTER:

net start w32time



How to force a domain sync:
1. Open a Command Prompt as administrator.

2. Type the following command and then press ENTER:

Net Time /Domain:domain.local/SET
3. OR Type the following command and then press ENTER:

W32tm /resync /rediscover

 

See Link Below for setting NTP Source on Server.

Note: you can set server to use multiple sources.

http://technet.microsoft.com/en-us/library/cc786897(v=ws.10).aspx

No comments:

Post a Comment