Latest posts by Wolfgang Sommergut (see all)
- Migrate a WSUS database from WID to SQL Server - Mon, Jan 13 2020
- Audit changes in the Windows registry - Wed, Jan 8 2020
- Move WSUS database and content (updates) to a different drive or folder - Wed, Dec 11 2019
Normally, even standard users can change the time zone settings in Windows. However, in Server 2019, not even administrative privileges are sufficient for this action. At least, that's the impression given if you were to believe the error message.
If you try to change the time zone in the control panel, the action will fail. You will receive a notification that you do not have the permissions to perform this task and that you should contact the administrator.
As expected, the settings app is also unable to configure the time zone. Here, you do not even get an error message; the dialog simply resets itself to the original time zone after exiting. The latest cumulative updates do not eliminate this bug.
But if you still want to use a GUI for this task, you can circumvent the problem by starting the control panel's timedate.cpl applet directly, with administrative rights.
Adjusting the time zone via tzutil ^
Otherwise, you can open the command line as an alternative. The tzutil.exe utility is used to change the time zone. Its usage is relatively simple. Use
to list the time zones available on the system. Change to the desired zone using the following command:
tzutil /s "W. Australia Standard Time"
In this example, you would set the time zone to Western Australia.
More Options via PowerShell ^
If you prefer PowerShell for this task, the Get-TimeZone and Set-TimeZone cmdlets serve this purpose. The former is used to display the names of the available time zones. You can filter the output to narrow the results. The following command shows all time zones for Australia:
Get-TimeZone -ListAvailable | where StandardName -like "*Austral*"
Pass the StandardName of the required time zone to Set-TimeZone:
Set-TimeZone -Name "W. Australia Standard Time"
However, unlike through the GUI, it is not possible to select certain cities in a time zone in this way. If you want that, then you can use the following command:
Get-TimeZone -ListAvailable | ? DisplayName -like "*Berlin*"| Set-TimeZone
The tzutil.exe utility does not provide a solution to this problem.