Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Check Windows Sign-In History for Unexpected Access

Use Event Viewer to distinguish successful sign-ins, failed attempts, unlocks, and remote sessions on a Windows PC you administer.

Table of Contents

On a Windows PC you administer, open Event Viewer > Windows Logs > Security to see recorded sign-in events. Filter for 4624 for successful logons or 4625 for failed attempts. Check the event time, account, and logon type together. The event won’t tell you who was physically at the keyboard.

Check which logon events Windows records

Open Local Group Policy Editor on a supported edition and go to Computer Configuration > Windows Settings > Security Settings > Local Policies > Audit Policy. Open Audit logon events and review whether success and failure are enabled. On a managed PC, let IT handle audit settings. Enabling auditing only affects future events.

How to detect strangers opening your computer Picture 1

How to detect strangers opening your computer Picture 2

How to detect strangers opening your computer Picture 3

Filter the Security log

  1. Open Event Viewer from Start and select Windows Logs > Security.
  2. Choose Filter Current Log and enter 4624, 4625 in the event ID field.
  3. Open a result near the time you were away. Check the account under New Logon for a successful event and read the Logon Type.

How to detect strangers opening your computer Picture 4

How to detect strangers opening your computer Picture 5

How to detect strangers opening your computer Picture 6

Type 2 is an interactive sign-in, 7 is an unlock, and 10 is a remote interactive sign-in. Type 3 represents network access, such as a file share. See Microsoft’s logon-type table for the rest.

If the PC was already unlocked, someone can use the existing session without creating a new sign-in event. Press Windows + L when stepping away or set Windows 11 to lock automatically.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.