Configuring Time Zone in Windows / Windows Server from the Cmd / PowerShell
Let's note that the Time Zone, like Date/Time, is one of the significant parameters of a computer that affects the proper functioning of Windows and various applications. It is recommended to set the Time Zone according to the geographical location of the computer.
Granting permissions to change the time zone in Windows.
To restrict users from changing the time zone, you need to open Local Security Policy via the command line using the command: secpol.msc In the opened window, navigate the path: Security Settings -> Local Policy -> User Rights Assignment -> Change the time zone (Change time zone).
To restrict users' rights to change the time zone, you need to remove 'Users' from the list of user accounts. In Windows Server, users in the 'Local Service' and 'Administrators' groups can change the Time Zone.
Changing Time Zone in Windows / Windows Server.
Changing Time Zone in the graphical interface of Windows
In Windows 10 and Windows Server 2019/2016 operating systems, to configure the time and time zone, you can:
- go to the 'Settings' section through the 'Start' menu;
- go to the 'Settings' section by right-clicking on the clock icon in the taskbar, where you can select the 'Adjust date and time' option;
*By default, the 'Set time automatically' option will be checked. You can disable this option and manually choose the desired time zone from the drop-down list.
- run timedate.cpl from the cmd , and it will open the Windows time settings window where you can specify the Time Zone through the 'Change time zone' button.
Changing Time Zone from the cmd using the TZUtil utility
Open a command line cmd.exe
* we note that the utility tzutil.exe suitable for Windows 10/11, Windows Server 2016/2019/2022
First, determine the current time zone and its identifier (TimeZoneID). To do this, enter the command:
Now, if you are not sure of the exact name of the desired time zone, output a list of all time zones with their names and IDs using the following command:
You can also find an up-to-date list of time zones Windows from Microsoft
To change the current time zone, specify the identifier of the new time zone in the following format:
In the Windows registry, you can check the current time zone:
To disable daylight saving time for a specific zone, you must specify the time zone identifier with the ending: _dstoff
To display complete time zone information and seasonal clock settings, enter the following command :
Changing the time zone using PowerShell
To determine the current time zone in the PowerShell console, use one of the following commands:
To view a list of all available time zones in the PowerShell console, you can also use one of the following commands:
The list of all time zones is quite large, so for convenience we recommend using the filter where you specify part of the name, for example:
To change the current time zone from the PowerShell console, type the command:
*specify the name of the desired time zone in quotes.