Re: Time Zone Problems

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

From: Jim (jim_at_nomail.com)
Date: 02/01/05


Date: Tue, 1 Feb 2005 17:19:54 +0100

Thanks Jerold

I don't quite follow you: are you saying create a script of sorts with this
info, such as:

cd \
\\timeserver\netlogon\reg.exe query
\\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
StandardName
\\timeserver\netlogon\reg.exe query
\\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
DaylightName
\\timeserver\netlogon\reg.exe query
\\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
StandardStart
\\timeserver\netlogon\reg.exe query
\\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
DaylightStart
net time \\timeserver /set /yes

The above gives me the info that is helpful like time zone - but how would I
set the time zone?

Apologies - I am not so familiar with FOR commands.

regards

Jim

"Jerold Schulman" <Jerry@jsiinc.com> wrote in message
news:qg3vv0puepthf6r7moet0c6k41qv4jt6mt@4ax.com...
> On Tue, 1 Feb 2005 14:21:17 +0100, "Jim" <jim@nomail.com> wrote:
>
>>I control several networks on large ships. We have a consistent problem -
>>that of windows time. All the networks concerned are 2000 AD with all
>>clients running W2K Pro and a few XP Pro stations.
>>
>>If you change the time on the time server, it causes trouble. I can't rely
>>on users to change the time zone, so I keep all servers and clients on GMT
>>and I adjust the actual by + or - one hour during the night when we change
>>time zone. However, nearly always, this will cause some problem or other
>>for
>>some of the clients - sometimes loss of drive mappings, sometimes the
>>client
>>will not update fast enough and then cannot logon etc.
>>
>>What I really need is a client of some sort where I can control the time
>>zone from a central location, and then all clients and other servers poll
>>to
>>this source and change their time zones automatically.
>>
>>Can anyone help here?
>>
>>TIA
>>
>>Jim
>>
> Interesting problem.
>
> Lets assume that the master time server is \\timeserver
> In the netlogon share of \\timeserver, place reg.exe from the Windows 2000
> Support Tools on the CD-ROM.
> See tip 3968 in the 'Tips & Tricks' at http://www.jsiinc.com
> Each client should have a Scheduled Job that starts when the computer
> starts, and runs in the context of a domain admin account.
> Every minute, using @ping -n 61 127.0.0.1>nul (tip 4630), the job checks
> the time and timezone on \\timeserver in a FOR command
> using
> \\timeserver\netlogon\reg.exe query
> \\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
> StandardName
> and
> \\timeserver\netlogon\reg.exe query
> \\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
> DaylightName
> and
> \\timeserver\netlogon\reg.exe query
> \\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
> StandardStart
> and
> \\timeserver\netlogon\reg.exe query
> \\timeserver\HKLM\System\CurrentControlSet\Control\TimeZoneInformation /V
> DaylightStart
> and
> net time \\timeserver
>
> if the time is more than a few minutes different from the local time,
> determine wether DLT in in effect and issue:
> RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%\system32\TIMEDATE.cpl,,/Z
> StandardName or DaylightName
> (tip 7525)
> and
> net time \\timeserver /SET /YES
> goto the top and wait another minute.
>
>
>
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com



Relevant Pages

  • Re: [9fans] DNS server domain
    ... But if I query the server from other clients on the same network I've ... by "other clients" do you mean plan 9 systems or non-plan9 systems? ...
    (comp.os.plan9)
  • Re: SWbemDateTime to Win 2k Compatible
    ... The local time zone bias is read from the local registry. ... 'Prepare text files for query ... Const ForReading = 1 ... dtmEndDate = CDate ...
    (microsoft.public.scripting.vbscript)
  • Re: Load image
    ... I'm not sure I entirely understand your query; but I would be interested to ... know why you think there would be any contention if the image was stored ... clients who don't have the file might not be able to access the image. ... I also don't want to save it at server side since it may cause an ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Password Expires
    ... The program reads the time zone bias from the local registry, ... I have an example VBScript program that documents when all users last ... The program documents the user, if their password expires, and the ... You can use ADO to query for all users with pwdLastSet between these ...
    (microsoft.public.windows.server.active_directory)
  • Re: Time Zone Problems
    ... >that of windows time. ... >If you change the time on the time server, ... >on users to change the time zone, so I keep all servers and clients on GMT ...
    (microsoft.public.windows.server.general)