If you want to know how long your Windows computer has been running, you can easily find your System Uptime. Uptime is a term used to refer to the time your computer has been running continuously without a reboot. This post will show you how to find System Uptime in Windows 11/10/Server, using CMD, SystemInfo command, PowerShell, and Task Manager.
How to check Uptime in Windows 11/10
To find out how long your computer has been On or the System Uptime in Windows 11/10/Server, use any of the following methods:
- Use command prompt
- SystemInfo command
- Use PowerShell
- Using Task Manager.
1] Using PowerShell
Open an elevated PowerShell prompt, type the following and hit Enter:
(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime
You will see the Boot-up times in days, hours, minutes, seconds and milliseconds.
Here, you are using the Get-Date cmdlet to return the current date and time, and then subtracting the value of the LastBootUpTime property that comes from the Win32_OperatingSystem, says TechNet. GCIM is an alias for Get-CimInstance.
2] Using CMD
If you want to find out the Server Statistics, you can open an elevated CMD type the following and hit Enter:
net stats srv
The first line ‘Statistics since‘ will show you the Windows uptime.
3] Using Task Manager
If you open Task Manager, under the Performance tab, you will see your computer Up time displayed there.
4] Using SystemInfo tool
The built-in SystemInfo tool lets you view the System Boot Time. It displays the date and time at which the computer booted.
Also read: How to check Last Shutdown Time or Downtime in Windows
How do I reset Windows 11 Uptime?
To reset System Uptime in Windows 11, shut down your computer or perform a system reboot. If Fast Startup is enabled or if your Power settings prevent it, the Uptime may not reset.
TIP: This post will show you how to know the Windows Installation Date to find out when Windows was installed on your computer.
1) Powershell method
For some reason, this doesn’t work on my Win 7 SP1 (x64), Powershell v1.0 (2009), with Server service running. At the Powershell command-line, executing
(get-date) - (gcim
gives the following error. Any solution ?Win32_OperatingSystem).LastBootUpTime
The term 'gcim' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:19
+ (get-date) - (gcim <<<< Win32_OperatingSystem).LastBootUpTime
+ CategoryInfo : ObjectNotFound: (gcim:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
2) For CMD > net stats srv
Not always a reliable indicator of system uptime. If the Server service is not running or disabled before
net stats srv
is executed at CMD, the 1st line “Statistics since […]” in the output merely displays the date-time that the Server service itself was started, & not when the system was booted.3) For CMD > systeminfo
I don’t get any “System Up Time” between “Original Install Date” & “System Manufacturer”, unlike TWC’s screenshot here. Instead, it shows “System Boot Time” [date-time], although I can use this info to perform some mental calculations.