Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows XP

Hi guys,

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.

-M

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
add comment

2 Answers

up vote 4 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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.