As noted in previous articles, Windows Server 2008 has an interesting option to install it with a minimal graphical user interface (or GUI for short). This method of installation is called "Server Core", and it allows an administrator to only install the minimum binaries required to run a specific server role (currently, there are 9 possible Server Core roles). You can read more about it on my upcoming "Understanding Windows Server 2008 Server Core" article. Since there are virtually no graphical tools to use in Server Core, one must be able to configure its settings via Command Prompt, PowerShell or other means. See my site for a growing list of additional articles on these subjects.
As you may all know, setting the right time, date and time zone on a windows machine is crucial for it to properly function, especially in an Active Directory environment. Since our Server Core machine will most likely be a part of an AD domain, we need to properly configure it as well.
In order to configure time, date, and time zone settings on a machine running Windows 2008 Server Core, please follow these steps:
- On the server running a Server Core installation, type the following command at a command prompt:
This will fire up the Time and Date Control Panel applet (one of two .CPL survivors on Server Core…)
- In order to change the clock and date, press the Change Date and Time button.
- In order to change the time zone, pres s the Change Time Zone button.
- When done, press Ok to close the applet.
Note about working in an Active Directory environmentNote that as with any domain member, the Server Core machine will automatically synchronize its clock with the Domain Controller it was authenticated against, or with the Domain Controller holding the PDC Emulator FSMO Role. Read more about it on the "UnderstandingFSMO Roles" article.
To configure the Server Core machine to synchronize its clock with the PDC Emulator, type the following command:
w32tm /config /update /syncfromflags:DOMHIERThen, in order to force a time synchronization, type the following command:
w32tm.exe /resync /nowait