Solved

script for changing time at given hour on windows servers?

Posted on 2007-03-28
4
206 Views
Last Modified: 2010-04-16
hi,

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 ?
0
Comment
Question by:ajalboush
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 8

Accepted Solution

by:
thur6165 earned 250 total points
ID: 18807887
Does this have anything to do with the DST change?

http://www.fastservers.net/blog/operating-systems/the_new_dday_unsupported_oses/

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.
0
 
LVL 77

Assisted Solution

by:Rob Williams
Rob Williams earned 250 total points
ID: 18807956
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):
http://support.microsoft.com/kb/914387
Don't forget steps  j & K as mentioned above.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question