Hi,
Please note Windows 7 do not have an "Up Time" variable but rather "System Boot Time".
Hence in Windows 7 C:> net statistics server
Server Statistics for \COMPUTERNAME
Statistics since 8/31/2009 8:52:29 PM
{16 lines of other info deleted}
(Note that the command above shows network statistics since last boot, hence up-time can be inferred.)
Also, Microsoft provides the Uptime utility which you may install on your computer and check for the system usage.
Refer this below link.
http://technet.microsoft.com/en-us/library/cc751311.aspx
C:>Uptime
SYSTEMNAME has been up for: 16 day(s), 4 hour(s), 24 minute(s), 47 second(s)
Thanks and Regards:
I. Suuresh Kumar- Microsoft Support.
Visit our Microsoft Answers Feedback Forumand let us know what you think.