Forum Discussion

Martinlangof640's avatar
Martinlangof640
Copper Contributor
Jul 31, 2019
Solved

Virtual Desktop in Azure change TimeZone (+UTC 01:00)

Hello all,

 

I had set up Windows Virtual Desktop in Azure vor the Company 

everthing worked fine after a while and ist really a coo,l Thing!!

 

But!

One Thing i cant find for days.. where i can adjust the Timezone Permanet (as Admin) 

If i Change the Time Zone to (UTC+01:00) after the next log in it switched Auto to (UTC)

and the Keyboardlayout also.

 

 

Greetings

Martin

6 Replies

  • corner255's avatar
    corner255
    Copper Contributor

    Does this mean that you want to match the time zone between the VM and the operation source client?

    In my case, I created a group policy according to this link.

     

    https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-customize-master-image#set-up-time-zone-redirection

    • Martinlangof640's avatar
      Martinlangof640
      Copper Contributor

      corner255 

       

      Hey thanks for the respond in my case this simle Code worked fine :

      to Keep it persist

       

      $tz = Get-TimeZone -ListAvailable |Out-Gridview -Outputmode Single

      Set-TimeZone -ID $tz.Id

       

      but your link is a great Projekt for me in the Future thanks!!

  • Eric Liebler's avatar
    Eric Liebler
    Copper Contributor

    Martinlangof640 This powershell seemed to work for me!

     

    $tz = Get-TimeZone -ListAvailable |Out-Gridview -Outputmode Single

    Set-TimeZone -ID $tz.Id

    • Martinlangof640's avatar
      Martinlangof640
      Copper Contributor

      Eric Liebler 

       

      It works!

      Hey Eric thanks so much for your Reply , that easy Code saved my day it works and the timezone keeps now persist on the virtual desks

       

      • corrado49's avatar
        corrado49
        Copper Contributor

        Martinlangof640 Hi Guys!

         

        Can you elaborate more on how this script works? I only see that opens a new dialog and that's it.

         

        Did you set the new time and then run the script? What happened  when the user logs the next day to a different AVD?

Resources