Posts Tagged ‘windows’
I’m not sure I ever mentioned this in other blogs, but there is some fun stuff you can do with the program RUNDLL32.EXE, you can find it in other places too. It’s a tool for making function calls from windows libraries. You can basically call any command fitting the requirement:
RUNDLL32.EXE <dllname>,<entrypoint> <optional arguments>
Obviously it is sometimes used incorrectly.
Read the rest of this entry »
I was setting up a NTP server in my home network and tried to sync my Windows XP machine with it and received this message.
An error occurred while Windows was synchronizing with time.windows.com. The time sample was rejected because: The peer's stratum is less than the host's stratum.
Naturally I didn’t find the solution without looking through a stack of NTP documentation. So I though I should post the actually problem here in layman’s terms.
Your timeserver isn’t updating or it’s updating from a unreliable server. The stratum is the authority meter for NTP. It’s numbered from 1 (attached to an atomic clock) to 15 (some guy I met in a bar).
If your stratum is more than 3 then a Windows machine won’t trust your machine is reliable enough. And if it’s 16 it probably means it’s not updating at all, in my experience it might take as much as an hour for it to change from 16 to another number. (Although it shouldn’t if it’s configured correctly.)
You can find out your stratum by running the command:
/usr/bin/ntpq -c rv | grep stratum
- Gentoo’s HOWTO NTP
- The Network Time Protocol (NTP) Distribution
- W32tm A tool used to diagnose problems occurring with Windows Time