Never without my permission, Redux

by Michael S. Kaplan, published on 2007/05/20 12:38 -04:00, original URI:

Some of you fans of The Fifth Element may recall my post You want to change the time zone? Eto Akta Gamat! from last September.

It occurred to me after Bruce asked over in the Suggeston Box a question:

The old "control.exe timedate.cpl,,/Z Pacific Time Zone" doesn't seem to work in Vista.  Is there an equivalent command that will change the client's time zone and refresh their clock immediately?

It is easy to see why (since although one can give oneself the privilege at any time, one does not have it by default) not having SE_TIME_ZONE_NAME on the process trying to change the time zone could lead one to not being able to change it....

I guess now the only problem is that as far as I can tell WMI on Vista does not know anything about an SeTimeZonePrivilege in the Privilege Constants? :-(


This post brought to you by(U+0d60, a.k.a. MALAYALAM LETTER VOCALIC RR)

# Dean Harding on 20 May 2007 7:12 PM:

Although, the behaviour I see is not that you get an error -- it just pops up the "Date and Time" control panel applet without doing anything. Perhaps someone forgot to implement that "feature" while re-doing the UI?

# Michael S. Kaplan on 20 May 2007 10:35 PM:

Bruce wasn't complaining about an error either, though. And that permission does have to be added (even in the UI that's true)....

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2008/06/29 Did someone break GetTimeZoneInformation in XP?

go to newer or older post, or back to index or month or day