[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Linux script on Windows to chjange Date and Time

On Windows 2000, we use the following to get the clock
set from our local NTP master.

1.  Go to Start->Run and run regedit 

2.  Go to key HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type and make sure the value is NTP 

3.  Go to folder HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters In the value area right click an in the popup select new->StringValue. Add the value name NtpServer and the entry will be created. 

4.  Right click the newly created key and in the popup select Modify. 
Enter the value and click away from the field to set the change. Use the approprate IP address for your site.

5.  Go to Start->Programs->Administrative Tools->Services. 
If you do not have Administrative Tools under Programs, perform the following steps: 
In an empty area of the task bar containing the "Start" button, right click and select "Properties" from the popup menu. 
   A. Click the "Advanced" tab. 
   B. Set the check in the Display Administrative Tools checkbox. 
   C. Press OK. The adminisrative tools should appear under Programs. 

6.   Scroll down to Windows Time and right click this entry. Select the Stop entry. 
Right click the entry again and select Start. 

7.  You can check that the change took by going to Start->Programs->Administrative Tools->Event Viewer and looking at the last few entries in the system log for W32Time. You should see a "Time services synced time from time source" entry in there somewhere.

Hope this helps.

Bob Styma 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]