Windows Time Service

  1. Configure the Domain Controller (PDC Emulator) to be the Time Server.
  2. My time source is NTP POOL PROJECT.
  3. All domain client computers should sync Windows Time with PDC Emulator via GPO.
  4. In Group Policy Management, edit Default Domain Policy.  Note: this environment is Windows 2008 R2.  Windows 2003 should work the same.
  5. Navigate -> Computer Configuration\Policies\Windows Settings\Security Settings\System Services
  6. Service Name: Netlogon, Startup: Automatic, Permission: Configured; -> Edit Security and add LOCAL SERVICE account with Full Control.
  7. Service Name: Windows Time, Startup: Automatic, Permission: Configured; -> Edit Security and add LOCAL SERVICE account with Full Control.
  8. Restart domain computers to take affect.  Windows Time service should start automatic.  Or run this command.> gpupdate /force

Note: On step 4, if you’re not sure you should edit Default Domain Policy or Default Domain Controller Policy, you need to use the Resultant Set of Policy tool.  See steps below.

  1. On any domain client computers, go to run cmd and type rsop.msc and click OK.
  2. Navigate -> Computer Configuration\Windows Settings\Security Settings\System Services
  3. Service Names: Netlogon and Windows Time, locate what is their Source GPO (far right column).  If it’s Default Domain Policy then you need to edit Default Domain Policy in Group Policy Management.
  4. Exit Resultant Set of Policy without saving.

 

w32tm /?

  • Time /T -> outputs the current system time.
  • w32tm /query /status -> outputs time source, last sync, poll interval, stratum, etc.
  • w32tm /query /computer:TargetName /status or /configuration
  • Time /T /computer:TargetName -> outputs TargetName’s current time.
  • w32tm /register -> register to run as a service and add default configuration to the registry.
  • w32tm /unregister -> unregister service and remove all configuration information from the registry.
  • net stop w32time && net start w32time

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s