Quickly Check Windows Server Uptime

In this guide, I’ll show you how to check the uptime of a Windows Server and Windows client computers.

Checking the Windows uptime will show you how long the server has been running since it was last rebooted. This comes in useful when troubleshooting a Windows server for performance or application issues. It’s also common that Windows servers are rebooted during maintenance periods for installing Windows updates. The updates don’t always automatically reboot the server and so you need a way to verify if it has rebooted or not.

Topics covered in this guide:

Check Windows Server Uptime with PowerShell

This command will work on PowerShell 5.1 or later versions.

Open PowerShell and use the command below.

(get-date) – (gcim Win32_OperatingSystem).LastBootUpTime

This command will show you how long it has been since the last reboot. It will display the uptime in days, hours, minutes, and seconds.

windows server uptime using powershell

Another Powershell command that can be used to get the server uptime is the get-uptime cmdlet. The get-uptime cmdlet requires PowerShell version 6 or later.

powershell get-uptime cmdlet

Unfortunately, the get-uptime cmdlet has no parameter for checking the uptime on remote computers, it only works locally. See method 2 for a quick and easy way to get the uptime on remote and multiple computers.

Method 2: Check Windows Server Uptime with GUI tool

This tool will let you check Windows server uptime on multiple servers and computers.

As a system administrator, I would always run into issues due to servers not rebooting. There was no easy option for my team to quickly get the uptime on all the servers. So I created a suite of Active Directory Management Tools that includes a utility to quickly get uptime from all Windows servers and computers. Here is how it works.

Step 1: Open the Uptime Tool

You can download a free trial of the AD Pro Toolkit and test it on your network.

Click on Uptime/LastBoot from the list of tools.

check windows server uptime using the ad pro toolkit

Step 2: Select Search options and click run

Next, choose if you want to get the uptime from all domain computers or computers from an OU or group.

In this example, I’m going to get the uptime from all computers in the domain. Click the run button to generate the report.

uptime select search options

For any computer that is offline or the toolkit is unable to connect it will display “Unable to Connect” in the uptime column.

uptime report

I don’t have many computers in my test environment but you can see how easy the toolkit makes it for generating a report on uptime and last boot.

You can also export the report to csv, xlsx, and PDF by clicking the export button.

Method 3: Check Windows Server Uptime using Task Manager

You can view the uptime on Windows Servers by using the task manager. Follow these steps:

1. Right click the task bar and open task manager.

2. Then click the performance tab and make sure you have CPU selected on the left.

The uptime is displayed towards the bottom of this screen.

check uptime using task manager

This also works on Windows Client versions.

Check Windows Server Uptime CMD command

Yes, you can also check the uptime by using a windows cmd command. There are actually several windows commands that will show the last boot time but I’ll just go over one of them.

systeminfo | find “System Boot Time”
check uptime using windows cmd command

Summary

As an administrator of Windows systems, you will often need to check the uptime on servers and client computers. If you need to manually a single computer there a several command line options to easily see the uptime. If you need to generate a report on multiple or all systems then I would recommend using the uptime utility from the AD Pro Toolkit.

I hope this article helped you find the uptime on your Windows server or workstations. If you liked this article, then please subscribe to our YouTube Channel for more Active Directory tutorials.

Recommended Tool: Active Directory Pro Toolkit

The AD Pro Toolkit includes 14 tools in 1 to help simplify and automate Active Directory management.

Automate user creation, bulk update accounts, group management, logon reports, report NTFS permissions, cleanup, and secure AD, troubleshoot account lockouts, and much more.

In addition, the toolkit includes over 200 built-in reports.

Click here to download a free trial

5 thoughts on “Quickly Check Windows Server Uptime”

  1. Great article

    Reply
    • Avatar photo

      Thanks Sandeep

      Reply
  2. Thank you!

    Reply
  3. you can also use > net statistics workstation to show Windows boot time. Work in server and pro versions.
    🙂

    Reply
    • Avatar photo

      I’ve used this command to view the network errors but didn’t realize it showed last boot time. Thanks for the tip!

      Reply

Leave a Comment