Command line how long since reboot
Jonathan Tepper Jonathan Tepper 1 1 silver badge 2 2 bronze badges. This shows you the uptime i. True, but this is still useful. Today my Windows 10 notebook is showing a bogus uptime. I shut it down last night, powered it on less than an hour ago, and Task Manager says it's been up for Windows 10 does not actually shut down when shut down, I forget why exactly.
However, if you want the uptime timer to reset you must restart. This is what I was looking for on Windows 10! I don't reboot, I normally shutdown. LastBootTime only refers to reboots on Windows On just about any version of windows you can check the timestamp on the swap file.
Chuck Chuck 3 3 bronze badges. I don't think so. At least on Windows 10, when I checked, the swap file time was newer than boot time. PollusB PollusB 3 3 bronze badges. In the Message field you'll see one of these boot types: Boot Type Description 0x0 cold boot from full shutdown 0x1 hybrid boot fast startup 0x2 resume from hibernation Counterintuitively, after a restart the boot type will be 0x0 but after a shutdown with Fast Start the boot type will be 0x1. User User 3, 7 7 gold badges 34 34 silver badges 45 45 bronze badges.
On Windows 7 I prefer net statistics workstation WMIC doesn't take into account sleep time, and I leave my workstation locked up at work sleeping during the week, ready to wake up the next day. Max Max 5 5 bronze badges. You can use PowerShell for this. Samir Samir Didn't work for me on Windows Not even as admin. See snag. A couple of answers mentions net statistics workstation and I've noted that both : net statistics server and net statistics workstation should provide data regarding last boot on the Statistics since Therefore, my default command is: net stats workstation more.
C0deDaedalus 1, 1 1 gold badge 9 9 silver badges 20 20 bronze badges. Same as Max answer Thank you Max. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Linked 0. If you have an interest in automatizing the reboot sequence, you can do so by creating a scheduled task. Commenting as. Not you? Save information for future comments. This article covers: Topics: windows server. Was this page helpful?
Thank you! There are 1 comments. Copy link. Here's how to access those pieces of information: Note: You can also use these instructions to see how long you've been sitting in front of the computer, if you turn it off after each use.
On the screen that appears, select Start Task Manager. Choice 2: Right click on the taskbar and select Start Task Manager. Screenshot by Nicole Cozma Step 2: In the search field, type "cmd.
Screenshot by Nicole Cozma Step 3: At the command prompt, enter the following command: systeminfo find "Time:" The date and time your system was booted will be displayed. Discuss: How to find system up-time on Windows 7.
0コメント