script for changing time at given hour on windows servers?


I need to change the time on my windows servers (2000), by shifting it one hour (summer time), now i need a script that i can use it to change the time automatically at specific time ?
Who is Participating?
thur6165Connect With a Mentor Commented:
Does this have anything to do with the DST change?

This would allow you to specify the date and time to change your clock.  Look for the link in the middle of the page to download the file.
Rob WilliamsConnect With a Mentor Commented:
You could create a simple batch file with the following line and add it as a scheduled event:
net time \\TimeServerName /set /yes

However, I agree, this sounds more like you need to address the daylight savings time changes. If running Win2K server or workstation, there is no update as the product is no longer supported. However, Microsoft has a couple of work arounds. If you only have a few servers and workstations the best bet is to manually make the changes. To do so you need to download the TZEdit tool, change the Daylight Savings Time start and end dates, and then change the current time zone, save the change and then change it back. The last part forces the changes to be accepted. See the following link for details (click on "Method 2: Change the time zone settings on a single computer" in the index at the top of the page):
Don't forget steps  j & K as mentioned above.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.