I want to know when my PC turns on or off. Is there a way to know this?
I have admin rights.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Per the link in the comment by @SQLTemp, the answer is to examine the System log in the Event Viewer for Event IDs 6005 (Event Log Service startup, proxy for system startup) and 6006 (Event Log Service shutdown, proxy for system shutdown).
There are other useful Event IDs related to system startup and shutdown; Event ID 6013 gives the computer's uptime, 6008 flags a startup after an improper shutdown, and 6009 gives the CPU type detected.
Note that the Event Viewer does have provisions for connecting to a remote computer, so you can get this information for another computer without having to actually sit at its keyboard.
You can also query this information in a PowerShell script using the