June 30, 2011
Synchronizing time on Windows XP from Command Line
How to synchronize an internal time server with an external source
1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
2. Type the following line, where peerlist is a space-separated list of Domain Name System (DNS) names or IP addresses of the appropriate time sources, and then press ENTER:
w32tm /config /syncfromflags:manual /manualpeerlist:peerlist
3. Type w32tm /config /update, and then press ENTER.
More details at http://support.microsoft.com/kb/307897
One Comment
I found you through your abandoned wesite (circa 2004)
HowTo: Create Standalone windows in Python using PythonWin
Thanks for that wonderful short article. You describe exactly the sense I had as I started playing with Python this week.
What a great language for scripting and data processing, especially with strings, but how TF does one create a UI to go with it?
Your embedded example is the best I’ve seen so far… but it’s from 2003, and I assume Win98 or so. Could you point to a similar style update for Python 3.3 on Win7?
It amazes me that I can not type into Google “Python Win32 GUI example code” and get a “Hello World!” window ap. Everybody’s trying to sell a book.