RE: Linux script on Windows to chjange Date and Time

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

 



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 192.168.1.4 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 192.168.1.4" entry in there somewhere.

Hope this helps.

Bob Styma 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux