Quickly Check Windows Server Uptime

In this guide, I’ll show you how to check the windows server uptime for a single server and all servers. There are multiple ways to check the uptime in windows including command line and graphical tools.

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.

Table of Contents

Windows Server Uptime CMD Command

In this example, I’ll use a simple Windows command to check the server uptime.

Step 1. Open command prompt or powershell

Step 2. Run the command below

systeminfo | find “System Boot Time”

The command will display the date of the last boot time.

Check uptime on all servers using AD Pro Toolkit

The AD Pro Toolkit makes it easy to check the uptime on all computers in your domain or select computers.

Step 1. Open the AD Pro Toolkit

Step 2. Click on Other Toolkit and then “Windows Uptime”

Step 3. Click “Run” to get the uptime on all computers or click “Browse” to select an OU.

To export the report click the “Export” button.

How to 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.

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.

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.

Check Windows Uptime using Task Manager

You can easily check the uptime on a Windows system by using the task manager.

  1. Right click the taskbar and select task manager
  2. Click on the Performance tab
  3. The up time will be displayed under the CPU graph.

Check Windows Uptime with Net Statistics

In this last example, I’ll use the net statistics command. This command will show various network statistics but also keeps track of the uptime.

  1. Open the command prompt
  2. Enter the command -> net statistics workstation
  3. The uptime will be at the top

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.