How to Check Windows Up Time To Know How Long Your PC Has Been Turned On

How to Check Windows Up Time To Know How Long Your PC Has Been Turned On

windows-uptime-powershell

Ever wondered how you could know how long your machine, laptop or desktop PC, has been up, active or when it booted?

Method 1: Check Up Time via Powershell

On your Windows PC, run Powershell as an Administrator, then run the following commands:

Get-CimInstance Win32_OperatingSystem | Select-Object LastBootUpTime
Get-WinEvent -ProviderName EventLog | Where-Object {$_.Id -eq 6005 -or $_.Id -eq 6006} | Select-Object -First 1 TimeCreated
(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime

 

Method 2: Check Up Time via Task Manager

You can alternatively check your PC’s uptime using the Task Manager utility. Search and open “Task Manager” or Run [Windows Button + R] taskmgr, to open the utility. Navigate to “Performance” then “CPU” which is the first tab. (Note:// Windows 11 or 10 have different layouts)

windows-uptime-taskmanager-cpu

Look for  the text below the CPU performance graphs and check the duration your machine has been up under “Up time”. For my machine, that reads “0:14:44:15”, implying my machine has been up or booted 0 Days 14 Hours, 44 Minutes 15 Seconds and counting.

 

How to Check Windows Up Time To Know How Long Your PC Has Been Turned On
Hacking | thetqweb