Re: Updating Time Zone via batch question
- From: "John John (MVP)" <audetweld@xxxxxxxxxxx>
- Date: Tue, 08 Apr 2008 21:58:57 -0300
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
- Follow-Ups:
- Re: Updating Time Zone via batch question
- From: Greg Hines
- Re: Updating Time Zone via batch question
- References:
- Updating Time Zone via batch question
- From: Greg Hines
- Updating Time Zone via batch question
- Prev by Date: Re: Outlook Express Emails
- Next by Date: Re: Filesharing disabled. How to copy files across machines ?
- Previous by thread: Re: Updating Time Zone via batch question
- Next by thread: Re: Updating Time Zone via batch question
- Index(es):
Relevant Pages
|