In some cases it might be desired to have the time zone set per session (e.g. user setting or app setting).


This can be achieved with the following configuration:


  1. Allow time zone redirection in GPO
    Enable "Allow time zone redirection" under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection

  2. Set the following PowerTag at server or cluster level (can also be set on company level)
    !STARTUP_BEFORE_SYNC_PS1=Set-Timezone -Id "$env:CAMEYO_TIMEZONE"

  3. Set the following PowerTag in the cluster or server (or company)
    !TIMEZONE=W. Europe Standard Time
    This sets the default time zone for all sessions as per DEFAULT there is NO TIMEZONE SET when using the above GPO!


  4. Set this PowerTag on the desired user or app to overwrite the above
    !TIMEZONE=Tokyo Standard Time


To list all available time zones open a PowerShell Terminal and run the following command:

Get-TimeZone -ListAvailable

The result is something like:

Id                         : Hawaiian Standard Time
DisplayName                : (UTC-10:00) Hawaii
StandardName               : Hawaiian Standard Time
DaylightName               : Hawaiian Daylight Time
BaseUtcOffset              : -10:00:00
SupportsDaylightSavingTime : False

where you have to take the "Id" to set it in the !TIMEZONE PowerTag