Re: Updating Time Zone via batch question

Tech-Archive recommends: Fix windows errors by optimizing your registry



You can change the Time Zone with a simple command, example:

control.exe timedate.cpl,,/Z Time_Zone_Name

control.exe timedate.cpl,,/Z Eastern Standard Time

John

Greg Hines wrote:

Hi all,

I have a batch file that changes the time zone on XP PC's by updating the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] registy key.

The update of of registry works fine but the PC needs to be rebooted before the changes can be seen in the Date/Time Applet (datetime.cpl). Even a logoff/logon will not update the applet.

Does anyone know how I can make my changes to the registry appear in the applet without a reboot?

BTW - Restarting the Windows Time Service does not do the trick.

TIA

Greg


.



Relevant Pages

  • Updating Time Zone via batch question
    ... I have a batch file that changes the time zone on XP PC's by updating the ... The update of of registry works fine but the PC needs to be rebooted before ... the changes can be seen in the Date/Time Applet. ... applet without a reboot? ...
    (microsoft.public.windowsxp.general)
  • Re: Time and Date Synchronization - 1 hour difference
    ... There's nothing that you can do if you must continue using the old registry. ... You'd have to patch, somehow, the time zone settings in this old registry ... added a new function that is when press "OK"button in Date/Time Properties ... I checked the checkbox on *both* devices,and the sync time still have ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How can I configure Time Zone Automatically?
    ... I wrote more than once topic because the server show me a error msg.... ... newsgroup that is replicated across thousands upon thousands of other ... Essentially - the Time Zone setting is a registry value. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Daylight Savings Time Patch.
    ... Changing the time zone on the phone is not an option for me as I have many ... I've taken a look at the WM registry entries for the US DST changes as well ... you want a star-gazing app) that shows info about dates in the future. ...
    (microsoft.public.pocketpc)
  • Re: Setting correct TimeZone
    ... Whether and when to use DST is determined by values passed to the ... time zone information passed to that call correctly. ... OpenNETCF's registry support will write binary values... ... > it to SET the timezone to something I want. ...
    (microsoft.public.dotnet.framework.compactframework)