Solved

script for changing time at given hour on windows servers?

Posted on 2007-03-28
4
201 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
4 Comments
 
LVL 8

Accepted Solution

by:
thur6165 earned 250 total points
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
OWA and AppPool problem 20 108
exchange, scripts 3 47
HP Laser Jet Errors 10 51
Strange routing problem between subnets 2 39
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now