How to check who is logged user on remote computer in local network

Go to command prompt and change ComputerName with the name of remote computer in the following command:

WMIC /Node:ComputerName ComputerSystem Get UserName

This will show you logged user name