Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to verify a user's configured time zone from the command-line? I'm trying to help a third-party user with a time related issue and they don't have access to their "Date and Time Properties" Window (it's explicitly blocked).

I tried checking with the date and time commands but neither of them show the actual time zone.

share|improve this question
    
Is there a reason the Date and Time Properties can't be unblocked? – Tom Wijsman Jul 30 '10 at 20:39
1  
@TomWij: It could be group policies. I had to disable it one a bunch of client PCs because people were looking at the calendar to see when holidays were and hitting "OK" instead of "CANCEL" when done. This REALLY screws up stuff in a timestamped SQL database. – JNK Jul 30 '10 at 20:44
    
@TomWij - I don't directly manage the user so I'm not sure what the administrative decision was. Most of their workstation was locked down so I presume it's indeed a group policy. – Mike B Jul 30 '10 at 22:18
up vote 5 down vote accepted

Timezone is a part of the "systeminfo" command output.

share|improve this answer
    
Thanks! This was quite helpful. – Mike B Jul 30 '10 at 22:31

There is a utility in these MS support tools called TimeZone.exe that should fit the bill. There's not a command in native XP for this.

It is in the registry in

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Time Zones

But I couldn't tell you what the names should be, and if they are locked out of date/time I'm guessing they are locked out of the registry too.

share|improve this answer
    
Excellent response. Thank you very much. – Mike B Jul 30 '10 at 22:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .