Home > Infrastructure 2003/2008 > Adjust time Setting by changing time zone using GPOs

Adjust time Setting by changing time zone using GPOs

We will walk through three main steps to complete this setting:-

1. Disable Automatic adjust clock for Daylight Saving Time using administrative template.

2. Change local time zone using batch file.

3. Deploy all above setting using created GPO linked to all computers OU.

• Disable Automatic adjust clock for Daylight Saving Time using administrative template

1- Create new Notepad file

2- Copy the following code to it:

CLASS MACHINE
CATEGORY “Windows Time settings”
 POLICY “Disable automatic set of daylight savings time”
  KEYNAME “System\CurrentControlSet\Control\TimeZoneInformation”
 VALUENAME “DisableAutoDaylightTimeSet”
 END POLICY
END CATEGORY

3- Save it as DST.adm

• Change local time zone using batch file

1- Create new Notepad file

2- Copy the following code to it:

TZChange.exe /C “Time Zone Nam”

3- Save it as DST.bat

• Deploy all above setting using created GPO linked to all computers OU

1- Create a new GPO, name it DST Change then link it to all computers OU

2- Edit it by adding DST.adm to administrative templates under computer configuration

3- Enable Disable automatic set of daylight saving time setting under Computer Configuration>>>Administrative Templates>>>Windows Time settings

 

                                                                                                                                                                                                                                               4- Add DST.bat as a startup script under Computer Configuration>>>Windows Settings>>>Scripts (Startup/Shutdown)>>>Startup

 

                                                                                                                                                                                                                                           And now we complete all necessary steps in order to change the time using GPO and you can modify it any time according to your need.

  1. No comments yet.
  1. No trackbacks yet.

Leave a comment