Re: set time zone in group policy?

Tech-Archive recommends: Speed Up your PC by fixing your registry



thanks alot! i have a question about the script though.....
i change the 3rd line for my situation, right? then run it on my dc?

so it would be:
set netdm=netdom query /MYDOMAIN:%userdnsdomain% MYLAPTOP

also, i should save this as a .bat file, rather than vbs or something?

Thanks a ton!

ward



"Jerold Schulman" wrote:

> On Tue, 22 Mar 2005 09:07:04 -0800, "ward" <ward@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >I found out that some pc's on my network are not set to 'update clock
> >automatically with daylight savings time" is NOT checked.
> >
> >all pc's sync time with an internal time server, but since this isn't set
> >correctly, exchange calendar meetings show up an hour off for some people and
> >i figure group policy is the easiest way to fix it.
> >
> >any help appreciated!
> >
> >thanks,
> >ward (at) hotmail.com
>
>
> I think ther easiest way to solve is:
>
> reg add \\ComputerName\HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /V DisableAutoDaylightTimeSet /T REG_DWORD /F /D 0
>
> Reg.exe is built into Windows XP or installed from the Support Tools on the Windows 2000 CD-ROM.
>
>
> So from your test top, you can do this to the few affected computers.
>
> If you want to do all the workstations in your domain:
>
> @echo off
> setlocal
> set netdm=netdom query /domain:%userdnsdomain% workstation
> for /f "Skip=1 Tokens=*" %%C in ('%netdm%^|FIND /i /v "The command completed successfully."') do (
> reg add \\%%c\HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /V DisableAutoDaylightTimeSet /T REG_DWORD /F /D 0
> )
> endlocal
>
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com
>
.



Relevant Pages

  • Re: Resource kit redistribution
    ... "Jerold Schulman" wrote in message ... :>We are developing an embedded device based on Windows ... As long as the user has a valid Windows Server 2003 license, ...
    (microsoft.public.windows.server.general)
  • Re: Network/Security issue with $ shares
    ... "Jerold Schulman" wrote: ... >>the Windows XP Professional group, as it pertains to both Operating Systems. ... >>network consists only of my main computer, the PC and my laptop ... >>Both computers are being logged in to with a username with full ...
    (microsoft.public.win2000.applications)
  • Re: * NTLDR is Missing Error
    ... Microsoft Certified Professional ... Microsoft MVP [Windows] ... |> Is your file System NTFS? ... |> Jerold Schulman ...
    (microsoft.public.win2000.general)
  • Re: Restore appointments (calendar)
    ... Jerold Schulman wrote: ... > I have Office XP Pro installed on Windows XP. ... > Where are the outlook appointments, ... stored in a file with a .PST extension. ...
    (microsoft.public.outlook.general)
  • Re: Another installation is already in process
    ... >>San Diego, CA ... >Jerold Schulman ... >Windows: General MVP ...
    (microsoft.public.win2000.general)