А чем в винде сейчас модно с ntp-серверами синхронизировать время?
Вид для печати
А чем в винде сейчас модно с ntp-серверами синхронизировать время?
Windows XP/2003
If your computer is a member of a domain, your computer clock is probably synchronized automatically by a network time server. If your computer is not a member of a domain, you can synchronize your computer clock with an Internet time server
To change the clock synchronization server.
Open Date and Time in Control Panel.
Click the Internet Time tab.
The Internet Time tab is not available if your computer is a member of a domain. See time synchronization in a domain.
Select the Automatically synchronize with an Internet time server check box.
In the Server box, enter the name of the ClockWatch timeserver configured in the step above. Use the network name of the computer (or the IP address).
Click Update Now to test the connection to the timeserver.
Notes
To open Date and Time, click Start, click Control Panel, and then double-click Date and Time.
Internet time synchronization updates your clock on a regular basis, but only when you are connected to the network. It takes just a moment and should not interfere with your work.
Windows 2000
Windows 2000 (Professional and Server) use a time synchronization service to synchronize the date and time of computers running on a Windows 2000-based network.
If you are using Active Directory -
Synchronized time is critical in Window 2000 because the default authentication protocol (MIT Kerberos version 5) uses workstation time as part of the authentication ticket generation process. If your Windows 2000 clients belong to a Windows 2000 Active Directory Domain see time synchronization in a domain.
If the Windows 2000 clients belong to a workgroup -
you can manually configure the time synchronization settings:
Setting the timeserver
You can set the timeserver using the following net time command with the setsntp option, where server_name is the DNS server name, and ':' is the required conjunction.
net time /setsntp:server_name
Alternatively, you can use the server's IP address:
net time /setsntp:server_IP
For example if the server name was 'beagle' you would issue the following command:
net time /setsntp:beagle
You can then test the connection to the timeserver by typing:
w32tm –once
To check which timeserver you're currently using, type:
net time /querysntp
Turning on the Time Service
To synchronize with the timeserver the Time Service must be running on the client. You can start and stop the Time Service using the Windows Control Panel
You can also start and stop the time service using the net start/stop command:
To manually start W32Time using net start at the command prompt, type:
net start w32time
To manually stop W32Time using net stop at the command prompt, type:
net stop w32time
Windows NT The Win32 Network Time Synchronization Service (W32Time.exe) was not part of the base configuration in Windows NT. It was included in the Windows NT Resource Kit utilities. Refer to the program documentation for configuration to another timeserver. Alternatively, you can use the ClockWatch Client
Windows 95/98/Me
The Win32 Network Time Synchronization Service does not run on Windows 95/98/Me.
Перевод в двух словах:
В ХР - если в домене, то синхронизация идет автоматически с домен контролером. Если не в домене, то в настройках даты и времени есть вкладка где можно указать сервер.
w2k - такой командой net time /setsntp:server_name
NT тоже самое, но только после установки Windows NT Resource Kit utilities
Windows 95/98/Me - стандартно никак
Блин, думал что на компе батарейка села, а оказалось что на доменном контроллере время сбилось. Спасибо!
А доменный контроллер синхронизировал утилитой cmdtime. Че-то штатную синхронизацию с нетом в 2003-й винде так и не нашел.
[QUOTE=anray]Блин, думал что на компе батарейка села, а оказалось что на доменном контроллере время сбилось. Спасибо!
А доменный контроллер синхронизировал утилитой cmdtime. Че-то штатную синхронизацию с нетом в 2003-й винде так и не нашел.[/QUOTE]
net time /querysntp
net time /setsntp:server_IP