Re: set time zone in group policy?
- From: "ward" <ward@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 5 Apr 2005 10:15:03 -0700
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
>
.
- Prev by Date: Re: Changing default computer OU
- Next by Date: Re: disabling effects with AD group policy ?
- Previous by thread: disabling effects with AD group policy ?
- Next by thread: Impact of changing group policy
- Index(es):
Relevant Pages
|