When this command is entered, the currently working user is displayed in the command prompt. This is another command to display the information.
What makes it different from the above method is that, this can be accomplished either locally or remotely.
Suppose that you are in another computer and you need to know who is logged on to your system. Follow the below given steps. Computername in the above command is the name of the system for which you need to get the details. In my case, it is hp. Many times you not only need to check who is logged on interactively at the console, but also check who is connected remotely via a Remote Desktop Connection RDP.
Fortunately Windows provides a way to do this. Each of these methods for remotely viewing who is logged on to a Windows machine assumes your Windows login has sufficient permission to connect remotely to the machine. This means you can use them to check on the given machine remotely without impacting any of the users currently logged on to the remote machine. We also touched on the Remote Desktop Services Manager in our article about how to manage remote desktop connections.
Then when prompted, enter the hostname of the remote computer you want to view. This of course assumes you put psloggedon. As you can see there are at least three ways to get the information you need to remotely view who is logged on in a totally non-intrusive way. Another cool set of similar commands are qwinsta and rwinsta. The only way I have found is to use Remote Desktop to log onto another PC on the target network, and then to use one of the solutions you listed from the remote PC.
This will see if explorer. If a machine is not logged in, no explorer. If someone is logged on, the explorer. The command is not native to the OS. No, it does not work that way. It can be found in the PS Tools package available for download on many sites. I know windows has this info because I see my full name in Start Menu Win 7. If you are asking to find the full name or Surname run this as administrator.
Add a comment. Active Oldest Votes. Improve this answer. Preet Sangha Preet Sangha 2, 1 1 gold badge 22 22 silver badges 25 25 bronze badges. When I run this command either remotely or locally I get only a single line of output " UserName " with nothing else listed, even though I'm logged-in to that machine.
Dai Are you using XP or Vista or ? This question was for those os — Preet Sangha. The Microsoft Sysinternals Suite has a tool called Psloggedon , psloggedon. I hope they paid Mark a ton of money to go there, currently they havn't stopped him doing the good work he was doing before and long may that continue. Hope he keeps updating and adding to the suite. That's a new can of worms that I don't feel like opening right now, so I checked into psloggedon and I'm quite happy.
The reason is that more than one user may be logged in. Fast user switching etc.
0コメント