VMware Horizon Community
HPU-ADM
Enthusiast
Enthusiast

Setting TimeZone on a VM

I am trying to set a vdi's timezone.  How do i do that with DEM, use the ADMX settings?  The GPO i think i need to set is below.

Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\TimeZoneInformation

  

I believe I want to set the TimeZoneKeyName, StandardName and DaylightName.  I assume this would be in the Computer ADMX-based settings but couldn't find it. I also checked in the User ADMX-based settings and didn't find it.

I want to set the computer TimeZone to always be HST.

I h

0 Kudos
3 Replies
ijdemes
Expert
Expert

To set a fixed time zone, you can use one of the options from this article —> https://dennisspan.com/configuring-the-time-zone-and-code-page-with-group-policy/

To set a dynamic or fixed time zone using powershell, you can use (parts from) this article —> Exporting/Importing Time Zone settings using VMware UEM · ivandemes.com


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
HPU-ADM
Enthusiast
Enthusiast

I found this and similar suggestions from 2017 doing google searches.  I was hoping to keep all my configuration inside of DEM and not have to have any GPO's.  But if this is the only way, even in 2020, then ok.  I'll use the GPO method.

0 Kudos
ijdemes
Expert
Expert

Since you want to configure the same time zone for all, depending on the DEM version (version 2006 and higher), you will be able to configure the time zone system based using a Startup Task (Computer Environment tab) and utilizing PowerShell's cmdlet Set-TimeZone (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-timezone?view...).

This way you are managing the setting from DEM instead of using a computer-based GPO. By configuring it on a computer level using a Startup Task, you are not bothering the user during or after logon.


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
0 Kudos