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:
- How to check window server uptime with PowerShell
- Check Windows Server Uptime with GUI Tool
- Check Windows Server Uptime using Task manager
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.
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.

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.

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

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.

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”

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.
Great article
Thanks Sandeep
Thank you!
you can also use > net statistics workstation to show Windows boot time. Work in server and pro versions.
🙂
I’ve used this command to view the network errors but didn’t realize it showed last boot time. Thanks for the tip!