This tool may sort it.
https://learn.microsoft.com/en-us/sysinternals/downloads/psloggedon
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In our environment we have a test user, and test user logged into on of the server. Ho we can check at what time user test logged in to that server?
This tool may sort it.
https://learn.microsoft.com/en-us/sysinternals/downloads/psloggedon
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Hi there,
To track logon and logoff events in any servers you should enable auditing.
-Run gpmc.msc
-Create a new GPO.
-Click Edit and navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies.
-Under Audit Policies select logon and off.
Now, when any user logs on or off, the information will be recorded as an event in the Windows security log.
To view the events, open Event Viewer and navigate to Windows Logs > Security.
--If the reply is helpful, please Upvote and Accept it as an answer--