Built into modern Windows:
systeminfo | find "System Boot Time"
----
Here's a utility, direct from Microsoft, that provides windows uptime and some other availability stats. A command line uptime tool, so you can script it and pipe results...
http://support.microsoft.com/kb/232243
I think this link died:
Tags: uptime, windows, winxp, w2k, w2k3, tool