Change timezone from command
how to change timezone from command in windows server 2008Sudhir
July 1st, 2009 1:45pm

Hi, 1. Open an elevated "Command Prompt". 2. Now provide any of following commands: tzutil /g (To know current time zone) tzutil /l (To get a list of all available time zones) tzutil /s time_zone_ID (To change time zone) Fox example, if you want to set the time zone to "Pacific Standard Time", then the command would be: tzutil /s "Pacific Standard Time" Best regards, Vincent Hu
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 2:20pm

HelloVincent,as far as i know tzutil comes with windows 2008 R2, 64bitand windows 7, it is not included in 2008.Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
July 1st, 2009 2:27pm

Yes tzutil comes with windows 2008 R2, 64bitand windows 7. i am looking for only windows 2008 server not R2Sudhir
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 2:37pm

Hello,if you have te equivalent 32/64bit just copy the file to the 2008 machine and try if it works.Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
July 1st, 2009 2:41pm

hi Vincent, meinolf is correct windows 2008 doesnt has tzutil.exe, its supported OS is windows 7 and windwos 2008 r2. But as platforms are same you can copy the util to system32 and change the timezone from command prompt. sainath !analyze
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 2:55pm

tzutil.exe will notwork on server 2008Sudhir
July 1st, 2009 3:31pm

hi there, yes i tested by copying tzutil.exe from windows 2008 r2 to windows 2008 server, and it gives me an error ( os incompatibility error )sainath !analyze
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 3:50pm

Hello,even with the correct bit version?Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
July 1st, 2009 3:59pm

yes meinolf even with the correct bit virsionSudhir
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 4:07pm

hi ,i tried using RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z (GMT+02:00) indiabut it didnt work in windows 2008, i find that control.exe is not present.sainath !analyze
July 1st, 2009 4:25pm

Hello,i alsotried the RunDll....... command before. What you can do is to extracta correct configuredregistry key and import it with "reg add" in a startup script on the 2008 servers.HKLM\System\CurrentControlSet\Control\TimeZoneInformationBest regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 4:46pm

no i cannot import the reg as the timezone change will vary with systemsSudhir
July 1st, 2009 5:03pm

HelloVincent,as far as i know tzutil comes with windows 2008 R2, 64bitand windows 7, it is not included in 2008. Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. Hi, Sorry, my miss. It seems that we can't change the time zone directly through the command prompt. I wonder what's the OS are you using? Do you want to change the time zone in Windows 2008 Server Core edition? If so, you can run Control timedate.cpl in the command prompt line, this will fire up the Time and Date Control Panel applet, you can change the time zone later. Best Regards, Vincent Hu
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2009 5:06pm

Vincent,i am using 2008 standard full edition. i can open the Time and Date Control Panel applet on mouse click. but i want it to be done without showing UI. Iwonder howmicrosoft doing.Sudhir
July 1st, 2009 5:43pm

Hi, You may try to use PowerShell. Setting the Time Zone using Windows PowerShell http://blogs.technet.com/deploymentguys/archive/2009/06/07/setting-the-time-zone-using-windows-powershell.aspx Best regards, Vincent Hu
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2009 2:13pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics