Oct 062008

Finding the uptime in Windows Vista/XP or Windows Server 2008/2003 is not as straight forward as running the command “uptime” in Linux or Unix. However, it isn't difficult either.

There are two ways to find the system uptime in Windows Vista/Server 2008/XP/2003.

1 Using Systeminfo utility

The Systeminfo utility shows you the system boot time. The time originally the system was booted and running from.

To run the command,

1. Click Start – search and type “cmd” (Start – Run, cmd in Windows XP/2003). This should launch the command prompt.

2. From the command prompt, type “systeminfo“. This should check various system stats like

installation date, hotfixes etc. Look for the “System boot time” as follows:

2 Using “net statistics” command

The “net” command can perform various operations and one of them is the system statistics of a workstation or a server.

From the command prompt run, the following command

c:\>net statistics workstation

This will run a check and provide with the system statistics. Look for the line which reads as “statistics since” where it indicates the stats are from the last system startup time as follows:



Incoming search terms:

  15 Responses to “How to find the system uptime in Windows Vista/Server 2008/XP/2003”

  1. hey man thanks this was helpful.

    i knew this from before but i forgot and wanted to know it again.

  2. Hi,
    Thx alot it was really useful. Could you pls pass all commnads related to AD,DNS,DHCP and troubleshooting technique to me.
    Your help will be much appreciated.
    Guys, it’s really wonderful and helpful, when you will facing issue.

    Anil Mehta

  3. Hi All,

    Oh yes really it was a great recall, some times you know every thing but it is not on your finger tips, so really thanks again

    warm regards.
    Rizwan Qureshi

  4. Mine (XP Pro SP3) doesn’t list boot time.

  5. You can also use:

    C:\> systeminfo | find “Up Time”

    It imediately displays the system uptime without additional informations from systeminfo command.

  6. OR…you could simply look in the Task Manager under the “Performance” tab.

    Only thing is that it shows in total hours:minutes:seconds.

    Do some math. :P

  7. Those commenting on XP & Find “Up Time”…. This article was for WIndows Server 2008. Functionality changed from XP/2003, so “Up Time” is NOT available in systeminfo on W2k8, and “System Boot Time” is NOT available on XP. Simple.

  8. This was helpful but I need total ‘up time’ not the ‘boot time’. For example I leave my PC hybernated sometimes and need total number of minutes CPU has been crunching. I can get this from Task Manager Idle time divided by number of CPU cores but that is just rough calculation as it counting only the idle time.

  9. Windows 2003 Server
    systeminfo | find “System Up Time”

  10. Windows Vista and WIndows 7
    systeminfo | find “System Boot Time”

  11. Actually the performance tab up time gives days:hrs:min:sec in Server 2008.

  12. On win2008 server the systeminfo output is different.
    Use : systeminfo | find “Boot Time”
    to get it .

  13. Great tip – I always forget this.

    Love the second comment by Anil and I hope he got what he asked for :D

  14. Thanks

  15. Hi,
    willstay said on a comment that it is not possible to calculate the total uptime. I guess it is, if you look inside the Windows System Log file. With Vista and Windows 7 there are events that are written to it even on hibernation. So, it is doable.
    However, there is the tool http://www.windowsuptimemonitor.com that allows to calculate uptime and keeps history of it. It also counts the idle time and supports Windows hibernation.

Sorry, the comment form is closed at this time.