See if this script helps:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept04/...
Copy the script to Notepad, and save as "Uptime.VBS" to the Desktop.
Double-click the file. BTW, to report in "minutes", change the following
line:
dtmSystemUptime = DateDiff("h", dtmLastBootUpTime, Now)
to
dtmSystemUptime = DateDiff("n", dtmLastBootUpTime, Now)
Alternately, you can use the uptime.exe utility from Microsoft Resource Kit
tools. Uptime is a simple command line tool that analyzes a single server
for reliability and availability information. It can work locally or
remotely. In its simple form, the tool will display the current system
uptime. An advanced option allows you to access more detailed information
such as shutdown, reboots, operating system crashes, and Service Pack
installation.
You can download uptime.exe from here:
http://download.microsoft.com/download/winntsrv40/Install/uptime_1.01...
Download and save this file on your hard disk. You can then run uptime.exe
from a command prompt. Type cmd.exe in Start, Run and uptime.exe
You'll see the output like this:
\\XPCOMP has been up for: 0 day(s), 0 hour(s), 49 minute(s), 6 second(s)
Uptime Reliability and Availability Information Tool : [Microsoft Windows NT
Server 4.0; uptime tool; reliability and availability tool; ]: