Some hints for useing the GetTime utility. ------------------------------------------ Last update: 05.12.2001 by Anton Kappeler GetTime utility is intended to synchronize a computers clock with the current time by use of a network or internet. It is designed for Windows 95/98/SE and Windows NT4.0/NT2000. The time server must support the SNTP protocol. The standard port 123 is used. 1. Common problems ------------------ Some commen problem is the internet name resolution. The GetTime utility uses an internet URL or the IP address. If the name is passed as parameter, a DNS must be available to resolve the IP address. However, if the time server can't be pinged by name or IP address, GetTime will also fail. 2. Windows NT server -------------------- The GetTime utility can be invoked by an AT command. To invoke GetTime every day at 03:30AM the AT command looks like: AT 03:30 EVERY:M,T,W,TH,F,S,SU C:\WINNT\GETTIME /s Remember: The service 'Schedule' must be running. 3. Workstations --------------- The time of the workstations can be synchronized in the logon scripts. For a NT computer by: NET TIME /DOMAIN: /SET /Y For non NT computers by: NET TIME /WORKGROUP: /SET /Y 4. Syncronize time without network ---------------------------------- Create a batchfile with the single line: C:\WINDOWS\GETTIME /s Add the batchfile to your AUTOSTART folder. Assuming the GetTime utility is in the windows directory. 5. Finding a suitable time server --------------------------------- Use an internet search engine and search for the words: Public NTP Primary (stratum 1) Time Servers and you will be propted with a list of possible sources. Copyright (C) 2001 by BonusData AG