To check user login history on Windows Server 2012, you can follow these steps:
1. Open the Event Viewer: Press the Windows key + R on your keyboard to open the Run dialog box. Type "eventvwr.msc" and hit Enter. This will launch the Event Viewer.
2. Navigate to the Security Event Log: In the Event Viewer, expand the "Windows Logs" folder on the left-hand side. Then, click on "Security" to open the Security Event Log.
3. Filter the Event Log: In the middle pane of the Event Viewer, click on the "Filter Current Log" option. This will open the Filter Current Log dialog box.
4. Define the Filter Criteria: In the Filter Current Log dialog box, specify the filter criteria to view user login history. Under the "Event sources" section, select "Security" from the drop-down menu. Then, in the "Logged" section, enter the desired time frame or leave it blank to retrieve all login records. Finally, click on the "OK" button.
5. View User Login Events: The Event Viewer will now display the filtered user login events in the middle pane. You can review the events to see user logins, including their usernames, login timestamps, and other relevant details.
Note: The ability to view user login history may require administrative privileges or elevated access on the Windows Server 2012 system.