PDF download Download Article
A user-friendly guide to finding recent computer usage history
PDF download 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

PDF download Download Article
  1. This will open a menu. [1]
  2. You can find this towards the top of the menu. [2]
    • A new window will open.
    Advertisement
  3. This is in the left panel. The folder will expand.
  4. This will be underneath Setup' .
  5. 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. 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

PDF download Download Article
  1. Open Terminal . This can be done from the Launchpad, Finder, or Spotlight. [4]
  2. This will send the command.
  3. 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?
    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?
    Community Answer
    You can use a batch script to do that. Copy and paste this code: @echo off if 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.bat To view who logged in, open C:\Login History\history.log
  • Question
    Can I find out when my computer was turned on?
    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
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Warnings

      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 536,769 times.

      Is this article up to date?

      Advertisement