Sometimes your computer contains critical data, and you do not want anyone to use your computer or you want to control the use of children, ect. The following article will guide you how to detect a stranger opening your computer.
Detecting a stranger opening your computer helps you manage your computer more efficiently. To detect strangers opening the computer, follow these steps.

How to detect stranger opening your computer
Note: The Windows version which support this feature are Windows 7 Professional, Ultimate and Windows 8 Pro
Step 1: Go to Start, type in the search box gpedit.msc, and then press Enter

Step 2: Local Group Policy Editor opens, access Local Computer Policy> Computer Configuration> Windows Settings> Security Settings> Local Policies> Audit Policy

- At Policy on the right, select Audit logon Events
Step 3: In Audit logon events Properties, in Local Security Settings tab, Audit these attemps, select both Success and Failure. Click OK.

- From now on, Windows will record the logging session into the system, regardless of login is successful or not.
Step 4: Check the logging session
- Go to Start, type Event Viewer in the search box, press Enter

- In the Event Viewer window, follow the links Event Viewer (Local)> Windows Logs> Security

- Events having Event ID 4624 is recorded logging sessions, you will know to login time, successful or not.

You just need to set the computer following the steps above to be able to control who access and use you computer, this way helps you manage the children to use internet effectively.