• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6418
  • Last Modified:

Command Line Time Zone Change

I work for a restuarant chain with XP pro as servers and Windows 98 clients for cash registers in each location. Most of these are remote and I need a way to change the time zone from Indiana East to Eastern Standard time, without visiting each computer. I have found utilities for nt based machines but not 98. Also I can connect remotely to the servers with PCanywhere. Thanks in advance.
  • 5
  • 3
2 Solutions
Well, see here


This is the location of the Time Zone information in the registry that's being used.  All you have to do is change it. That's where the problem start.



Shows you how to edit the Time Zone information for each country and will show you where in the registry it is..  The trick is to get the information for your region in this area into the location of the Time Zone information that's being used.

From what I can determine, these settings are stored in the registry.
The following two examples shows the differences when I changed from GMT to US Eastern Standard Time using the traditional Tim/Date Control Panel Applet and just accessed the "Time Zone" Drop-Down list:


"StandardName"="GMT Standard Time"
"DaylightName"="GMT Daylight Time"


"StandardName"="US Eastern Standard Time"
"DaylightName"="US Eastern Daylight Time"

Note: the following values were unaffected, but have been included for completeness:


The results do not require a restart, and I'm sure that they could be easily applied by running a .REG Script or using Remote Registry Server as an administrator.

What this DOESN'T DO is actually change the system time.  I don't know of a way to do this other than from the Time?Date Control panel Applet or using DOS commands:

Echo 15.30.00 | Time
Echo 21/03/2006 | Date


TIME 15.30.00
DATE 21/03/2006

There is probably a Visual Basic or Windows Script that could change the Time Zone AND the system time elegantly and in one pass, but I'm not a programmer.

As far as tools to change the time zone, I don't know of any.  The nearest Win98 gets is a tool to create your own custom time zones CD:\tools\reskit\config\tzedit.exe
This link shows you how to activate the various applets in the Control Panel.

You could call up the Date/Time applet and change the items that way.

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Hmmm, just nipped in ahead of mine there dbrunton :-)

You might be able to add a command to the one of the "RunOnce" registry keys eg:
causing regedit to run a batch file to change the Time & Date and then call regedit to import a .REG file the first time the system is rebooted:

Rob van der Woude's pages are annoying the way they load in a frame and you can't get the url to return to the exact page.  I think this is the RunDLL command you were referring to dbrunton:

Date/Time Properties:
    rundll32.exe shell32.dll,Control_RunDLL timedate.cpl

Pick a Time Zone Dialog (Doesn't work for me, just shows the same dialog):
    rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,/f

You would then need to pass keystrokes to the GUI to get it to do the job.  I remember using a util from one of the PC mags to do this, it was a 16 bit app that I can't remember the name of.

Trouble is you have to install an app, hmm these are 98 machines connected to servers so they should be able to access an app installed on a server.

There's Winbatch and others that could do the keystroke task.
mr kev
Can you access the registries of each of the terminals on your network remotely?

I can't recall, but I think the remote Win98 terminals have to be running the remote registry service (CD:\tools\reskit\netadmin\remotreg\regserv.exe) to enable registry access from a remote network source.
As you may conclude, networking is not my strong point, so I would welcome contradiction with this one :-)

There are other 3rd-party utilities that allow you to take over the remote computer as though it was your own, but they also normally have to have a client service running on the remote computers to work.

Thank you LeeTutor and GranMod

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now