Your computer’s uptime describes the CPU’s operating duration since the last reboot. That is, how long your PC has been running since it was powered on. You might need to monitor your computer’s uptime when troubleshooting memory leaks and other performance issues.
Windows has several built-in tools for checking how long your computer has been turned on. This tutorial explains how to check uptime in Windows through the Task Manager, Control Panel, Command Prompt, and PowerShell.
Check System Uptime via Task Manager
11 Windows任務管理器 provides real-time information about your computer’s hardware, software, and overall performance.
Here’s how to check your Windows 11 computer’s uptime using Task Manager.
- 媒體推薦 按Ctrl + 轉移 + ESC 至 打開任務管理器. Alternatively, right-click the Start menu and select Task Manager.
- 打開 性能 側邊欄上的選項卡並選擇 中央處理器. You’ll find your computer’s up time in the “Up time” section.
Check Uptime Using Command Prompt
你可以跑 several Command Prompt commands in Windows to check your processor’s uptime.
Method 1: Run the systeminfo Command
The “systeminfo” command displays information about your PC’s operating system and hardware (RAM, CPU, disk space, etc.). Follow the steps below to check your computer’s uptime using the “systeminfo” command.
- 媒體推薦 Windows鍵 + X 並選擇 終端(管理員).
- Type or paste systeminfo in the terminal and press Enter.
- Check the “System Boot Time” row to see your computer’s last boot date and time.
The difference between the “System Boot Time” and the current time/date is your computer’s uptime.
Method 2: Run the wmic Command
The Windows Management Instrumentation Command Line (WMIC) is another powerful utility for pulling information about your Windows computer. You can use the WMIC tool to view your CPU’s uptime, apps installed on your PC, hard drive health等等。
Here’s how to use the WMIC utility to check the uptime of any Windows computer.
- 按 Windows鍵 + R to open the Windows Run box. Type CMD 在對話框中並選擇 OK.
或者,按 Windows鍵 + X 並選擇 終端(管理員).
- Type or paste the command below in the terminal and press Enter.
wmic os get LastBootUpTime
The output shows the last time you booted your computer. The numbers may seem confusing, but it’s easy to understand when broken down as follow:
2023 | 年01 | 08 | 15 | 48 | 21 | 500000 | +000
- Year (first four digits) — 2023
- Month (fifth and sixth digits) — 01
- Day (seventh and eighth digits) — 08
- Hour (ninth and tenth digits) — 15
- Minute (eleventh and twelfth digits) — 48
- Seconds (thirteenth and fourteenth digits) — 21
- Milliseconds (six digits after the period) — 500000
- GMT (timezone) — +000
Method 3: Run the Net Statistics Command
The “Net Statistics” command displays network-related information and your computer’s last boot date and times.
- 用鼠標右鍵單擊 Start menü 並選擇 終端(管理員).
- Paste the command below in the Terminal console and press Enter.
net statistics workstation
- Check the “Statistics since” row to see your computer’s last boot time and date.
Check Uptime Using Windows Powershell
Follow the steps below to check your computer’s uptime through Windows PowerShell中.
- 開啟開始功能表,輸入 PowerShell的 在搜尋欄中,然後選擇 以管理員身份運行.
- Paste the command below in the Powershell terminal and press Enter.
(get-date) - (gcim Win32_OperatingSystem) .LastBootUpTime
The command displays the last boot time in days, hours, minutes, seconds, and milliseconds.
Check Uptime Using Control Panel
If your computer connects to the internet when it boots, you can deduce its uptime from your network adapter’s uptime. This is the least accurate method of figuring out your computer’s uptime. However, it might come in handy if Task Manager won’t open or if Command Prompt and Windows Powershell are malfunctioning.
- 按 Windows鍵 + R,輸入 控制面板 在對話方塊中,然後選擇 OK 至 open the Windows Control Panel.
- 點擊 網絡和Internet“ 類別。
- 選擇 網絡和共享中心.
- 選擇 更改適配器設置“ 在側邊欄上。
- Double-click the active network adapter or right-click and select Status.
- Check the “Duration” row for the adapter’s uptime.
Does PC Uptime Affect Performance?
Your computer’s uptime has no direct effect on its performance. Malware, excessive startup programs, overheating, and outdated operating system are some factors that slow down Windows computers.
Shutting down your computer when not in use has several benefits. Occasional restarts are also a good practice. If your computer is slow or freezing, our tutorial on speeding up Windows might help restore its performance.