PDA

View Full Version : Modifying Timezone Programmaticlly (W2K)



jfparks
05-05-2003, 12:33 PM
I have been able to modify the timezone information in the registry via a shell script. For example, something like:

WshShell.RegWrite("HKLM\\SYSTEM\\CurrentControlSet\\Control\\TimeZone Information\\ActiveTimeBias",420,"REG_DWORD");

However, the changes do not actually take effect.

How can I notify the OS of the changes so that the new timezone value in the registry take effect for the system?

Thanks for any help.