2 Easy Ways to Find Out the Last Time Your Computer Was Used

Download Article
A user-friendly guide to finding recent computer usage history
Download Article

Do you think someone has been sneaking on your computer? You can use Windows' Event Viewer or Mac's Terminal to see the last activity on your computer, including when it was powered on. Here's how to know when your computer was last used.

Things You Should Know

  • On Windows, right-click the Start menu and click "Event Viewer". Click "Windows Logs" → "System" to view the event log.
  • To add a filter, click "Filter Current Log…" → "Event Sources" → select "Power-Troubleshooter" → "OK".
  • On Mac, open Terminal. Type "last" and press "Enter" to view the event log.
Method 1
Method 1 of 2:

Using Windows

Download Article
  1. How.com.vn English: Step 1 Right-click the Start menu.
    This will open a menu.[1]
  2. How.com.vn English: Step 2 Click Event Viewer.
    You can find this towards the top of the menu.[2]
    • A new window will open.
    Advertisement
  3. Step 3 Double-click "Windows Logs".
    This is in the left panel. The folder will expand.
  4. How.com.vn English: Step 4 Click System.
    This will be underneath Setup'.
  5. How.com.vn English: Step 5 View the event log.
    You'll see a list of everything that happened on your computer with the date, time, source, event ID, and more.[3]
    • Click an event to see more details.
  6. How.com.vn English: Step 6 Find when your computer was turned on (optional).
    If you want to filter the event log to only show when your computer was powered on, do the following:
    • Click Filter Current Log… in the right panel.
    • Click the Event sources: drop-down menu.
    • Select Power-Troubleshooter.
    • Click OK.
    • View the date and time for each event.
  7. Advertisement
Method 2
Method 2 of 2:

Using Mac

Download Article
  1. How.com.vn English: Step 1 Open Terminal...
    Open Terminal. This can be done from the Launchpad, Finder, or Spotlight.[4]
  2. How.com.vn English: Step 2 Type last and press ↵ Enter.
    This will send the command.
  3. How.com.vn English: Step 3 View the event log.
    Terminal will list all recent login events with your account username and the date and time it happened.[5]
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I delete events from Event Viewer?
    How.com.vn English: Community Answer
    Community Answer
    On the right side under where it says "Action" you click "Clear Log" and it gives you the option to save and clear or to just clear the logs.
  • Question
    How do I use my web cam to capture whoever logs in to my computer?
    How.com.vn English: Community Answer
    Community Answer
    You can use a batch script to do that. Copy and paste this code:@echo offif not exist "C:\Login History" mkdir "C:\Login History"if not exist "C:\Login History\history.log" echo Login History>"C:\Login History\history.log"echo %userdomain%\%username% logged in at %date%%time%>>"c:\login history\history.log"Then, save it as C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\anyname.batTo view who logged in, open C:\Login History\history.log
  • Question
    Can I find out when my computer was turned on?
    How.com.vn English: Community Answer
    Community Answer
    Yes, via the system log within the event viewer. It will show you the date and time of the events and you might be able to tell if there is something suspicious.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Warnings

      Advertisement

      About This Article

      How.com.vn English: Rain Kengly
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Rain Kengly. Rain Kengly is a How.com.vn Technology Writer. As a storytelling enthusiast with a penchant for technology, they hope to create long-lasting connections with readers from all around the globe. Rain graduated from San Francisco State University with a BA in Cinema. This article has been viewed 507,309 times.
      How helpful is this?
      Co-authors: 20
      Updated: January 4, 2024
      Views: 507,309
      Categories: Windows
      Thanks to all authors for creating a page that has been read 507,309 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement