PC Review


Reply
Thread Tools Rate Thread

Change Time Zones

 
 
Ben Mills
Guest
Posts: n/a
 
      22nd Dec 2003
is there a way to change Time Zones from an MSI Script?
Or any other scriping method?
 
Reply With Quote
 
 
 
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      23rd Dec 2003
Ben Mills wrote:

> is there a way to change Time Zones from an MSI Script?
> Or any other scriping method?


Time zone change using the command line utility Control.exe (Win2k/WinXP):


Control.exe TIMEDATE.CPL,,/Z (GMT-08:00) Pacific Time (US & Canada); Tijuana

alternatively:
RUNDLL32.EXE SHELL32.DLL,Control_RunDLL TIMEDATE.CPL,,/Z (GMT-08:00) Pacific
Time (US & Canada); Tijuana

where '(GMT-08:00) Pacific Time (US & Canada); Tijuana' is the timezone to be
set.

Input value behind /Z is from the Display value under the registry key
'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones'

You can use the Std value in those registry keys as well, this is equivalent
with "(GMT-08:00) Pacific Time (US & Canada); Tijuana":

Control.exe TIMEDATE.CPL,,/Z Pacific Standard Time



--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar should not change event times when time zones change. =?Utf-8?B?bGF3cmVuY2U=?= Microsoft Outlook Calendar 0 9th Sep 2006 07:29 PM
How do I change time zones without my appointments being changed? =?Utf-8?B?QUpST0xMRVI=?= Microsoft Outlook Calendar 1 5th Oct 2005 07:02 PM
I would like to set items in Outlook that change time zones. (ie.. =?Utf-8?B?QnJlbmZ1bjI=?= Microsoft Outlook Calendar 4 21st Mar 2005 05:05 PM
Change Time Zones BeccaF Microsoft Windows 2000 4 22nd Dec 2003 10:37 PM
Time Zones change messes up all appointments =?Utf-8?B?VGhvcmJqb3Ju?= Microsoft Outlook Calendar 1 28th Nov 2003 03:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:10 AM.