(imported topic written by cstoneba)
Has anyone created a fixlet that changes the local time zone of a server running Win2008? I am able to change the time zone for <=win2003, Win2008R2, but not Win2008 (win2008 doesn’t have tzutil.exe like R2, and control.exe doesn’t work either).
if
{name of operating system as lowercase contains
"win2003"
} waithidden cmd.exe /c CONTROL.EXE TIMEDATE.CPL,,/Z Central Standard Time elseif
{name of operating system as lowercase contains
"win2008r2"
} waithidden cmd.exe /c tzutil /s
"Central Standard Time" endif set clock