Breaking News: Argentina DST Change

Breaking News: Argentina DST Change

  • Comments 2
  • Likes

Hey folks – in the midst of our Windows 7 / Windows Server 2008 R2 Launch Series, we have some information regarding Argentina and the DST change.  Argentina has determined that they will not be observing the DST change on October 18th.  The time change (moving the clocks forward one hour) was originally scheduled to occur at midnight between Saturday, October 17th and Sunday, October 18th.

In order to prevent the time changing, uncheck the “Automatically adjust clock for Daylight Saving Time” box:
image

Below is a scripted method to uncheck this box:

Create a script to uncheck the “Automatically adjust clock for Daylight Saving Time” time zone setting on Windows Servers / Desktop Operating Systems

  1. Click Start, click Run, type notepad, and then click OK.
  2. Copy the following registry information, and then paste it into the Notepad document:
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]

    "DisableAutoDaylightTimeSet"=dword:00000001


  3. On the File menu, click Save As.
  4. Select a destination, and then type DSToff.reg in the File name box. 
  5. In the Save as type box, click All Files, and then click Save.
  6. Import this registry key on target machines by double clicking in the DSToff.reg and clicking ‘Yes’ when prompted. Execute this registry file in all machines (clients and servers) where you want to “un-select” the “Automatically adjust clock for Daylight Saving Time” setting.
  7. In order to deploy these time zone changes in a corporate environment, you can use a startup script as described below.

Deploy DST Modifications using Group Policy

  1. Click Start, click Run, type notepad, and then press ENTER. 
  2. Copy the following code, and then paste it into the Notepad document. Note:  You must replace the \\contoso.com notation below with the actual DNS domain name for your Active Directory domain.
  3. @echo off
    regedit /s \\contoso.com\NETLOGON\DSToff.reg
    ver |find /i "6.0">nul
    IF %errorlevel% EQU 0 GOTO end
    :end

  4. On the File menu, click Save As.
  5. Enter DST2009Update.cmd in the File name box. 
  6. In the Save as type box, click All Files, and then click Save. 
  7. Copy the following files to the Netlogon share folder of the domain controller that holds the PDC emulator role in the domain:
    DSTOff.reg 
    DST2009Update.cmd
  8. Wait until Active Directory replication occurs. Also, wait until the files and folders in the system volume (SYSVOL) shared folder replicate to domain controllers in the domain. 
  9. Click Start, click Run, type control admintools, and then click OK. 
  10. Double-click Active Directory Users and Computers. 
  11. Select an Organizational Unit (OU) which contains the computers that you want to apply this script to. In this example, we will use an OU that is named DST-COMPUTERS. This example also assumes that this OU contains computer accounts.
  12. Right-click the DST-COMPUTERS OU and then click Properties. 
  13. Click the Group Policy tab, click New, type DST Registry Update, and then press ENTER. 
  14. Click Edit. The Group Policy Object Editor tool starts.
  15. Expand Computer Configuration, expand Windows Settings, and then click Scripts (Startup/Shutdown). 
  16. Double-click Startup, and then click Add. 
  17. In the Script Name box, type the universal naming convention (UNC) path of the DST2009Update.cmd file that is located in the Netlogon share. For example, type \\contoso.com\NETLOGON\DST2009Update.cmd. 
  18. Click OK two times. 

Note: Client computers that are within the DST-COMPUTERS organizational unit will run the startup script the next time the machine starts up, meaning all machines needs to be restarted to be able to recognize the new DST configuration via Startup script.

The instructions above can be applied on Windows 2000, Windows XP and Windows Server 2003 systems.  The instructions above should not be used on Windows Vista or Windows Server 2008 Systems.  On these systems, please uncheck the “Automatically adjust clock for Daylight Saving Time” manually.

- Jeff Worline



Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Jeff, in windows Vista we shoud do this manually ??? We have 1500 windows Vista Desktops. I don´t believe there isn´t another solution.

  • Why did you do the following code?

    ver |find /i "6.0">nul

    IF %errorlevel% EQU 0 GOTO end

    :end

    It seems that the registry edit would have already been imported and we are not skipping any code with the goto so I fail to see the reason for that section of code. Might you have meant to do:

    @echo off

    ver |find /i "6.0">nul

    IF %errorlevel% EQU 0 GOTO end

    regedit /s \\contoso.com\NETLOGON\DSToff.reg

    :end

    Was this a copy paste error or am I failing to see the greater reasoning?