Remotely determine who is logged in
Russ Collier. Thanks Jeff! September 23, at am. February 16, at am. September 23, at pm. Hi Mitch! Hope that helps! October 21, at am. Hi Russ. That works great! March 14, at am. August 30, at pm. Will it work on WinXP? December 6, at pm. Turning this into a batch file that prompts for the remote computer name: echo off echo Remote query logged in user of specified computer.
June 16, at pm. This PowerShell script works for me all the time. August 4, at am. Best Answer. View this "Best Answer" in the replies below ». Popular Topics in General Windows. Which of the following retains the information it's storing when the system power is turned off?
Submit ». BMoore This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. Rockn This person is a verified professional.
Rivitir This person is a verified professional. Sheelina Rocsmith wrote: I have already tried Michael's method. You can filter the messages. Look in the right hand column. Ghost Chili. Thanks A. Stringham Oct 18, at UTC. Thanks, A. It should show what IP the logon events came from, that should tell you. You can use the commands listed here to manage Terminal Server connections. Check that the RPC service is enabled first. Use the eventvwr to remotely view the security log for the remote computer, and scroll through the security logs until you find a login event for the other user:.
Note that this will always return the user logged on to the physical machine. It will not return terminal service user or users inside a virtual machine. You will need administrator privileges on the target machine. Get-WmiObject supports the -Credential parameter if you must authenticate as someone else. Bam easy as. You should be able to use Terminal Services Manager. Then, go to Actions and choose "Connect to Computer".
That will list all active and inactive sessions and users. Another option i've thought of recently - use PSExec and get the output of netstat on the remote computer. You can easily get the IPs or hostnames of any remotely connected computers. We had an issue where no one could log on as the limit was reached, so we used Remote Desktop Services Manager. That allowed us to see who was RDP in and disconnect the user who forgot to log off. Just login to the remote server by going to mstsc.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How to remotely see what users are logged into Windows 7 or Vista Ask Question. Asked 10 years, 9 months ago.
0コメント