Event Viewer clear logs - and how to see if laptop has been used


  1. Posts : 12
    Windows 10
       #1

    Event Viewer clear logs - and how to see if laptop has been used


    Dear all

    When I press the power button on my laptop, it get logged in Event Viewer i Windows.

    That way I know, that the laptop has not been turned on by others than me.

    Then I saw, that it is possible to clear logs.

    1.
    What happens to cleared logs in Event Viewer - are they completely gone?

    2.
    Other ways to find out, if the laptop was turned on by other than me?

    Thank you
      My Computer


  2. Posts : 43,286
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    I suppose you could do a global search for files modified after a certain date... just to check what's changed..

    Don't set up your laptop to log you in automatically into an account, and leave the default to require the user to enter a password or PIN after resuming.
    Last edited by dalchina; 10 Nov 2023 at 14:56.
      My Computers


  3. Posts : 844
    Windows 10 Pro
       #3

    Oblivion88 said:
    Dear all

    When I press the power button on my laptop, it get logged in Event Viewer i Windows.

    That way I know, that the laptop has not been turned on by others than me.

    Then I saw, that it is possible to clear logs.

    1.
    What happens to cleared logs in Event Viewer - are they completely gone?

    2.
    Other ways to find out, if the laptop was turned on by other than me?

    Thank you
    I suggest you protect your machine with a strong user password or pin.
      My Computer


  4. Posts : 12
    Windows 10
    Thread Starter
       #4

    dalchina said:
    I suppose you could do a global search for files modified after a certain date... just to check what's changed..

    Don't set up your laptop to log you in automatically into an account, and leave the default to require the user to enter a password or PIN after resuming.
    I already have a strong password for my user / only user

    But would be nice to know, if someone powered on the laptop and had intentions of trying something / hacking

    - - - Updated - - -

    Hearsepilot said:
    I suggest you protect your machine with a strong user password or pin.
    I already have a strong password for my user / only user

    But would be nice to know, if someone powered on the laptop and had intentions of trying something / hacking
      My Computer


  5. Posts : 43,286
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    Bear in mind that anyone can gain access to all your files- unless they are encrypted.

    Your password only offers a trivial level of protection.

    Look for ways to prevent people using a live boot disk, for example. Perhaps you can password protect your BIOS/UEFI...

    You will be aware of the relevant event ids. Note the tool mentioned at the end:
    How to Check Your Startup and Shutdown History in Windows
      My Computers


  6. Posts : 8
    Windows 10 Home (OEM) 22H2 19045.4474
       #6

    If, from an admin level CMD or POWERSHELL prompt you run powercfg /sleepstudy an html file is created at windows\system32\sleepstudy-report.html
    In it there is a table showing active times, whether on battery or AC and, usefully when a shutdown occurs. See attached...

    Event Viewer clear logs - and how to see if laptop has been used-sleepstudy-table.png

    The 2 SHUTDOWN entries at 1048 and 1101 were restarts installing .NET updates today.
    The SHUTDOWN entry at 1700 was a real shutdown and power off initiated by me. The Active entry immediately after shows the laptop has been powered back on - obviously initiated by me and quite legitimate!

    If you were to run the sleepstudy after you powered your laptop on and there was no Active time other than when you were expecting it then it hasn't been powered on. I don't know where the data for the sleepstudy comes from but I guess it is part of Windows ACPI power/battery management.
    Hope this might help ....
      My Computer


  7. Posts : 2,316
    Linux:Debian, Kali-Linux... 2xWin8.1,1x7Pro, Retro:1x2003server.1xXPpro, 1xW2k,1x98SE,1x95,1x3.11
       #7

    Oblivion88 said:
    I already have a strong password for my user / only user

    But would be nice to know, if someone powered on the laptop and had intentions of trying something / hacking
    Hi there

    as @dalchina already mention, encryption of your hard-drive, or an encrypted container for your "sensitive data" with a really-really strong password is the only way to protect yourself.
    If its a family member that dont know crap about computers.. then just a BIOS password or login password stops most family/friend-non-hackers people.
    If you deal with a real pro with recurses and physical access to your computer.. Then It's only a matter of time before your data is hacked.

    If i want to steal your data and leave no trace if i have physical access to your home..... I dont boot your computer... I open your computer, remove the drive to clone your drive sector by sector and then put the drive back and then i leave your home..... and then when I'm back in my home i have years on me to hack the disk afterwords if its encrypted.
      My Computer


  8. Posts : 12
    Windows 10
    Thread Starter
       #8

    Saints76 said:
    If, from an admin level CMD or POWERSHELL prompt you run powercfg /sleepstudy an html file is created at windows\system32\sleepstudy-report.html
    In it there is a table showing active times, whether on battery or AC and, usefully when a shutdown occurs. See attached...

    Event Viewer clear logs - and how to see if laptop has been used-sleepstudy-table.png

    The 2 SHUTDOWN entries at 1048 and 1101 were restarts installing .NET updates today.
    The SHUTDOWN entry at 1700 was a real shutdown and power off initiated by me. The Active entry immediately after shows the laptop has been powered back on - obviously initiated by me and quite legitimate!

    If you were to run the sleepstudy after you powered your laptop on and there was no Active time other than when you were expecting it then it hasn't been powered on. I don't know where the data for the sleepstudy comes from but I guess it is part of Windows ACPI power/battery management.
    Hope this might help ....
    Thank you

    Great input

    Would it be possible to change this list, for someone to cover his tracks?
      My Computer


  9. Posts : 8
    Windows 10 Home (OEM) 22H2 19045.4474
       #9

    I do not know how to amend/alter/delete these entries. To alter them probably requires the laptop to be powered on. But powering it down produces the Shutdown entry. And to delete that entry probably requires the laptop to be powered on but powering it down produces the Shutdown entry and to delete that entry probably requires the laptop to be powered on but powering it down produces the Shutdown entry and so on ad infinitum......

    Perhaps if someone has the skills/knowledge to affect these powerup/down entries they would have other skills beyond my pay scale! And could do other undetectable things!

    If you are really worried whether another (simple) user has powered up your laptop then my suggestion should allay your fears.
      My Computer


  10. Posts : 6,971
    22H2 64 Bit Pro
       #10

    Use:

    LastActivityView - View the latest computer activity in Windows operating system

    It shows System Started, System Shutdown times and User Log on Log off times.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:24.
Find Us




Windows 10 Forums