Skip to content
Настройка Правильного Времени на Вашем Windows Сервере – Почему это важно?
Возможно Вам будет интересно узнать, как неправильно установленные время и дата, могут повлиять на Ваш компьютер. Большинство пользователей скажут:”Возможно нет ничего серьезного”, но оказывается, это может привести к серьезным проблемам:
- Часы в Офисе и Вне Офиса – 3CX Phone System предлагает пользователям функцию Планирования рабочих часов, с автоматическим переключением на статусы Нет на месте / Вне офиса. Эта функция зависит от правильно установленного времени. В случае если, время на Вашем компьютере установлено неправильно, это отразится на ее функциональности. 3CX Phone System будет выполнять эти функции, основываясь на время установленное в Windows. Если время в Windows сконфигурировано ошибочно, то Вы будете удивлены, что Ваши статусы переключаются на Вне офиса / Нет на месте на час раньше .
- Выход и Вход Агентов в Очередь – 3CX Phone System позволяет пользователям автоматически Входить и Выходить из системы, полагаясь на настройки Часов Работы. Это крайне важно иметь правильное время, т.к. Администратор устанавливает время для опций “Выход из очередей, когда Вас нет на месте / Вне офиса”, полагаясь на настройки Рабочих Часов.
- Инсталляция и Сертификаты SSL – Если время установлено неверно, сертификаты установки / или SSL – сертификаты могут быть идентифицированы неправильно, что может создать проблемы в использовании 3CX Phone System на Вашем Windows.
- Клиенты HTTP – Клиенты HTTP также могут иметь проблемы с подключением, если время было установлено ошибочно.
- Проблемы Истории Вызовов – Эта проблема возникнет, т.к. эта опция основана на корректно установленном времени. История Вызовов не работает в установленном порядке, если время синхронизировано неправильно.
Настройка Правильного Времени на Вашем Сервере Windows
Для того чтобы установить правильное время в Windows, совершите следующие действия:
- Кликните на настройки времени в области уведомлений на панели задач, для выноса панели настроек времени, так как показано наверху. Затем кликните на Изменение настроек даты и времени.
- Во вкладке Дата и Время, кликните на Изменить часовой пояс в секции Часовые Пояса.
- Выберите правильный часовой пояс для Вашего местонахождения, кликом на список под полем Часовой Пояс и удостоверьтесь, что функция Автоматический переход на летнее время и обратно отмечена галочкой. Эта функция будет автоматически обновлять время, в зависимости от перехода на летнее время. Нажмите OK чтобы установить и сохранить.
- Вернитесь к вкладке Дата и Время. Кликните на кнопку Изменить дату и время.
- Выберите правильное время (введите в поле под имиджем аналогового циферблата) и дату, ( кликните на желаемую дату из календаря). Нажмите OK когда будет готово.
- После этого выберите кнопку Время Интернета и кликните на Изменить Настройки.
- Удостоверьтесь, что Синхронизация с Интернет Сервером Времени отмечена флажком и выберите сервер из выпадающего списка под полем “Сервер“. После выбора временного сервера, кликните на ‘Обновить сейчас’. Должно появиться сообщение, оповещающее Вас о том, что часы были синхронизированы, как показано наверху. Кликните на OK, чтобы вернуться к настройкам Даты и времени.
- Сейчас Вы установили правильное время и дату на Вашем Windows. Эта процедура гарантирует, что время на Вашем Windows установлено правильно и что все обновления перехода на летнее время для Вашего часового пояса применены правильно, что избавит Вас от многих проблем в будущем.
Дополнительное Устранение Проблем
Если Вы уже попробовали процедуру, описанную в Установке правильного времени на Windows и Ваше время не изменилось на правильное, тогда возможно у Вас существуют следующие проблемы:
- Встроенные Часы Реального Времени ПК неисправны.
- Требуется замена батареи материнской платы, т.к. она не заряжается и не может обновлять время на Вашей материнской плате.
- Дефектный источник питания (чрезвычайно редкая проблема).
- Если изображение было восстановлено с другого компьютера, то возможно файл ‘Hal.dll’ будет несовместим из-за другого CPU, отличающегося от компьютера с которого был взято изображение. В этом случае, Вам нужно установить заново оперативную систему на Вашем компьютере.
Похожие записи
Page load link
При попытке сменить часовой пояс некоторые пользователи могут столкнуться с ошибкой: «Продолжение невозможно. У вас нет разрешения на выполнение этой задачи. Обратитесь за помощью к сетевому администратору».
Есть 2 способа решения проблемы:
- Кликните «Пуск», наберите в строке поиска timedate.cpl, запустите оснастку от имени администратора, установите необходимые настройки и сохраните.
- Или разрешите изменение часового пояса в политиках безопасности. Для этого кликните «Пуск», наберите в сроке поиска gpedit.msc, запустите оснастку и перейти по адресу Конфигурация компьютера —> Конфигурация Windows —> Параметры безопасности —> Назначение прав пользователя. Откройте политику «Изменение часового пояса» и добавьте пользователя Admin. Сохраните настройки и перезагрузить облачный сервер.
Дата обновления 19.06.2024
The correct date, time, and time zone are one of the first settings a Windows Server should have. In today’s article, we’ll see how we can change time, date, and time zone through the graphical environment, command line and Powershell.
Set time, date, and time zone settings from the graphical interface
The process is very simple. Right-click the time field in the lower right corner and then click the Adjust date/time option.
In the settings window, you can change the time, date, and time zones of each Windows Server. I do not think there is a need for further guidance as it is a simple process.
Alternatively, you can open the time and date settings window by clicking on the corresponding field in the Local Server section of the Server Manager.
As you will see, in this case, opens the “old” management window through which you can set the time, date and time zone.
Set time, date, and time zone settings on command prompt
By typing the following command will open the time and date setting window, even in a Server Core installation.
To display the current date and time, enter the following commands.
To set time and date, you can use the corresponding Time and Date commands at the command line.
In Windows Server 2012 have been added the Timezone Utility (tzutil) tool that allows us to display and set a time zone through the Windows command line.
First, open the command line with administrator privileges and make sure you are in the System32 folder.
To display the current Windows Server Time Zone, type the following command.
To display all available time zones, type the following command.
To change the current time zone in Windows Server, type the following command, between the doubles, enter the time zone as it appears in the list of the previous command. For example, for the Greek time zone type:
tzutil /s "GTB Standard Time"
To confirm that the time zone has changed, you can see the corresponding registry entry by using the following command from within the same command-line window.
reg query HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
[pro_ad_display_adzone id=”1683″]
Set time, date and time zone settings on Powershell
To view the current date and time, type the following command.
To set the time and date through Powershell the process is very easy. Use the following command as an example by changing the date and time values.
Set-Date -Date "06/06/2017 14:45"
Alternatively, you can simply type the Set-Date command and promptly you will be prompted to enter the server’s date and time.
To view the current time zone through Powershell, type the following command.
Before changing the time zone, you will need to know the right name. Type the following command to see all available time zones in Windows Server.
Get-TimeZone -ListAvailable
To change the time zone, use the following command along with the corresponding time zone of your server.
Set-TimeZone -Name "GTB Standard Time"
Network Time Protocol (NTP) is a highly scalable internet protocol that determines the best time information and synchronizes accurate settings on a computer system. This guide explains how to set the time zone and configure NTP on a Windows Server.
This guide uses Windows Server 2019, but these instructions work on any machine with Server 2016 or later.
Prerequisites
Before you begin:
- Deploy a Vultr Windows Server.
- Connect to the server.
Set the Timezone
- Using the Windows Start Menu, open Server Manager.
- Locate Time zone in the local server properties section.
- Click the current timezone, which is UTC Coordinated Universal Timeby default.
- In the Date and Time window, click Change time zone.
- Expand the Time zone drop-down list.
- Select your preferred timezone. It’s recommended to set it to your server location.
- Click OK to save changes.
- Click Apply to load changes on the server.
- Re-open Server Manager, and verify the timezone change.
Optional: Set the Timezone using PowerShell
-
From the start menu, open Windows PowerShell, or open the run dialog (Win key + R), type
powershellin the search bar, and click OK to start PowerShell. -
Run the following command to check the server timezone.
PS > Get-Timezone -
View all available timezones.
PS> Get-Timezone -ListAvailableTo find your target timezone, use the following command to filter by name.
PS> Get-Timezone -ListAvailable | Where-Object {$_.displayname -like "*US*"}> The command above displays all names containing the characters
US. You can use a different string such as London. -
Change your timezone.
PS> Set-Timezone -Name "Central Standard Time"You can also change the timezone by ID.
PS> Set-Timezone -Id "Central Standard Time"
Configure NTP
In addition to setting the timezone, you can also configure Windows to use NTP to synchronize the time.
-
Open the Run dialog window by pressing the Windows key (WIN) + R on your keyboard.
-
In the search bar, enter
regeditand click OK to open Registry Editor. -
Expand the registry navigation tree:
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services
-
Expand W32Time.
-
Click Config.
-
Select AnnounceFlags
-
Enter
5in the Value data field. -
Click OK to save changes.
-
In the left pane, click Parameters.
Optional: Change the NTP Server
By default, Vultr uses the time.constant.com time server, located on our high-speed infrastructure. If you want to use a different time server, you can change the value of the NtpServer parameter by following these steps.
-
Double-click NtpServer
-
Change the value data field to your preferred value. For example, to sync with the United States NTP pool, use:
us.pool.ntp.orgYou can find a list of NTP Pool servers at the official website.
-
Expand TimeProviders.
-
Click NtpServer.
-
Double click Enabled, change the value data from
0to1, and click OK to save changes. -
Close the registry editor, open the start menu, and search the keyword
services. -
In the services window, scroll through the list, select Windows Time, right-click, and select Restart to apply NTP changes.
Optional: Configure NTP Using PowerShell
If you prefer to use Powershell, you can use the following commands to configure NTP.
-
Open PowerShell with administrative privileges.
-
Check the NTP time synchronization status.
PS> w32tm /query /status -
Enter the following command to set the time AnnounceFlags to
5.PS> Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Config" -Name "AnnounceFlags" -Value 5 -
(Optional) If you want to use NTP pool servers instead of Vultr’s NTP server, run the following command.
PS> Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\w32time\Parameters" -Name "NtpServer" -Value us.pool.ntp.org -
Enable NTP Server.
PS> Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpServer" -Name "Enabled" -Value 1 -
Restart the Windows Time service.
PS> Restart-Service w32Time -
Test NTP synchronization.
PS> w32tm /resync
Next Steps
You have successfully set the timezone and configured NTP on Windows Server 2019. If you plan to have other machines on a Vultr VPC use your NTP server, allow port 123 in the Windows Server Firewall. For further information, refer to the following guides.
- Official NTP Documentation
- List of database TimeZones
- Configure the Firewall on Windows Server 2019
- Create A Vultr Virtual Private Cloud (VPC)
Have you just installed Windows Server 2022 Desktop Experience edition, and found it’s configured to US time and can’t change it?
Open an elevated command prompt (Start Menu > type cmd > right click > Run as Administrator)
Enter timedate.cpl to open the old Time & Date applet…
And change the settings to whatever is appropriate…
