When you need to set up the time zone in Windows operating systems (like as Windows Server, Windows 10, etc) a simple command-line utility tzutil.exe (Windows Time Zone Utility) can be used. Firstly, this tool was discovered in Windows 7. The utility executable file is stored in the %WINDIR%\System32 directory.
One of the most important key parameters of time, in addition to the current time and date, in all computer information systems is the Time Zone. The time zone on the computer is set according to the location. This will correctly display the time in your operating system.
In today's article, we will deal with the capabilities and features of using the TZUtil utility to change the time zone in Microsoft Windows 10.
Changing the time zone by default does not require the user to have administrative rights (as opposed to changing the time / date). You can change this behavior using local security policies (Local Security Settings — secpol.msc).
The setting we are interested in is in the section:
Security Settings -> Local Policy -> User Rights Assignment
We need the policy named Change the time zone.
At the moment, both the system itself and all ordinary users and administrators can change the time zone on the computer. Then you must remove users from the list of accounts in the described policy. This will prevent regular users from changing the time zone themselves.
Open a command prompt as an administrator: right-click on the "Start" menu and select "Command Prompt (Administrator)";
To see which time zone is currently selected, on the command line, type
tzutil /g> and press Enter;
tzutil /l and press Enter. This command will display all available time zones
To set the time zone with daylight saving time, you need to write
tzutil /s "Time Zone" on the command line and press Enter. Instead of
"Time Zone" write the time zone you need.
For example, we want to set the time zone UTC + 02: 00) Vilnius, Kiev, Riga, Sofia, Tallinn, Helsinki FLE Standard Time. Enter the command
tzutil /s "FLE Standard Time" and press Enter.
If you want to set the time zone without daylight saving time, type
tzutil /s "Time zone _dstoff" on the command line and press Enter. For example, we ask UTC + 02: 00) Vilnius, Kiev, Riga, Sofia, Tallinn, Helsinki FLE Standard Time. Enter the command
tzutil /s "FLE Standard Time _dstoff" and press Enter.
The desired time zone is set, you can close the command line.
Also consider using Action1 to change the time zone in command prompt if: