Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8285935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:35:12+00:00 2026-06-08T11:35:12+00:00

I am using windows 7 and xp. I want to know the uptime of

  • 0

I am using windows 7 and xp. I want to know the uptime of the system.

What is the command / procedure for getting the uptime?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:35:13+00:00Added an answer on June 8, 2026 at 11:35 am

    Following are eight ways to find the Uptime in Windows OS.

    1: By using the Task Manager

    In Windows Vista and Windows Server 2008, the Task Manager has been beefed up to show additional information about the system. One of these pieces of info is the server’s running time.

    1. Right-click on the Taskbar, and click Task Manager. You can also click CTRL+SHIFT+ESC to get to the Task Manager.
    2. In Task Manager, select the Performance tab.
    3. The current system uptime is shown under System or Performance ⇒ CPU for Win 8/10.

      "Up Time" field in Task Manager

    2: By using the System Information Utility

    The systeminfo command line utility checks and displays various system statistics such as installation date, installed hotfixes and more.
    Open a Command Prompt and type the following command:

    systeminfo
    

    You can also narrow down the results to just the line you need:

    systeminfo | find "System Boot Time:"
    

    enter image description here

    3: By using the Uptime Utility

    Microsoft have published a tool called Uptime.exe. It is a simple command line tool that analyses the computer’s 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.

    Read the following KB for more info and for the download links:

    • MSKB232243: Uptime.exe Tool Allows You to Estimate Server Availability with Windows NT 4.0 SP4 or Higher.

    To use it, follow these steps:

    1. Download uptime.exe from the above link, and save it to a folder,
      preferably in one that’s in the system’s path (such as SYSTEM32).
    2. Open an elevated Command Prompt window. To open an elevated Command
      Prompt, click Start, click All Programs, click Accessories,
      right-click Command Prompt, and then click Run as administrator. You
      can also type CMD in the search box of the Start menu, and when you
      see the Command Prompt icon click on it to select it, hold
      CTRL+SHIFT and press ENTER.
    3. Navigate to where you’ve placed the uptime.exe utility.
    4. Run the uptime.exe utility. You can add a /? to the command in order
      to get more options.
      enter image description here

    It does not offer many command line parameters:

    C:\uptimefromcodeplex\> uptime /?
    usage: Uptime [-V]
        -V   display version
    
    C:\uptimefromcodeplex\> uptime -V
    version 1.1.0
    

    3.1: By using the old Uptime Utility

    There is an older version of the “uptime.exe” utility. This has the advantage of NOT needing .NET. (It also has a lot more features beyond simple uptime.)

    Download link: Windows NT 4.0 Server Uptime Tool (uptime.exe) (final x86)

    C:\uptimev100download>uptime.exe /?
    
    UPTIME, Version 1.00
    (C) Copyright 1999, Microsoft Corporation
    
    Uptime [server] [/s ] [/a] [/d:mm/dd/yyyy | /p:n] [/heartbeat] [/? | /help]
            server          Name or IP address of remote server to process.
            /s              Display key system events and statistics.
            /a              Display application failure events (assumes /s).
            /d:             Only calculate for events after mm/dd/yyyy.
            /p:             Only calculate for events in the previous n days.
            /heartbeat      Turn on/off the system's heartbeat
            /?              Basic usage.
            /help           Additional usage information.
    

    4: By using the NET STATISTICS Utility

    Another easy method, if you can remember it, is to use the approximate information found in the statistics displayed by the NET STATISTICS command.
    Open a Command Prompt and type the following command:

    net statistics workstation
    

    The statistics should tell you how long it’s been running, although in some cases this information is not as accurate as other methods.

    enter image description here

    5: By Using the Event Viewer

    Probably the most accurate of them all, but it does require some clicking. It does not display an exact day or hour count since the last reboot, but it will display important information regarding why the computer was rebooted and when it did so. We need to look at Event ID 6005, which is an event that tells us that the computer has just finished booting, but you should be aware of the fact that there are virtually hundreds if not thousands of other event types that you could potentially learn from.

    Note: BTW, the 6006 Event ID is what tells us when the server has gone down, so if there’s much time difference between the 6006 and 6005 events, the server was down for a long time.

    Note: You can also open the Event Viewer by typing eventvwr.msc in the Run command, and you might as well use the shortcut found in the Administrative tools folder.

    1. Click on Event Viewer (Local) in the left navigation pane.
    2. In the middle pane, click on the Information event type, and scroll down till you see Event ID 6005. Double-click the 6005 Event ID, or right-click it and select View All Instances of This Event.
    3. A list of all instances of the 6005 Event ID will be displayed. You can examine this list, look at the dates and times of each reboot event, and so on.
    4. Open Server Manager tool by right-clicking the Computer icon on the start menu (or on the Desktop if you have it enabled) and select Manage. Navigate to the Event Viewer.

    enter image description here

    5.1: Eventlog via PowerShell

    Get-WinEvent -ProviderName eventlog | Where-Object {$_.Id -eq 6005 -or $_.Id -eq 6006}
    

    6: Programmatically, by using GetTickCount64

    GetTickCount64 retrieves the number of milliseconds that have elapsed since the system was started.

    7: By using WMI

    wmic os get lastbootuptime
    

    8: The new uptime.exe for Windows XP and up

    Like the tool from Microsoft, but compatible with all operating systems up to and including Windows 10 and Windows Server 2016, this uptime utility does not require an elevated command prompt and offers an option to show the uptime in both DD:HH:MM:SS and in human-readable formats (when executed with the -h command-line parameter).

    Additionally, this version of uptime.exe will run and show the system uptime even when launched normally from within an explorer.exe session (i.e. not via the command line) and pause for the uptime to be read:

    enter image description here

    and when executed as uptime -h:

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using windows 7 64 bits and I want to know if I need
I am using windows 2000 server. I want to know top 5 processes that
I'm using PocketC on my Windows CE device, but I want to know where
I want to FTP some files across networks using Windows FTP command prompt and
I'm using windows 7 english and I want to know how to see the
I'm using Windows to develop android apps and want to know where user preference
I'm writing c/c++ code on Windows using Visual Studio. I want to know how
Using Windows form (Vb.net & Datagridview) Checkbox is using in datagridview row. I want
I want to provide my colleagues with an interface (using Windows Forms or WPF)
I'm using Windows XP Pro SP3. I want to use SSPI functions in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.